Fetch page content
keenable.web.fetchFetch an indexed or live webpage as Markdown, optionally reduced by an extraction instruction.
- Price
- $0.004/callZum Anbieterpreis
- Success rate
- 18,4 %Last 30 days · 4.841 calls
- Latency p50
- 356 msp95 7.7 s
- Last verified
- 23.09.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
Parameter
The live response returned published_at as a Unix timestamp even though the OpenAPI schema says string; treg relays the provider value unchanged.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
url | Zeichenkette | Erforderlich | 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 | Zeichenkette | Optional | Return only the extraction requested here instead of the full page. | List the API endpoints. |
max_chars | Ganzzahl | Optional | Longer content is truncated and a notice is appended after the cut. | 5000 |
- Abfrageparameter
urlZeichenketteErforderlichBeispiel:
https://docs.keenable.ai/liveBooleanOptionalFetch directly from the source instead of using the indexed copy; also supports URLs absent from the index.
Beispiel:
falsepromptZeichenketteOptionalReturn only the extraction requested here instead of the full page.
Beispiel:
List the API endpoints.max_charsGanzzahlOptionalLonger content is truncated and a notice is appended after the cut.
Beispiel:
5000
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.004/call einschließlich Servicegebühr abgerechnet.