Fetch

Fetch

Fetch a URL and return an LLM-ready Markdown document. Use Include Options to request Appendix or State JSON when you need more evidence.

post/v1/fetch

Query parameters

includestring

Include Options for the response. Use a comma-separated list with appendix for Appendix and statejson for State JSON. Defaults to State JSON when omitted; use include= for Markdown only. For search requests without a URL include parameter, the request body include fields define the search corpus.

Example:appendix

Include Options for the response. Use a comma-separated list with appendix for Appendix and statejson for State JSON. Defaults to State JSON when omitted; use include= for Markdown only. For search requests without a URL include parameter, the request body include fields define the search corpus.

Request body

urlstring required

The URL to fetch content from (http or https only)

Example request

{
  "url": "https://www.stripe.com/docs/api",
  "include": {
    "html": true,
    "markdown": true,
    "screenshot": true,
    "links": true,
    "meta": true,
    "json": true,
    "appendix": true
  },
  "search": {
    "query": "pricing plans",
    "maxResults": 5,
    "minScore": 0.6
  },
  "browserConfig": {
    "scrollFullPage": true
  }
}

Response

LLM-ready Markdown document

Changes

No recorded changes to this endpoint across all 1 revision of this API.