Search Volume
by SEO Keyword Search Volume & CPC in Search & web
Google search volume, CPC, competition, keyword difficulty and intent for up to 20 comma-separated keywords in one $0.04 GET (DataForSEO Labs). Use when you need monthly search volume for a few keywords in a country. volume = avg monthly searches, cpc in USD, competition 0-1, difficulty 0-100. Keywords without data are listed in missing (still charged). Bad input is free; upstream errors are not charged.
https://keywords.duoleads.com/v1/search-volume- Price
- $0.04
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 325 ms
- 422 ms slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
How to call it
GET https://keywords.duoleads.com/v1/search-volume
Each call costs $0.04 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://keywords.duoleads.com/v1/search-volume?country=us&keywords=phone%2Cwatch&lang=enParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
country | string | No | ISO 3166-1 alpha-2 country code of a supported location (us, gb, de, ...; uk = gb). Default us. Default: "us". |
includeMonthly | string | No | true adds each keyword's monthly search volumes. One of: true, false. |
keywords | string | Yes | 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 le… |
lang | string | No | Language code offered for the country (en, es, de, ...; en-US = en). Default: en when offered, else the country's main language. Default: "en". |
Example response
The provider's example. We can't check it without paying.
Example response, 46 lines
{
"dataAsOf": "2026-09-16T03:19:59Z",
"market": {
"country": "US",
"fallback": false,
"languageCode": "en",
"locationCode": 2840,
"locationName": "United States"
},
"missing": [],
"request_id": "01KEXAMPLE0000000000000000",
"results": [
{
"competition": 0.76,
"competitionLevel": "HIGH",
"cpc": 4.63,
"difficulty": 54,
"intent": "informational",
"keyword": "phone",
"trendYoyPct": 50,
"volume": 673000
},
{
"competition": 0.95,
"competitionLevel": "HIGH",
"cpc": 1.39,
"difficulty": 54,
"intent": "transactional",
"keyword": "watch",
"trendYoyPct": 22,
"volume": 550000
}
],
"see_also": {
"endpoint": "https://keywords.duoleads.com/v1/keyword-overview",
"params": [
"keywords",
"locationCode",
"languageCode"
],
"reason": "More than 20 keywords? POST up to 100 to keyword-overview: the same fields in one $0.04 call."
},
"source": "DataForSEO Labs (Google Ads data)",
"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"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.04.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://keywords.duoleads.com/v1/search-volume?country=us&keywords=phone%2Cwatch&lang=en'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://keywords.duoleads.com/v1/search-volume?country=us&keywords=phone%2Cwatch&lang=en' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.04 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.04" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.04 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fkeywords.duoleads.com%2Fv1%2Fsearch-volume
const res = await pay("https://keywords.duoleads.com/v1/search-volume?country=us&keywords=phone%2Cwatch&lang=en");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.04 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.04"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://keywords.duoleads.com/v1/search-volume?country=us&keywords=phone%2Cwatch&lang=en")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 306 ms | $0.04 |
| 6 h ago | Passed | 402 | 546 ms | $0.04 |
| 10 h ago | Passed | 402 | 325 ms | $0.04 |
| 14 h ago | Passed | 402 | 67 ms | $0.04 |
| 18 h ago | Passed | 402 | 422 ms | $0.04 |
Show 1 older checks
| 28 h ago | Passed | 402 | 335 ms | $0.04 |