77trust / 100

Serp Competitors

by SEO SERP Competitors in Search & web

x402 APIPassing, checked 10 h ago

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.

POST
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

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

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

ParameterTypeRequiredDescription
countrystringNoOptional ISO 3166-1 alpha-2 code or country name, used when locationCode is absent (uk = gb).
keywordsarray of stringYesKeywords 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).
languageCodestringNoLanguage 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…
limitintegerNoMaximum domains to return (1-100). Defaults to 20.
locationCodeintegerNoGoogle 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 --decode
JavaScript: 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

WhenResultHTTPTimePrice
10 h agoPassed40240 ms$0.048
23 h agoPassed40294 ms$0.048
2 days agoTimed out---
4 days agoTimed out---
5 days agoPassed402153 ms$0.048
Show 10 older checks
5 days agoPassed402155 ms$0.048
5 days agoPassed402161 ms$0.048
6 days agoPassed402291 ms$0.048
6 days agoPassed402303 ms$0.048
7 days agoPassed402256 ms$0.048
7 days agoPassed402356 ms$0.048
7 days agoPassed402265 ms$0.048
8 days agoPassed40293 ms$0.048
8 days agoPassed40243 ms$0.048
8 days agoPassed402368 ms$0.048