Skip to main content
get/v3/fetch
Request example
Response
get/v3/fetch

Query parameters

urlstringrequired#
The page to read. A public http or https address without credentials; local and private addresses are refused. The fragment is ignored.

Length: max 2048

querystring#
Optional question. When present, only the parts of the page that answer it are returned.

Length: max 2000

tokensinteger#
Maximum tokens to return (about four characters each). With query it caps the selected sections (default 1000); without, it sets the slice size (default 5000).

Range: 100–10000

offsetinteger#
Character offset to read from when query is absent. Use nextOffset from the previous response to continue.

Range: >= 0

typeenum<string>#
Response format type

Default: "txt"

Options:jsontxt

Responses

The relevant sections of the page (with query) or a slice of its Markdown (without)