Skip to main content
GET
/
v1
/
fetch
Fetch
curl --request GET \
  --url https://api.keenable.ai/v1/fetch \
  --header 'X-API-Key: <api-key>'
{
  "url": "<string>",
  "title": "<string>",
  "content": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.keenable.ai/llms.txt

Use this file to discover all available pages before exploring further.

Retrieve content from a URL as clean markdown. Only URLs that Keenable indexes are supported in this API. Fetching of non-indexed documents is not supported.
curl "https://api.keenable.ai/v1/fetch?url=https://example.com/ts-best-practices" \
  -H "X-API-Key: <YOUR_API_KEY>"

Request

url
string
required
URL to fetch.

Response

url
string
The fetched URL.
title
string
Page title (if available).
content
string
Extracted page content in markdown.

Example

{
  "url": "https://example.com/ts-best-practices",
  "title": "TypeScript Best Practices 2026",
  "content": "# TypeScript Best Practices 2026\n\nUse strict mode, prefer interfaces over type aliases for object shapes..."
}