Keyword Ad Forecast API

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

API selector
Ad Intelligence

API overview

Google Ads keyword click, CPC and advertising spend forecasts over a frozen future date range. Nullable fields preserve missing evidence. Provider observations and estimates do not establish actual account performance. No additional calls or fallback.

Try this API
Endpoint
/api/skill-api/v1/skills/seo-keyword-ad-traffic-forecast/run
MCP method
nexscope_seo_keyword_ad_traffic_forecast

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-keyword-ad-traffic-forecast/run

Run an API

Send a JSON request body using the parameters described below.

Slugseo-keyword-ad-traffic-forecast
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-keyword-ad-traffic-forecast/run \
  -H "Authorization: Bearer nk_xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "bidUsd": 1,   "dateFrom": "2026-01-01",   "dateTo": "2026-01-01",   "keywords": [     "example"   ],   "match": "EXACT" }'
All categories/ Ad Intelligence
POST/api/skill-api/v1/skills/seo-keyword-ad-traffic-forecast/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-keyword-ad-traffic-forecast/run
AuthBearer API key
Content-Typeapplication/json

Request body

NameTypeRequiredDescription
bidUsdintegerrequired
Bid usd value used by this API operation.
Minimum: 1
Maximum: 100
dateFromstringrequired
Date from value used by this API operation.
Format: date
dateTostringrequired
Date to value used by this API operation.
Format: date
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
matchstringoptional
Match value used by this API operation.
Allowed: EXACT, PHRASE, BROAD
Default: EXACT

Request example

{
  "bidUsd": 1,
  "dateFrom": "2026-01-01",
  "dateTo": "2026-01-01",
  "keywords": [
    "example"
  ],
  "match": "EXACT"
}

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.bidUsdintegerrequired
Bid usd value used by this API operation.
Minimum: 1
Maximum: 100
data.result.currencystringrequired
Currency value used by this API operation.
Constant: USD
data.result.dateFromstringrequired
Date from value used by this API operation.
Format: date
data.result.dateTostringrequired
Date to value used by this API operation.
Format: date
data.result.keywordsarrayrequired
Keywords value used by this API operation.
Minimum items: 1
Maximum items: 20
data.result.keywords[]objectrequired
Item in data result keywords.
data.result.keywords[].averageCpcUsdnumber | nullrequired
Average cpc usd value used by this API operation.
Minimum: 0
data.result.keywords[].expectedClicksnumber | nullrequired
Expected clicks value used by this API operation.
Minimum: 0
data.result.keywords[].keywordstring | nullrequired
Keyword value used by this API operation.
data.result.keywords[].projectedSpendUsdnumber | nullrequired
Projected spend usd value used by this API operation.
Minimum: 0
data.result.matchstringrequired
Match value used by this API operation.
Allowed: EXACT, PHRASE, BROAD
data.result.metaobjectrequired
Meta value used by this API operation.
data.result.meta.marketobjectrequired
Market value used by this API operation.
data.result.meta.market.countrystringrequired
Country value used by this API operation.
Constant: US
data.result.meta.market.languagestring | nullrequired
Language value used by this API operation.
Allowed: en, null
data.result.meta.market.locationCodeintegerrequired
Location code value used by this API operation.
Constant: 2840
data.result.meta.missingarrayrequired
Missing value used by this API operation.
Minimum items: 0
Maximum items: 100
data.result.meta.missing[]objectrequired
Item in data result meta missing.
data.result.meta.missing[].pathstringrequired
Path value used by this API operation.
data.result.meta.missing[].reasonstringrequired
Reason value used by this API operation.
Allowed: MISSING, NULL, INVALID, UNSUPPORTED, TRUNCATED
data.result.meta.missingOverflowbooleanrequired
Missing overflow value used by this API operation.
data.result.meta.retrievedAtintegerrequired
Retrieved at value used by this API operation.
Minimum: 0
Maximum: 9007199254740991
data.result.meta.sampledAtinteger | nullrequired
Sampled at value used by this API operation.
Minimum: 0
Maximum: 9007199254740991
data.result.meta.sourcestringrequired
Source value used by this API operation.
Constant: DATAFORSEO_GOOGLE_ADS_FORECAST
data.result.meta.truncatedbooleanrequired
Truncated value used by this API operation.
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": {
      "bidUsd": 1,
      "currency": "synthetic",
      "dateFrom": "synthetic",
      "dateTo": "synthetic",
      "keywords": [
        {
          "averageCpcUsd": 1.25,
          "expectedClicks": 1.25,
          "keyword": "synthetic",
          "projectedSpendUsd": 1.25
        }
      ],
      "match": "synthetic",
      "meta": {
        "market": {
          "country": "synthetic",
          "language": "synthetic",
          "locationCode": 1
        },
        "missing": [
          {
            "path": "synthetic",
            "reason": "synthetic"
          }
        ],
        "missingOverflow": false,
        "retrievedAt": 9007199254740992,
        "sampledAt": 9007199254740992,
        "source": "synthetic",
        "truncated": false
      }
    },
    "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_keyword_ad_traffic_forecast",
    "arguments": {
      "bidUsd": 1,
      "dateFrom": "2026-01-01",
      "dateTo": "2026-01-01",
      "keywords": [
        "example"
      ],
      "match": "EXACT"
    }
  }
}

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-keyword-ad-traffic-forecast/run
MCP method
nexscope_seo_keyword_ad_traffic_forecast
cURL
curl -X POST \
  https://api.nexscope.ai/api/skill-api/v1/skills/seo-keyword-ad-traffic-forecast/run \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "bidUsd": 1, "dateFrom": "2026-01-01", "dateTo": "2026-01-01", "keywords": [ "example" ], "match": "EXACT" }'
Response
No response yet. Run the request to see the response here.