Optimize API endpoint
Run a synchronous Rankability Optimize analysis for a public URL and keyword, with explicit retry protection and success-based billing.
Scope, endpoint, and cost
POST https://app.rankability.com/api/agent/v1/optimizeSend the request
curl -X POST https://app.rankability.com/api/agent/v1/optimize \
-H "Authorization: Bearer rk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: optimize-example-seo-guide-v1" \
-d '{
"url": "https://example.com/seo-guide",
"keyword": "seo guide",
"language": "en-US"
}'Field
Required
Behavior
Retry protection is explicit
Read the response
Plan for a long synchronous request
Common failures
Status
Code
Action
Last updated
Was this helpful?