Fetch page content
keenable.web.fetchFetch an indexed or live webpage as Markdown, optionally reduced by an extraction instruction.
- Price
- $0.004/callAt provider cost
- Success rate
- 18.4%Last 30 days · 4,841 calls
- Latency p50
- 356 msp95 7.7 s
- Last verified
- Sep 23, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/keenable.web.fetch?url=https%3A%2F%2Fdocs.keenable.ai%2F&live=false&max_chars=500Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
The live response returned published_at as a Unix timestamp even though the OpenAPI schema says string; treg relays the provider value unchanged.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
url | string | Required | https://docs.keenable.ai/ | |
live | boolean | Optional | Fetch directly from the source instead of using the indexed copy; also supports URLs absent from the index. | false |
prompt | string | Optional | Return only the extraction requested here instead of the full page. | List the API endpoints. |
max_chars | integer | Optional | Longer content is truncated and a notice is appended after the cut. | 5000 |
- Query parameters
urlstringRequiredExample:
https://docs.keenable.ai/livebooleanOptionalFetch directly from the source instead of using the indexed copy; also supports URLs absent from the index.
Example:
falsepromptstringOptionalReturn only the extraction requested here instead of the full page.
Example:
List the API endpoints.max_charsintegerOptionalLonger content is truncated and a notice is appended after the cut.
Example:
5000
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/keenable.web.fetch?url=https%3A%2F%2Fdocs.keenable.ai%2F&live=false&max_chars=500' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/keenable.web.fetch?url=https%3A%2F%2Fdocs.keenable.ai%2F&live=false&max_chars=500",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/keenable.web.fetch?url=https%3A%2F%2Fdocs.keenable.ai%2F&live=false&max_chars=500", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.004/call, including the service fee.