Live

SERP API

Google Standard and Advanced search through one normalized contract.

SERP API removes parser drift, retry handling, and search engine branching from your application code. Send one search job, poll for completion, and work with normalized search modules instead of raw markup.

Endpoint

POST /v1/search

Poll GET /v1/search/:jobId for the final result payload.

Credits

Standard: 1 credit; Advanced: 2 credits

Each successful page costs 1 credit in Standard or 2 in Advanced. Polling and idempotent replays cost nothing extra.

Output

Structured JSON + optional markdown

Use include_raw_markdown=true when you need a prompt-ready rendering of the same SERP.

Code examples

Start with cURL, then switch to Python, JavaScript, Java, or PHP for the same SERP API flow.

Start with the raw HTTP request and poll flow.

bash
curl -X POST "https://api.orbitscraper.com/v1/search" \
  -H "x-api-key: ORS_live_1234567890" \
  -H "Content-Type: application/json" \
  -d '{
    "q": "best ai chips 2026",
    "engine": "google",
    "location": "New York",
    "gl": "us",
    "hl": "en",
    "device": "desktop",
    "num": 10,
    "page": 1,
    "safe": "active",
    "allow_fallback": false,
    "include_raw_markdown": true,
    "async": true
  }'

curl -X GET "https://api.orbitscraper.com/v1/search/search_123456" \
  -H "x-api-key: ORS_live_1234567890"

What it's for

  • rank tracking across supported engines and locales
  • SERP features for SEO analytics dashboards
  • search evidence for AI agents and retrieval workflows
  • query monitoring for research and ad intelligence
  • internal tooling that needs stable search response objects

How it works

  1. 1Submit a search job with q, engine preference, location context, and output options.
  2. 2By default, POST /v1/search is synchronous and waits up to about 25 seconds; if unfinished it returns HTTP 202 with a job_id and the job continues.
  3. 3With async: true, POST /v1/search always returns HTTP 202 immediately. Poll GET /v1/search/:jobId for the top-level completed payload.

Request parameters

These are the fields accepted by the current backend contract for POST /v1/search.

Field / ParameterTypeRequiredDescription
search_modestandard | advancedOptional

Google only. Defaults to standard (1 credit); advanced costs 2 credits. Richer metadata is possible, not guaranteed; relevance and organic counts may vary.

qstringRequired

Search query text. Maximum length 1000 characters.

enginestringOptional

Google is currently available. Bing and DuckDuckGo are Coming Soon and return 503 even with fallback enabled.

allow_fallbackbooleanOptional

Defaults to false. Only Google is released; this option never unlocks unavailable engines or substitutes Standard for Advanced.

locationstringOptional

Google city/location context. Other engines require Global; use gl/hl for country selection.

glstringOptional

Google country code from the supported-region reference; default us.

hlstringOptional

Google result language; default en.

devicedesktop | mobileOptional

Client device context. Defaults to desktop.

numintegerOptional

Google num must be 10. Actual result count may be lower.

pageintegerOptional

One-based Google result page, 1-100. Each successful page is billed at the selected mode rate.

tbsstringOptional

Google advanced filter string, at most 1000 characters.

nfpr0 | 1Optional

Google spelling correction control.

safeactive | offOptional

Google safe-search setting.

asyncbooleanOptional

Defaults to false: POST /v1/search is synchronous and waits up to about 25 seconds; if unfinished it returns HTTP 202 with a job_id and the job continues. With async: true it always returns HTTP 202 immediately. Poll GET /v1/search/:jobId.

modestringOptional

Response mode. Supported values: parsed, llm. raw and hybrid modes and raw HTML are temporarily unavailable.

include_raw_markdownbooleanOptional

Return a markdown rendering alongside JSON fields when true.

include_raw_htmlbooleanOptional

raw and hybrid modes and raw HTML are temporarily unavailable.

truncate_raw_htmlintegerOptional

Truncate the raw HTML to this length if included.

Response fields

These fields describe the completed payload you read from the current public API contract.

Field / ParameterTypeDescription
ai_overview / featured_snippet / answer_boxobject (optional)

Allowlisted rich content when returned. Missing features are not fabricated and retrieval links are never fetched automatically.

search_metadataobject

Top-level completed payload metadata including id, status, created_at, processing_time_ms, search_mode, and credits_used. Completed result fields are not wrapped in result.

search_parametersobject

The parameters used to perform the search (q, engine, gl, hl, etc).

search_informationobject

Original submitted query in query_displayed, pagination and returned result counts. Spelling-correction fields and correction statuses are omitted; actual results are unchanged.

organic_resultsarray

The main organic search results from the requested engine.

local_resultsarray

Local map pack or business results.

knowledge_graphobject

Knowledge graph panel information if present.

people_also_askarray

Related question snippets.

related_searchesarray

Related search queries.

detected_intentstring

The inferred intent of the query.

Response examples

This is the shape you get back from the current public API contract for SERP API.

Queued response

The first response confirms the job was accepted and tells you what to poll next.

json
{
  "request_id": "req_123456",
  "trace_id": "trace_xyz",
  "job_id": "search_123456",
  "status": "queued",
  "credits_reserved": 1
}

Completed response

After polling, this is the final payload shape your app reads.

json
{
  "search_metadata": {
    "id": "req_123456",
    "status": "Success",
    "created_at": "2026-06-15T12:00:00.000Z",
    "processing_time_ms": 320,
    "credits_used": 1,
    "source": "live",
    "engine": "google"
  },
  "search_parameters": {
    "q": "best ai chips 2026",
    "engine": "google",
    "gl": "us",
    "hl": "en",
    "location": "New York",
    "device": "desktop",
    "num": 10,
    "page": 1,
    "safe": "active"
  },
  "search_information": {
    "returned_results": 1,
    "page": 1,
    "num": 10
  },
  "organic_results": [
    {
      "position": 1,
      "title": "Best AI chips in 2026",
      "link": "https://example.com/ai-chips",
      "displayed_link": "example.com",
      "snippet": "A breakdown of current inference leaders."
    }
  ],
  "local_results": [],
  "knowledge_graph": {},
  "people_also_ask": [],
  "related_searches": [],
  "detected_intent": "product"
}

Ready to build on SERP API?

The current backend contract is already live. Use the docs page for request details and the pricing page for credit planning.

Start scraping faster - ask Orbit AI.