SERP Competitors API

SEO API documentation for REST and MCP, generated from the implemented API contract.

API selector
Competitors & Traffic

API overview

Organic Keyword Set Competitors. Bounded DataForSEO database facts with explicit missing evidence. One fixed task; no pagination. Missing values are not zero. Prices and publication are unapproved. Owner-only historical results are retained seven days.

Try this API
Endpoint
/api/skill-api/v1/skills/seo-serp-competitors/run
MCP method
nexscope_seo_serp_competitors

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk_xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .
POST/api/skill-api/v1/skills/seo-serp-competitors/run

Run an API

Send a JSON request body using the parameters described below.

Slugseo-serp-competitors
HeadersAuthorization: Bearer nk_...
Content-Type: application/json
Request bodyAPI-specific JSON object.
Response bodyComplete HTTP envelope, including code and data.

Status codes

CodeDescription
200API executed successfully. Body is the direct response payload.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.

Example request

curl -X POST https://api.nexscope.ai/api/skill-api/v1/skills/seo-serp-competitors/run \
  -H "Authorization: Bearer nk_xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "keywords": [     "example"   ],   "language": "en",   "limit": 10,   "market": "US" }'
All categories/ Competitors & Traffic
POST/api/skill-api/v1/skills/seo-serp-competitors/run

Run this API

Send a JSON request to execute this API and receive the documented response payload.

Endpoint

MethodPOST
Path/api/skill-api/v1/skills/seo-serp-competitors/run
AuthBearer API key
Content-Typeapplication/json

Request body

NameTypeRequiredDescription
keywordsarrayrequired
Keywords value used by this API operation.
Minimum items: 1
Maximum items: 20
keywords[]stringrequired
Item in keywords.
Minimum length: 1
Maximum length: 80
languagestringoptional
Language value used by this API operation.
Constant: en
Default: en
limitintegeroptional
Limit value used by this API operation.
Default: 10
Minimum: 1
Maximum: 20
marketstringoptional
Market value used by this API operation.
Constant: US
Default: US

Request example

{
  "keywords": [
    "example"
  ],
  "language": "en",
  "limit": 10,
  "market": "US"
}

Response body

NameTypeRequiredDescription
codeintegerrequired
0 is a successful envelope; inspect data.status separately.
Allowed: 0, 42008, 42009
coststringrequired
Elapsed processing milliseconds; not price. -1 for non-web context.
dataobjectrequired
Data value used by this API operation.
data.callIdstring | nulloptional
Call id value used by this API operation.
data.completedAtinteger | nulloptional
Completed at value used by this API operation.
data.coverageobjectoptional
Coverage value used by this API operation.
data.coverage.missingarrayoptional
Missing value used by this API operation.
data.coverage.missing[]objectrequired
Item in data coverage missing.
data.coverage.missing[].fieldstringoptional
Field value used by this API operation.
data.coverage.missing[].reasonstringoptional
Reason value used by this API operation.
data.coverage.statusstringoptional
Status value used by this API operation.
data.requestedAtinteger | nulloptional
Requested at value used by this API operation.
data.resultobject | nullrequired
Result value used by this API operation.
data.result.itemsarrayrequired
Items value used by this API operation.
Minimum items: 0
Maximum items: 20
data.result.items[]objectrequired
Item in data result items.
data.result.items[].averagePositionnumber | nullrequired
Average position value used by this API operation.
Minimum: 0
data.result.items[].domainstringrequired
Domain value used by this API operation.
Minimum length: 1
data.result.items[].estimatedTrafficnumber | nullrequired
Estimated traffic value used by this API operation.
Minimum: 0
data.result.items[].keywordCountinteger | nullrequired
Keyword count value used by this API operation.
Minimum: 0
data.result.items[].medianPositionnumber | nullrequired
Median position value used by this API operation.
Minimum: 0
data.result.items[].missingarrayrequired
Missing value used by this API operation.
Minimum items: 0
data.result.items[].missing[]objectrequired
Item in data result items[] missing.
data.result.items[].missing[].fieldstringrequired
Field value used by this API operation.
data.result.items[].missing[].reasonstringrequired
Reason value used by this API operation.
Allowed: UPSTREAM_FIELD_MISSING, UPSTREAM_FIELD_INVALID, DUPLICATE_UPSTREAM_ITEM
data.result.items[].ratingnumber | nullrequired
Rating value used by this API operation.
Minimum: 0
data.result.languagestringrequired
Language value used by this API operation.
Constant: en
data.result.marketstringrequired
Market value used by this API operation.
Constant: US
data.result.missingarrayrequired
Missing value used by this API operation.
Minimum items: 0
data.result.missing[]objectrequired
Item in data result missing.
data.result.missing[].fieldstringrequired
Field value used by this API operation.
data.result.missing[].reasonstringrequired
Reason value used by this API operation.
Allowed: UPSTREAM_FIELD_MISSING, UPSTREAM_FIELD_INVALID, DUPLICATE_UPSTREAM_ITEM
data.result.normalizedSeedsarrayrequired
Normalized seeds value used by this API operation.
Minimum items: 1
Maximum items: 20
data.result.normalizedSeeds[]stringrequired
Item in data result normalizedSeeds.
data.result.orderingstringrequired
Ordering value used by this API operation.
Constant: rating_desc
data.result.requestedLimitintegerrequired
Requested limit value used by this API operation.
Minimum: 1
Maximum: 20
data.result.returnedCountintegerrequired
Returned count value used by this API operation.
Minimum: 0
Maximum: 20
data.result.searchTypestringrequired
Search type value used by this API operation.
Constant: organic
data.result.seedsarrayrequired
Seeds value used by this API operation.
Minimum items: 1
Maximum items: 20
data.result.seeds[]stringrequired
Item in data result seeds.
data.result.trafficKindstringrequired
Traffic kind value used by this API operation.
Constant: estimated
data.schemaVersionstring | nulloptional
Schema version value used by this API operation.
data.sourcestring | nulloptional
Source value used by this API operation.
data.statusstringoptional
Status value used by this API operation.
Allowed: SUCCESS, PARTIAL, EMPTY, PROCESSING, UNKNOWN, FAILED
data.usageobjectoptional
Usage value used by this API operation.
data.usage.billingStatusstringoptional
Billing status value used by this API operation.
data.usage.chargedCreditsinteger | nulloptional
Charged credits value used by this API operation.
data.usage.providerCostStatusstringoptional
Provider cost status value used by this API operation.
data.usage.providerCostUsdstring | nulloptional
Provider cost usd value used by this API operation.
data.usage.providerRequestsintegeroptional
Provider requests value used by this API operation.
msgstring | nullrequired
Msg value used by this API operation.
timestringrequired
yyyy-MM-dd HH:mm:ss
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds; global long serializer.

Response example

Example response envelope from the documented SEO API contract.

{
  "code": 0,
  "cost": "-1",
  "data": {
    "callId": "synthetic-call",
    "completedAt": null,
    "coverage": {
      "missing": [
        {
          "field": "synthetic",
          "reason": "UPSTREAM_FIELD_MISSING"
        }
      ],
      "status": "PARTIAL"
    },
    "requestedAt": 123,
    "result": {
      "items": [
        {
          "averagePosition": 1.25,
          "domain": "synthetic",
          "estimatedTraffic": 1.25,
          "keywordCount": 9007199254740992,
          "medianPosition": 1.25,
          "missing": [
            {
              "field": "synthetic",
              "reason": "synthetic"
            }
          ],
          "rating": 1.25
        }
      ],
      "language": "synthetic",
      "market": "synthetic",
      "missing": [
        {
          "field": "synthetic",
          "reason": "synthetic"
        }
      ],
      "normalizedSeeds": [
        "synthetic"
      ],
      "ordering": "synthetic",
      "requestedLimit": 1,
      "returnedCount": 1,
      "searchType": "synthetic",
      "seeds": [
        "synthetic"
      ],
      "trafficKind": "synthetic"
    },
    "schemaVersion": "synthetic",
    "source": "synthetic",
    "status": "PARTIAL",
    "usage": {
      "billingStatus": "UNAPPROVED",
      "chargedCredits": 0,
      "providerCostStatus": "UNAPPROVED",
      "providerCostUsd": null,
      "providerRequests": 0
    }
  },
  "msg": null,
  "time": "2026-01-01 00:00:00",
  "traceId": null,
  "ts": "9007199254740993"
}

Responses

CodeDescription
200API executed successfully. Body is the direct response payload.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.

Data source, freshness, and limitations

Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.

MCP

Use the MCP endpoint when an agent needs to discover and call API tools with JSON-RPC.

GET /api/skill-api/v1/mcp
POST /api/skill-api/v1/mcp
Authorization: Bearer nk_xxxxxxxxxxxxxxxxx
Content-Type: application/json

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_seo_serp_competitors",
    "arguments": {
      "keywords": [
        "example"
      ],
      "language": "en",
      "limit": 10,
      "market": "US"
    }
  }
}

Online test

Execute the current API with your API key and JSON payload.

Try it

Send a real request with the same contract shown in the reference.

Endpoint
/api/skill-api/v1/skills/seo-serp-competitors/run
MCP method
nexscope_seo_serp_competitors
cURL
curl -X POST \
  https://api.nexscope.ai/api/skill-api/v1/skills/seo-serp-competitors/run \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "keywords": [ "example" ], "language": "en", "limit": 10, "market": "US" }'
Response
No response yet. Run the request to see the response here.