Add powerful AI-powered search to your apps. Free tier included. Starting at just $29/month for 100k requests.
Everything you need for AI-powered search, content extraction, and research automation.
POST /searchSearch the web with AI-powered reranking. Get relevant results fast with intelligent caching.
POST /extractExtract clean, readable content from any URL. Supports Markdown, plain text, and HTML output.
POST /smart-searchAI research agent that searches, reads pages, and synthesizes comprehensive answers.
GET /health for status monitoring (no auth required)Pick an endpoint, copy the code, and you are live.
curl -X POST https://pipilot-search-api.hanscadx8.workers.dev/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "latest AI news",
"maxResults": 5,
"rerank": true
}'Complete reference for all endpoints, authentication, and response formats.
Base URL: https://pipilot-search-api.hanscadx8.workers.dev
All endpoints except /health require an API key passed via the Authorization header.
Search the web with AI-powered reranking. Returns a list of relevant results with titles, URLs, snippets, and relevance scores.
| Name | Type | Required | Description |
|---|---|---|---|
| query | string | Required | The search query string |
| maxResults | number | Default: 10 | Maximum number of results to return |
| rerank | boolean | Default: true | Enable AI-powered result reranking |
| region | string | Optional | Region code for localized results |
{
"success": true,
"query": "latest AI news",
"results": [
{
"title": "Result Title",
"url": "https://example.com",
"snippet": "Result description...",
"position": 1,
"score": 0.95
}
],
"count": 5,
"cached": false,
"reranked": true,
"processingTime": "84ms"
}curl -X POST https://pipilot-search-api.hanscadx8.workers.dev/search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "latest AI news",
"maxResults": 5,
"rerank": true
}'Extract clean, readable content from any URL. Perfect for scraping articles, blog posts, and documentation pages.
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Required | The URL to extract content from |
| format | string | Default: "markdown" | Output format: "markdown" | "text" | "html" |
{
"success": true,
"url": "https://example.com/article",
"content": "# Article Title\n\nArticle content in markdown...",
"format": "markdown",
"wordCount": 1250,
"charCount": 7840,
"cached": false,
"processingTime": "320ms"
}curl -X POST https://pipilot-search-api.hanscadx8.workers.dev/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/article",
"format": "markdown"
}'AI research agent that searches the web and reads pages to produce comprehensive, sourced answers. Supports configurable search depth.
| Name | Type | Required | Description |
|---|---|---|---|
| query | string | Required | The research question to answer |
| depth | string | Default: "normal" | "quick" | "normal" | "deep" |
| maxIterations | number | Optional | Max research iterations. Defaults by depth: quick=3, normal=8, deep=15. Max: 30 |
{
"success": true,
"query": "What are the latest breakthroughs in quantum computing?",
"answer": "Based on my research, the latest breakthroughs include...",
"sources": [
{ "type": "search", "query": "quantum computing breakthroughs 2025" },
{ "type": "url", "url": "https://example.com/quantum-article" }
],
"steps": [
{
"iteration": 1,
"action": "search",
"llmTime": "1.2s"
}
],
"iterations": 5,
"totalTime": "8.4s"
}curl -X POST https://pipilot-search-api.hanscadx8.workers.dev/smart-search \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "What are the latest breakthroughs in quantum computing?",
"depth": "normal"
}'Check API status and quota usage. No authentication required.
{
"status": "healthy",
"version": "1.0.0",
"timestamp": "2025-01-15T10:30:00Z",
"quota": {
"used": 4521,
"limit": 10000,
"remaining": 5479,
"percentage": 45.21,
"resetsAt": "2025-01-16T00:00:00Z"
}
}curl https://pipilot-search-api.hanscadx8.workers.dev/health| Plan | Rate Limit | Monthly Requests |
|---|---|---|
| Free | 10 req/min | 10,000 |
| Starter | 100 req/min | 100,000 |
| Pro | 500 req/min | 1,000,000 |
| Enterprise | Custom | Unlimited |
Every response includes metadata headers for monitoring usage and performance.
| Header | Description |
|---|---|
| X-Processing-Time | Time taken to process the request (e.g., "84ms") |
| X-Quota-Used | Number of requests used in the current billing period |
| X-Quota-Remaining | Number of requests remaining in the current period |
| X-Quota-Limit | Total monthly request limit for your plan |
| X-Cache-Only-Mode | "true" when quota is near limit and only cached results are served |
| X-Cached | "true" when the response was served from cache |
| Status | Error | Description |
|---|---|---|
| 400 | Bad Request | Missing or invalid parameters in the request body |
| 401 | Unauthorized | Invalid or missing API key in Authorization header |
| 429 | Too Many Requests | Rate limit exceeded. Retry after the cooldown period |
| 500 | Internal Server Error | Unexpected server error. Contact support if persistent |
| 503 | Service Unavailable | Quota exhausted or cache-only mode active |
Error response format
{
"success": false,
"error": "Error message describing what went wrong"
}Start free. Scale as you grow. No hidden fees.
10k requests/month
100k requests/month
1M requests/month
Unlimited requests
All plans include 90%+ cache hit rate for maximum cost efficiency. No credit card required for free tier.
Built for developers who need reliable, fast, and affordable AI-powered search.
Same quality as Exa, Tavily, Perplexity -- but 10x cheaper. Free tier included with 10k requests/month.
<100ms p50 latency with 90%+ cache hit rate. Built on Cloudflare Workers for global edge performance.
Smart quota management ensures zero downtime. Graceful degradation with cache-only mode under load.
Simple REST API with clear documentation. Works with any language -- just HTTP requests.
Built on Cloudflare Workers edge network. Global distribution with high reliability guarantees.
Free AI reranking improves search relevance. Smart search with iterative research capabilities.
We use free external services (Jina Reader, DuckDuckGo, a0 LLM) and aggressive caching (90%+ hit rate). This lets us offer the same quality as expensive alternatives at a fraction of the cost.
We have smart quota management. At 80% usage, we switch to cache-only mode -- cached results still work instantly. At 95%, service pauses until the next reset. This means zero downtime for most users.
Yes. Upgrade instantly and get access to higher limits immediately. Downgrade at the end of your billing period. No lock-in contracts.
The free tier includes 10,000 requests/month forever. No credit card required. Start building right away.
Free: 10 req/min, Starter: 100 req/min, Pro: 500 req/min, Enterprise: Custom. All plans include burst allowance for short traffic spikes.
Smart Search is an AI research agent. It iteratively searches the web and reads pages to build a comprehensive answer. You control depth (quick/normal/deep) to balance speed vs thoroughness.
Extract supports Markdown (default), plain text, and raw HTML output. Markdown is recommended for clean, readable content extraction.
Yes. Contact us for unlimited requests, custom deployment, white-label options, and SLA contracts with guarantees.
Join developers building the future of AI-powered search. Free tier, no credit card required.