Bulk Keyword SEO Difficulty Score (0-100)
Compute SERP-calibrated keyword difficulty scores (0-100) for up to 50 keywords in a single batch call.
curl -sG "https://api.agentapigate.ai/v1/seo/keywords/difficulty" \ --data-urlencode "keywords=ai agent api,mcp server,stripe api" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0250"
# Bulk Keyword SEO Difficulty Score (0-100) (`seo.keywords.difficulty`) **count**: 3 ### 1. ai agent api - keyword=ai agent api | keyword_difficulty=78 ### 2. mcp server - keyword=mcp server | keyword_difficulty=66 ### 3. stripe api - keyword=stripe api | keyword_difficulty=86
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:seo.keywords.difficulty · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| keywords | string | required | ai agent api,mcp server,stripe api | Comma-separated keywords string or array of up to 50 keywords |
| location_code | number | optional | 2840 | Location code (default 2840 US) |
| language_code | string | optional | en | Language code (default en) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0250 / call | $0/mo · Balance never expires |
| Remote MCP Tool | seo_keywords_difficulty | OAuth 2.1 Hub & /mcp/search |
| x402 Base USDC | $0.0250 / call | Zero-signup USDC enabled |
| P50 Latency | 161 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 280t → 72t (-80%) | Partner credit: paid_usd / x402 |
More seo.keywords Sibling Endpoints
Batch lookup monthly Google search volume, CPC (USD), competition index, and 12-month trend for up to 50 keywords.
Expand a seed keyword into high-intent long-tail Google keyword suggestions with monthly volume, CPC, and difficulty.
Frequently Asked Questions
How do I call Bulk Keyword SEO Difficulty Score (0-100) (seo.keywords.difficulty) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/seo/keywords/difficulty with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool seo_keywords_difficulty on https://mcp.agentapigate.ai/mcp.
What does seo.keywords.difficulty cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.025 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on seo.keywords.difficulty?
Passing ?format=md transforms the response into normalized Markdown (~72 tokens vs ~280 raw tokens, saving 80% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only search endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["search"], optional allowed_endpoints: ["seo.keywords.difficulty"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.