Keyword Ideas
by SEO Keyword Ideas & Difficulty in Search & web
Keyword ideas for a seed keyword, each with Google search volume, CPC, competition, keyword difficulty and search intent; up to 100 ideas in one $0.04 call (DataForSEO Labs). Use when you need related keywords to target. volume = avg monthly searches, cpc in USD, competition 0-1, difficulty 0-100. No ideas returns empty results (still charged). Bad input is free; upstream errors are not charged.
https://keywords.duoleads.com/v1/keyword-ideas- Price
- $0.04
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 432 ms
- 571 ms slowest 5%
- Last check
- Passed
- 13 min ago, next in 18 min
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://keywords.duoleads.com/v1/keyword-ideas
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.
POST https://keywords.duoleads.com/v1/keyword-ideas
content-type: application/json
{
"keyword": "phone",
"languageCode": "en",
"limit": 2,
"locationCode": 2840
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
country | string | No | Optional ISO 3166-1 alpha-2 code or country name, used when locationCode is absent (uk = gb). |
includeMonthly | boolean | No | Add each idea's monthly search volumes (monthly[]). |
keyword | string | Yes | Seed keyword to expand (at most 80 characters). Whitespace and control characters are normalised to single spaces and the seed to lower case; DataForSEO expands seeds of 1 to 10 words and at most 80 characters, so a seed that is then empty or longer is a free 400. |
languageCode | string | No | Language code (2-letter). Defaults to en. An unsupported location falls back to 2840 (United States) with en (or the requested language if the United States offers it); a supported location with a language it does not offer uses that location's default language (en if offered). Either way market.fa… |
limit | integer | No | Maximum ideas to return. Defaults to 20. |
locationCode | integer | No | DataForSEO location code. Defaults to 2840 (United States); an unsupported code falls back to 2840 (United States, market.fallback). |
Example response
The provider's example. We can't check it without paying.
Example response, 47 lines
{
"available": 425645,
"dataAsOf": "2026-09-13T09:55:39Z",
"market": {
"country": "US",
"fallback": false,
"languageCode": "en",
"locationCode": 2840,
"locationName": "United States"
},
"request_id": "01KEXAMPLE0000000000000000",
"results": [
{
"competition": 0.92,
"competitionLevel": "HIGH",
"cpc": 0.31,
"difficulty": 31,
"intent": "informational",
"keyword": "nothing phone",
"trendYoyPct": 174,
"volume": 165000
},
{
"competition": 0.1,
"competitionLevel": "LOW",
"cpc": 2.14,
"difficulty": 57,
"intent": "informational",
"keyword": "find phone",
"trendYoyPct": 22,
"volume": 14800
}
],
"see_also": {
"endpoint": "https://keywords.duoleads.com/v1/trend",
"params": [
"keyword",
"country",
"timeframe"
],
"reason": "Want the seasonality of an idea? Call trend for its Google Trends interest over time."
},
"seed": "phone",
"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 -X POST 'https://keywords.duoleads.com/v1/keyword-ideas' \
-H 'content-type: application/json' \
--data-raw '{"keyword":"phone","languageCode":"en","limit":2,"locationCode":2840}'
# 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 - -X POST 'https://keywords.duoleads.com/v1/keyword-ideas' \
-H 'content-type: application/json' \
--data-raw '{"keyword":"phone","languageCode":"en","limit":2,"locationCode":2840}' \
| 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%2Fkeyword-ideas&method=POST
const res = await pay("https://keywords.duoleads.com/v1/keyword-ideas", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"keyword": "phone",
"languageCode": "en",
"limit": 2,
"locationCode": 2840
}),
});
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.post(
"https://keywords.duoleads.com/v1/keyword-ideas",
json={
"keyword": "phone",
"languageCode": "en",
"limit": 2,
"locationCode": 2840,
},
)
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 |
|---|---|---|---|---|
| 13 min ago | Passed | 402 | 452 ms | $0.04 |
| 5 h ago | Passed | 402 | 432 ms | $0.04 |
| 11 h ago | Passed | 402 | 1.2 s | $0.04 |
| 16 h ago | Passed | 402 | 347 ms | $0.04 |
| 21 h ago | Passed | 402 | 173 ms | $0.04 |
Show 10 older checks
| 26 h ago | Passed | 402 | 384 ms | $0.04 |
| 31 h ago | Passed | 402 | 337 ms | $0.04 |
| 36 h ago | Passed | 402 | 344 ms | $0.04 |
| 41 h ago | Passed | 402 | 337 ms | $0.04 |
| 46 h ago | Passed | 402 | 482 ms | $0.04 |
| 2 days ago | Passed | 402 | 345 ms | $0.04 |
| 2 days ago | Passed | 402 | 502 ms | $0.04 |
| 3 days ago | Passed | 402 | 571 ms | $0.04 |
| 3 days ago | Passed | 402 | 568 ms | $0.04 |
| 3 days ago | Passed | 402 | 564 ms | $0.04 |