Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaSEOAvailable now

DataForSEO · Google organic SERP

dataforseo/serp/google-organic

Get SEO and search ranking data with DataForSEO · Google organic SERP from Alexandria through one Spiral API key. Rank and position data for one keyword on live Google: each organic result's rank_group, rank_absolute, URL, and title, plus SERP features. Kept for rank tracking; for plain web results use Firecrawl search. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

Up to $0.034918 per run.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
keyword requiredtext—

Search query, up to 700 characters. At most one search operator such as site:, which makes the call cost 5 times as much.

osone of
windows, macos, android, ios
—

windows or macos on desktop, android or ios on mobile.

depthnumber
1 to 100
10

Results to parse, 1 to 100. Each started 10 is one billed SERP page. DataForSEO allows 200; this connector stops at 100. Omitted, 10 is sent.

deviceone of
desktop, mobile
—

desktop (default) or mobile.

se_domaintext—

Google domain to search, such as google.co.uk. Chosen from the location when omitted.

language_codetext—

Language code, such as en. Use this or language_name.

language_nametext—

Full language name, such as English. Use this or language_code.

location_codenumber—

DataForSEO location code, such as 2840 for the United States. Use this or location_name.

location_nametext—

Full location name, such as United States or London,England,United Kingdom. Use this or location_code.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "dataforseo/serp/google-organic",
    "input": {
      "keyword": "<keyword>",
      "language_code": "<language_code>",
      "location_code": 1
    }
  }'

Frequently asked questions

How much does DataForSEO · Google organic SERP cost?

Up to $0.034918 per run. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use DataForSEO · Google organic SERP through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "dataforseo/serp/google-organic"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use DataForSEO · Google organic SERP?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use DataForSEO · Google organic SERP?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.