Documentation
Build with Zipf
Web search, crawling, extraction, and monitoring for your applications and AI agents.
Using an AI assistant?
Connect Claude, Cursor, or Windsurf to Zipf via MCP. One command.
MCP setupSearch or ask questions?
Search the web or get direct answers with the Ask API. 1-5 credits.
Getting startedExtract structured data?
Crawl websites and extract custom fields with AI. Define a schema, get JSON.
Crawl API docsOngoing monitoring?
Schedule recurring searches and crawls. Get alerts in Slack, email, or webhooks.
Workflow API docsQuick Start Guide
Get Your API Key
Sign up for a free account and generate your API token from the dashboard.
Authorization: Bearer wvr_abc123...Get Your API Key
Sign up for a free account and generate your API token from the dashboard.
Authorization: Bearer wvr_abc123...Make Your First Request
Start with a simple search query to test your integration.
curl -X POST https://www.zipf.ai/api/v1/search \
-H "Authorization: Bearer $ZIPF_API_KEY" \
-d '{"query": "AI safety papers", "max_results": 10}'Make Your First Request
Start with a simple search query to test your integration.
curl -X POST https://www.zipf.ai/api/v1/search \
-H "Authorization: Bearer $ZIPF_API_KEY" \
-d '{"query": "AI safety papers", "max_results": 10}'Process Results
Parse the JSON response and integrate results into your application.
{
"results": [...],
"session_id": "uuid",
"total_results": 1250,
"credits_used": 1
}Process Results
Parse the JSON response and integrate results into your application.
{
"results": [...],
"session_id": "uuid",
"total_results": 1250,
"credits_used": 1
}Ask API
/v1/askGet direct answers with source citations (AI-native)
/v1/ask/:idGet ask job status and answer
Ask API
/v1/askGet direct answers with source citations (AI-native)
/v1/ask/:idGet ask job status and answer
Search API
/v1/searchExecute a search (1 credit basic, 2 credits with AI features)
/v1/searchWith query_decomposition: comprehensive multi-query search
/v1/search/jobs/:idGet search job status and results
Search API
/v1/searchExecute a search (1 credit basic, 2 credits with AI features)
/v1/searchWith query_decomposition: comprehensive multi-query search
/v1/search/jobs/:idGet search job status and results
Crawl/Extract API
/v1/crawlsCreate crawl job (1 credit/page basic, 2/page with AI features)
/v1/crawlsList crawl jobs with filters
/v1/crawls/:idGet crawl job status and results
/v1/crawls/:idCancel running crawl job
Crawl/Extract API
/v1/crawlsCreate crawl job (1 credit/page basic, 2/page with AI features)
/v1/crawlsList crawl jobs with filters
/v1/crawls/:idGet crawl job status and results
/v1/crawls/:idCancel running crawl job
Workflow API
/v1/workflowsCreate workflow (1 credit/execution, 2 with NL condition)
/v1/workflowsList active workflows
/v1/workflows/:idGet workflow details and execution history
/v1/workflows/:idDelete workflow
Workflow API
/v1/workflowsCreate workflow (1 credit/execution, 2 with NL condition)
/v1/workflowsList active workflows
/v1/workflows/:idGet workflow details and execution history
/v1/workflows/:idDelete workflow
Sessions API
/v1/sessionsCreate a new research session with configuration
/v1/sessionsList all sessions with filters and pagination
/v1/sessions/:idGet session details, operations, and metrics
/v1/sessions/:id/archiveArchive completed session
/v1/sessions/:idDelete session and all associated operations
Sessions API
/v1/sessionsCreate a new research session with configuration
/v1/sessionsList all sessions with filters and pagination
/v1/sessions/:idGet session details, operations, and metrics
/v1/sessions/:id/archiveArchive completed session
/v1/sessions/:idDelete session and all associated operations
Code Examples
Ask a Question (AI-Native)
curlcurl -X POST https://www.zipf.ai/api/v1/ask \
-H "Authorization: Bearer $ZIPF_API_KEY" \
-d '{"question": "Who is the CEO of NVIDIA?", "depth": "quick"}'
# Returns: { "answer": "Jensen Huang...", "sources": [...] }Ask a Question (AI-Native)
curlcurl -X POST https://www.zipf.ai/api/v1/ask \
-H "Authorization: Bearer $ZIPF_API_KEY" \
-d '{"question": "Who is the CEO of NVIDIA?", "depth": "quick"}'
# Returns: { "answer": "Jensen Huang...", "sources": [...] }Crawl with Extraction
curlcurl -X POST https://www.zipf.ai/api/v1/crawls \
-H "Authorization: Bearer $ZIPF_API_KEY" \
-d '{
"urls": ["https://example.com/blog"],
"max_pages": 5,
"processing_mode": "sync",
"extraction_schema": {
"title": "Extract the article title",
"author": "Extract the author name"
}
}'Crawl with Extraction
curlcurl -X POST https://www.zipf.ai/api/v1/crawls \
-H "Authorization: Bearer $ZIPF_API_KEY" \
-d '{
"urls": ["https://example.com/blog"],
"max_pages": 5,
"processing_mode": "sync",
"extraction_schema": {
"title": "Extract the article title",
"author": "Extract the author name"
}
}'Create a Monitoring Workflow
curlcurl -X POST https://www.zipf.ai/api/v1/workflows \
-H "Authorization: Bearer $ZIPF_API_KEY" \
-d '{
"name": "Monitor AI News",
"workflow_type": "search",
"operation_config": {"query": "AI breakthroughs"},
"stop_condition": {
"type": "natural_language",
"description": "Stop when GPT-5 is released"
},
"interval": "1 hour"
}'Create a Monitoring Workflow
curlcurl -X POST https://www.zipf.ai/api/v1/workflows \
-H "Authorization: Bearer $ZIPF_API_KEY" \
-d '{
"name": "Monitor AI News",
"workflow_type": "search",
"operation_config": {"query": "AI breakthroughs"},
"stop_condition": {
"type": "natural_language",
"description": "Stop when GPT-5 is released"
},
"interval": "1 hour"
}'Ready to Start Building?
Get 100 free credits per month. No credit card required. Full access to all APIs.