Fetch page content
keenable.web.fetchFetch an indexed or live webpage as Markdown, optionally reduced by an extraction instruction.
- Price
- $0.004/callAl precio del proveedor
- Success rate
- 18,4 %Last 30 days · 4841 calls
- Latency p50
- 356 msp95 7.7 s
- Last verified
- 23 sept 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
Parámetros
The live response returned published_at as a Unix timestamp even though the OpenAPI schema says string; treg relays the provider value unchanged.
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
url | cadena | Obligatorio | https://docs.keenable.ai/ | |
live | booleano | Opcional | Fetch directly from the source instead of using the indexed copy; also supports URLs absent from the index. | false |
prompt | cadena | Opcional | Return only the extraction requested here instead of the full page. | List the API endpoints. |
max_chars | entero | Opcional | Longer content is truncated and a notice is appended after the cut. | 5000 |
- Parámetros de consulta
urlcadenaObligatorioEjemplo:
https://docs.keenable.ai/livebooleanoOpcionalFetch directly from the source instead of using the indexed copy; also supports URLs absent from the index.
Ejemplo:
falsepromptcadenaOpcionalReturn only the extraction requested here instead of the full page.
Ejemplo:
List the API endpoints.max_charsenteroOpcionalLonger content is truncated and a notice is appended after the cut.
Ejemplo:
5000
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.004/call, incluida la tarifa de servicio.