Skip to main content
POST
TypeScript
Fetch a page here with no API key. Leave X-API-Key empty, fill in X-Keenable-Title with your app’s name and a URL in urls, then select Send. POST /v1/fetch/public takes the same body as POST /v1/fetch and returns the same response. The differences:
  • No API key. The X-Keenable-Title header, or the keenable_title query parameter, names your app. Without either, the call returns 400 with missing_app_title.
  • Fewer URLs per call than with a key. Fetch without a key gives the limit.
  • Keenable limits keyless calls per IP address. Limits apply and may change. See Rate limits.
  • Free. Pages carry no usage.
A page that fails, such as one that returns 404, comes back in results[0].error with a 200, as on POST /v1/fetch. Some sites can’t be read without a key. For those, results[0].error has the code public_domain_requires_api_key. Every field is described on the Fetch API reference, the common per-page error codes under its Errors, and every code on Errors. For the keyless paths, headers and limits in one place, see Keyless access.

Authorizations

X-API-Key
string
header
required

Headers

X-Keenable-Title
string

Name of the application making the call. Keyless calls need it, here or in the keenable_title query parameter; without either the API answers 400 missing_app_title. The header wins if you send both. Values over 256 characters are truncated.

Maximum string length: 256
X-Keenable-Session-Id
string

Your own ID for grouping related requests. Where the operation also takes session_id, the header wins if you send both. Values over 128 characters are truncated.

Maximum string length: 128

Query Parameters

keenable_title
string

Same as the X-Keenable-Title header, for clients that cannot set headers. The header wins if you send both. Read from the query string only, never from a JSON body.

Maximum string length: 256
session_id
string

Your own ID for grouping related requests. Same as the X-Keenable-Session-Id header, which wins if you send both.

Maximum string length: 128

Body

application/json
urls
string<uri>[]
required

The pages to read: 1 to 10 absolute http or https URLs, each up to 8,192 characters and each listed once. Each URL counts as one request toward the keyless per-IP rate limit. More than 10 URLs returns 400 with invalid_parameter on urls.

Required array length: 1 - 10 elements
Maximum string length: 8192
content
object

What each result carries.

retrieval
object

Which copy of each page to read.

Response

One result per URL. A URL that failed has error instead of page content, with the error's status and code: for example a site that keyless calls cannot read gives status 429 with code public_domain_requires_api_key (not retryable: send an API key to /v1/fetch), while the other URLs still return their pages.

results
object[]
required

One entry per URL, in the order sent.