TheDocumentation Index
Fetch the complete documentation index at: https://docs.hasdata.com/llms.txt
Use this file to discover all available pages before exploring further.
outputFormat parameter controls the format of the scraped content returned in the response.
Supported Formats
You can request one or more of the following:html– raw page HTML (default DOM output)text– plain text version of the pagemarkdown– converted Markdown output (good for LLMs and readability)json– not a content format, but a wrapper to return all requested formats in a structured JSON response
Behavior
- If you pass a single format like
"html"or"text", the API returns just that content directly as a string. - If you pass multiple formats, the response will be a JSON object with each format as a separate key.
- If you include
json, it tells the API to wrap the response in a structured JSON object (even for a single format).
Example: One Format
Example: Multiple Formats
Forcing JSON Format with One Format Inside
If you want the response in JSON format but only need Markdown:Notes
jsonis not a content type — it controls the response structure- If you want to include
markdownortextinside a JSON response, addjsonto the list - If you include multiple content formats, response is always JSON, even without
"json"explicitly listed