Serp Competitors
by SEO SERP Competitors in Search & web
SERP competitors: the domains that rank in Google for a set of up to 100 keywords, each with average and median position, visibility, estimated traffic and how many of the keywords it ranks for; up to 100 domains in one $0.048 call. Use when you need who owns the search results of a topic. No data returns empty results (still charged). Bad input is free; upstream errors are not charged.
https://keywords.duoleads.com/v1/serp-competitors- Price
- $0.048
- per call in USDC
- Uptime
- 97.2%
- last 30 days
- Response time
- 129 ms
- 416 ms slowest 5%
- Last check
- Passed
- 10 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://keywords.duoleads.com/v1/serp-competitors
Each call costs $0.048 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/serp-competitors
content-type: application/json
{
"keywords": [
"running shoes",
"trail running shoes"
],
"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). |
keywords | array of string | Yes | Keywords whose Google results to analyse (1-100; each at most 80 characters, normalised to lower case; one that is then empty, over 10 words or over 80 characters is listed in missing). |
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 domains to return (1-100). Defaults to 20. |
locationCode | integer | No | Google Ads location code (geo target ID). 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, 41 lines
{
"available": 86,
"keywords": [
"running shoes",
"trail running shoes"
],
"market": {
"country": "US",
"fallback": false,
"languageCode": "en",
"locationCode": 2840,
"locationName": "United States"
},
"missing": [],
"request_id": "01KEXAMPLE0000000000000000",
"results": [
{
"avgPosition": 1.5,
"domain": "example.com",
"etv": 21840,
"keywordsCount": 2,
"medianPosition": 1.5,
"rating": 188,
"relevantSerpItems": 2,
"visibility": 0.92
},
{
"avgPosition": 4,
"domain": "example.org",
"etv": 5120.5,
"keywordsCount": 1,
"medianPosition": 4,
"rating": 92,
"relevantSerpItems": 1,
"visibility": 0.41
}
],
"source": "Google search results (estimates)",
"total": 2,
"units": "avgPosition / medianPosition: Google position across the keywords; visibility: 0-1 share of the keywords' results; etv: estimated monthly visits from these keywords; keywordsCount: keywords the domain ranks for; rating: provider ranking score"
}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.048.
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/serp-competitors' \
-H 'content-type: application/json' \
--data-raw '{"keywords":["running shoes","trail running shoes"],"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/serp-competitors' \
-H 'content-type: application/json' \
--data-raw '{"keywords":["running shoes","trail running shoes"],"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.048 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.048" });
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.048 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fkeywords.duoleads.com%2Fv1%2Fserp-competitors&method=POST
const res = await pay("https://keywords.duoleads.com/v1/serp-competitors", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"keywords": [
"running shoes",
"trail running shoes"
],
"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.048 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.048"})
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/serp-competitors",
json={
"keywords": [
"running shoes",
"trail running shoes",
],
"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 |
|---|---|---|---|---|
| 10 h ago | Passed | 402 | 40 ms | $0.048 |
| 23 h ago | Passed | 402 | 94 ms | $0.048 |
| 2 days ago | Timed out | - | - | - |
| 4 days ago | Timed out | - | - | - |
| 5 days ago | Passed | 402 | 153 ms | $0.048 |
Show 10 older checks
| 5 days ago | Passed | 402 | 155 ms | $0.048 |
| 5 days ago | Passed | 402 | 161 ms | $0.048 |
| 6 days ago | Passed | 402 | 291 ms | $0.048 |
| 6 days ago | Passed | 402 | 303 ms | $0.048 |
| 7 days ago | Passed | 402 | 256 ms | $0.048 |
| 7 days ago | Passed | 402 | 356 ms | $0.048 |
| 7 days ago | Passed | 402 | 265 ms | $0.048 |
| 8 days ago | Passed | 402 | 93 ms | $0.048 |
| 8 days ago | Passed | 402 | 43 ms | $0.048 |
| 8 days ago | Passed | 402 | 368 ms | $0.048 |