API ReferenceFetch
Fetch a URL (GET)
Direct HTTP fetch. The response body IS the content; metadata is returned in X-Fetch-* headers. Omit `format` for raw passthrough. Use `format=markdown` or `format=html` for conversion.
Authorization
AuthorizationRequiredBearer <token>API key. Obtain from POST /v1/account/api-keys.
In: header
Query Parameters
urlRequiredstringFormat:
"uri"formatstringValue in:
"markdown" | "html"countrystringDefault:
"US"Pattern: "^[A-Z]{2}$"timeout_msintegerDefault:
60000Minimum: 1000Maximum: 60000cache_ttlstring | integerHow long a freshly fetched URL may be served from cache. 0 disables caching. Accepts Nh (hours, up to 168h), Nd (days, up to 7d), or the integer 0. Examples: 0, 48h, 2d. Invalid values receive a 422 validation_error with an actionable message.
Default:
"48h"Content from upstream.