# DataForSEO — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.paywithlocus.com/llms.txt)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API |
> |---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> SEO data APIs — live Google SERP scraping with rich features and Google Ads keyword search volume.

**Category:** Search | **Website:** [dataforseo.com](https://dataforseo.com) | **Docs:** [docs.dataforseo.com/v3](https://docs.dataforseo.com/v3)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/dataforseo/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### Google SERP (Live Advanced)

Real-time Google organic results with rich SERP features (snippets, PAA, local packs). Each task returns up to `depth` results; billed per 10 results.

**Estimated cost:** $0.005/task (10 results)

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `tasks` | object[] | Yes | Array of task objects, e.g. [{ keyword: 'best crm', location_code: 2840, language_code: 'en', device: 'desktop', depth: 10 }] |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/dataforseo/serp-google-organic \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tasks":"<object[]>"}'
```

### Search Volume (Google Ads)

Monthly search volume, competition, and CPC for up to 1,000 keywords per task, straight from Google Ads data.

**Estimated cost:** $0.093/task (up to 1,000 keywords)

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `tasks` | object[] | Yes | Array of task objects, e.g. [{ keywords: ['crm software'], location_code: 2840, language_code: 'en' }] |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/dataforseo/search-volume \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tasks":"<object[]>"}'
```
