# DataForSEO · Google organic SERP

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.

- Provider: Alexandria
- Category: SEO
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `dataforseo/serp/google-organic`
- Page: https://spiral.ai/tools/alexandria/dataforseo/serp/google-organic

## Pricing

Up to $0.034918 per run.

## Limits

- 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

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `keyword` (required) | text |  | — | Search query, up to 700 characters. At most one search operator such as site:, which makes the call cost 5 times as much. |
| `os` | one of | windows, macos, android, ios | — | windows or macos on desktop, android or ios on mobile. |
| `depth` | number | 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. |
| `device` | one of | desktop, mobile | — | desktop (default) or mobile. |
| `se_domain` | text |  | — | Google domain to search, such as google.co.uk. Chosen from the location when omitted. |
| `language_code` | text |  | — | Language code, such as en. Use this or language_name. |
| `language_name` | text |  | — | Full language name, such as English. Use this or language_code. |
| `location_code` | number |  | — | DataForSEO location code, such as 2840 for the United States. Use this or location_name. |
| `location_name` | text |  | — | Full location name, such as United States or London,England,United Kingdom. Use this or location_code. |

## Example

```bash
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
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=dataforseo%2Fserp%2Fgoogle-organic

## Common questions

### DataForSEO · Google organic SERP

**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.

