https://api.zapfetch.com.
Quickstart
Quickstart: curl
Hit every ZapFetch endpoint with curl in 60 seconds.
Every example uses your UUID-style ZapFetch API key and talks to
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hit every ZapFetch endpoint with curl in 60 seconds.
https://api.zapfetch.com.
export ZAPFETCH_KEY="YOUR_ZAPFETCH_API_KEY"
curl -X POST https://api.zapfetch.com/v1/scrape \
-H "Authorization: Bearer $ZAPFETCH_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"formats": ["markdown"]
}'
# Kick off the crawl — returns a job id.
curl -X POST https://api.zapfetch.com/v1/crawl \
-H "Authorization: Bearer $ZAPFETCH_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://docs.example.com",
"limit": 50
}'
# Check status and retrieve pages.
curl https://api.zapfetch.com/v1/crawl/JOB_ID \
-H "Authorization: Bearer $ZAPFETCH_KEY"
curl -X POST https://api.zapfetch.com/v1/search \
-H "Authorization: Bearer $ZAPFETCH_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "best vector databases 2026",
"limit": 5,
"scrapeOptions": { "formats": ["markdown"] }
}'
curl -X POST https://api.zapfetch.com/v1/map \
-H "Authorization: Bearer $ZAPFETCH_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://docs.example.com",
"limit": 500
}'
curl -X POST https://api.zapfetch.com/v1/extract \
-H "Authorization: Bearer $ZAPFETCH_KEY" \
-H "Content-Type: application/json" \
-d '{
"urls": ["https://news.ycombinator.com"],
"prompt": "Extract the top 5 story titles with their points and author.",
"schema": {
"type": "object",
"properties": {
"stories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": { "type": "string" },
"points": { "type": "integer" },
"author": { "type": "string" }
}
}
}
}
}
}'