Web Search API

Search the web programmatically

Perform web searches via DuckDuckGo and get structured results. Perfect for SEO monitoring, market research, and content discovery. Pay per page of results.

1 Cr/10 ResultsCost
100Max Results
50+Regions
Web Search API

Quick Start

Get started with a simple API call.

const response = await fetch('https://api.crawlkit.sh/v1/crawl/search', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    query: 'best web scraping api',
    options: {
      region: 'us-en',
      maxResults: 20,
      timeRange: 'm'
    }
  })
});

const { data } = await response.json();
data.results.forEach(r => console.log(r.title, r.url));

Key Features

Everything you need for reliable web search extraction.

Structured Results

Get clean JSON with title, URL, snippet, and position for each result. No HTML parsing needed.

Region Targeting

Search from specific regions like us-en, tr-tr, de-de for localized results.

Time Filtering

Filter results by time: day, week, month, or year. Find the most recent content.

Up to 100 Results

Get up to 100 results per query. Pay 1 credit per ~10 results returned.

Language Support

Set the interface language with tr-TR, en-US, and many other language codes.

Proxy Routing

All searches are routed through our proxy network for reliable access.

How It Works

Get started in minutes with our simple API.

1

Get Your API Key

Sign up for free and get your API key instantly. No credit card required.

2

Make Your First Request

Use our simple REST API with your favorite programming language.

3

Get Structured Data

Receive clean JSON responses ready to use in your application.

API Response

Get clean, structured JSON data with every request. Our API returns comprehensive data including status codes, timing information, and your remaining credits.

  • Consistent JSON structure
  • Detailed timing metrics
  • Credit usage tracking
  • Error handling built-in
Response
{
  "success": true,
  "data": {
    "query": "best web scraping api",
    "totalResults": 15,
    "results": [
      {
        "position": 1,
        "title": "Best Web Scraping APIs in 2024",
        "url": "https://example.com/article",
        "snippet": "Compare the top web scraping..."
      }
    ],
    "timing": { "total": 1250 },
    "creditsUsed": 2,
    "creditsRemaining": 98
  }
}

Use Cases

Common applications for Web Search.

SEO Monitoring

Track your rankings and monitor competitor positions.

Market Research

Discover trends, competitors, and market opportunities.

Content Discovery

Find relevant content and sources for research and curation.

Lead Generation

Find businesses and contacts based on search queries.

Frequently Asked Questions

Everything you need to know about the Web Search API.

We use DuckDuckGo for search queries. It provides reliable, unbiased results without personalization.

Credits are based on the number of results returned: 1 credit per ~10 results. So 20 results cost 2 credits.

d for past day, w for past week, m for past month, y for past year, or null for any time.

Yes, use the region parameter with codes like us-en, tr-tr, de-de to get results from specific regions.

Start Using Web Search API Today

Get 100 free credits to test the API. No credit card required.