Category Keywords API

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

API selector
Keyword Research

API overview

Category Keywords. 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-category-keywords/run
MCP method
nexscope_seo_category_keywords

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-category-keywords/run

Run an API

Send a JSON request body using the parameters described below.

Slugseo-category-keywords
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-category-keywords/run \
  -H "Authorization: Bearer nk_xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "categoryIds": [     1   ],   "categoryMatch": "ALL",   "language": "en",   "limit": 10,   "market": "US" }'
All categories/ Keyword Research
POST/api/skill-api/v1/skills/seo-category-keywords/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-category-keywords/run
AuthBearer API key
Content-Typeapplication/json

Request body

NameTypeRequiredDescription
categoryIdsarrayrequired
Category ids value used by this API operation.
Minimum items: 1
Maximum items: 20
categoryIds[]integerrequired
Item in categoryIds.
Minimum: 1
Maximum: 2147483647
categoryMatchstringoptional
Category match value used by this API operation.
Allowed: ALL, ANY
Default: ALL
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

{
  "categoryIds": [
    1
  ],
  "categoryMatch": "ALL",
  "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.categoryIdsarrayrequired
Category ids value used by this API operation.
Minimum items: 1
Maximum items: 20
data.result.categoryIds[]integerrequired
Item in data result categoryIds.
Minimum: 1
data.result.categoryMatchstringrequired
Category match value used by this API operation.
Allowed: ALL, ANY
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[].categoryIdsarrayrequired
Category ids value used by this API operation.
Minimum items: 0
data.result.items[].categoryIds[]integerrequired
Item in data result items[] categoryIds.
Minimum: 1
Maximum: 2147483647
data.result.items[].competitionnumber | nullrequired
Competition value used by this API operation.
Minimum: 0
Maximum: 1
data.result.items[].cpcUsdstring | nullrequired
Cpc usd value used by this API operation.
Pattern: ^(0|[1-9][0-9]*)(\.[0-9]+)?$
data.result.items[].keywordstringrequired
Keyword value used by this API operation.
Minimum length: 1
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[].searchVolumeinteger | nullrequired
Search volume 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.normalizedCategoryIdsarrayrequired
Normalized category ids value used by this API operation.
Minimum items: 0
data.result.normalizedCategoryIds[]integerrequired
Item in data result normalizedCategoryIds.
Minimum: 1
Maximum: 2147483647
data.result.orderingstringrequired
Ordering value used by this API operation.
Constant: search_volume_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.taxonomystringrequired
Taxonomy value used by this API operation.
Constant: google_product_service
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": {
      "categoryIds": [
        1
      ],
      "categoryMatch": "synthetic",
      "items": [
        {
          "categoryIds": [
            1
          ],
          "competition": 1.25,
          "cpcUsd": "synthetic",
          "keyword": "synthetic",
          "missing": [
            {
              "field": "synthetic",
              "reason": "synthetic"
            }
          ],
          "searchVolume": 9007199254740992
        }
      ],
      "language": "synthetic",
      "market": "synthetic",
      "missing": [
        {
          "field": "synthetic",
          "reason": "synthetic"
        }
      ],
      "normalizedCategoryIds": [
        1
      ],
      "ordering": "synthetic",
      "requestedLimit": 1,
      "returnedCount": 1,
      "taxonomy": "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_category_keywords",
    "arguments": {
      "categoryIds": [
        1
      ],
      "categoryMatch": "ALL",
      "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-category-keywords/run
MCP method
nexscope_seo_category_keywords
cURL
curl -X POST \
  https://api.nexscope.ai/api/skill-api/v1/skills/seo-category-keywords/run \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "categoryIds": [ 1 ], "categoryMatch": "ALL", "language": "en", "limit": 10, "market": "US" }'
Response
No response yet. Run the request to see the response here.