# Keyword Search Volume & CPC (DataForSEO Labs)

> Keyword Search Volume & CPC (DataForSEO Labs) is a paid API for AI agents from keywords.duoleads.com, paid per call via x402, $0.04/call, status healthy (last checked 2026-10-20, last successful call 2026-10-19).

Returns Google search volume, CPC, competition, keyword difficulty, and search intent for up to 20 comma-separated keywords in a single GET request.

## Facts

- Endpoint: GET https://keywords.duoleads.com/v1/search-volume?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: healthy
- Last checked: 2026-10-20
- Last successful call: 2026-10-19
- Success rate: 100% of calls made through Zero
- Activations on Zero: 6
- Tags: x402
- Canonical page: https://www.zero.xyz/c/keyword-search-volume-cpc-dataforseo-labs-b675d2d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ASVlUxsdbRAdzkmBvytjS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability keyword-search-volume-cpc-dataforseo-labs-b675d2d3
```

Example prompt: What's the monthly search volume, CPC, and keyword difficulty for 'project management software', 'task management app', and 'team collaboration tool' in the US?

## When to prefer this

Use this endpoint when you need quick, low-cost keyword metrics for a small batch of up to 20 keywords in a specific country. It is the cheapest and fastest option for spot-checking search volume, CPC, difficulty, and intent. Prefer the sibling keyword-overview POST endpoint when you need to process 21-100 keywords at once for the same $0.04 price. Choose this over general SEO platforms when you need programmatic access to DataForSEO Labs data in an agentic workflow.

## Known failure modes

- Keywords with no data are returned in the 'missing' array but still charged
- More than 20 keywords in one request results in an error
- Keywords over 80 characters or more than 10 words are skipped and listed in missing
- Invalid country code or unsupported location returns an error (free)
- Upstream DataForSEO errors are not charged but may occur occasionally
- Malformed input (bad JSON, missing keywords param) returns a free 400

## How this service works

Search volume, CPC, competition, keyword difficulty, intent, keyword ideas and Google Trends, paid per call over x402 (USDC on Base). No account, no API key.

## Output

A JSON object with per-keyword data including average monthly search volume, CPC in USD, competition score (0-1), competition level (LOW/MEDIUM/HIGH), keyword difficulty (0-100), search intent (informational/navigational/commercial/transactional), and year-over-year trend percentage. Also includes market metadata (country, language, location code), the data timestamp, any keywords with no data listed under 'missing', and a hint about the bulk keyword-overview endpoint for larger sets.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "keywords"
     ],
     "properties": {
      "lang": {
       "type": "string",
       "default": "en",
       "maxLength": 16,
       "description": "Language code offered for the country (en, es, de, ...; en-US = en). Default: en when offered, else the country's main language."
      },
      "country": {
       "type": "string",
       "default": "us",
       "pattern": "^[A-Za-z]{2}$",
       "description": "ISO 3166-1 alpha-2 country code of a supported location (us, gb, de, ...; uk = gb). Default us."
      },
      "keywords": {
       "type": "string",
       "maxLength": 2000,
       "description": "1-20 keywords, comma-separated (empty segments are ignored); each at most 80 characters. Whitespace and control characters are normalised to single spaces and keywords to lower case; a keyword that is then empty, over 10 words or over 80 characters is not looked up and is listed in missing; none left to look up is a free 400."
      },
      "includeMonthly": {
       "enum": [
        "true",
        "false"
       ],
       "type": "string",
       "description": "true adds each keyword's monthly search volumes."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "total": 2,
  "units": "volume: average monthly Google searches; cpc: US dollars; competition: 0-1 (Google Ads); competitionLevel: LOW|MEDIUM|HIGH; difficulty: 0-100; intent: informational|navigational|commercial|transactional; trendYoyPct: % change vs a year ago",
  "market": {
   "country": "US",
   "fallback": false,
   "languageCode": "en",
   "locationCode": 2840,
   "locationName": "United States"
  },
  "source": "DataForSEO Labs (Google Ads data)",
  "missing": [],
  "results": [
   {
    "cpc": 4.63,
    "intent": "informational",
    "volume": 673000,
    "keyword": "phone",
    "difficulty": 54,
    "competition": 0.76,
    "trendYoyPct": 50,
    "competitionLevel": "HIGH"
   },
   {
    "cpc": 1.39,
    "intent": "transactional",
    "volume": 550000,
    "keyword": "watch",
    "difficulty": 54,
    "competition": 0.95,
    "trendYoyPct": 22,
    "competitionLevel": "HIGH"
   }
  ],
  "dataAsOf": "2026-09-16T03:19:59Z",
  "see_also": {
   "params": [
    "keywords",
    "locationCode",
    "languageCode"
   ],
   "reason": "More than 20 keywords? POST up to 100 to keyword-overview: the same fields in one $0.04 call.",
   "endpoint": "https://keywords.duoleads.com/v1/keyword-overview"
  },
  "request_id": "01KEXAMPLE0000000000000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/keyword-search-volume-cpc-dataforseo-labs-b675d2d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from keywords.duoleads.com](https://www.zero.xyz/host/keywords.duoleads.com/llms.txt)
