What you send

POST a JSON body to /v1/search with your API key in the X-API-Key header.

query
What to search for, 1–500 characters. Required.
limit
Number of results, 1–100 (default 10).
country, language
Two-letter country code and language code for localized results.
freshness
Only recent results: day, week, month, or year.
includeDomains, excludeDomains
Limit results to, or leave out, up to 20 domains each.
formats
links or json for the results; summary adds a summary of the snippets.
enrichTop, scrapeOptions
Scrape the top 0–10 results with the same options as Scrape.

What you get back

result.results lists each hit with rank, title, url, displayUrl, snippet, and publishedAt when known. Enriched results carry the scraped page in enrichment.

ResponseAbridged; values are placeholders.
{
  "success": true,
  "data": {
    "operation": "search",
    "state": "completed",
    "result": {
      "query": "web scraping best practices",
      "count": 10,
      "results": [
        {
          "rank": 1,
          "title": "…",
          "url": "https://…",
          "displayUrl": "…",
          "snippet": "…"
        }
      ]
    },
    "usage": { "settledCredits": 1 }
  }
}

Search runs synchronously by default and answers within 60 seconds (longer when it enriches results).

What Search costs

Before a job starts, its maximum cost is reserved. When it finishes, only what was delivered is charged and the rest is released. Failed pages and failed jobs are not charged.

Web Context credit costs
Operation or optionCreditsNotes
Scrape: each page1Includes Markdown, HTML, and links.
Search5 per 10 results requested1–10 results cost 5, 11–20 cost 10, 21–30 cost 15, even if fewer are found. A summary adds +2; each enriched result adds its Scrape cost.

See plans and all credit costs →

Make your first request in minutes

Create an account, choose a monthly plan or one-time credits, and try any operation in the dashboard playground before you write code.