Public API
No key. The AI Score, and a question about pages that are already published. Full spec at /openapi.json.
GET/api/v1/score-ia?url={domain}
Read the latest AI Score for a domain
Returns the last saved analysis. It does not start a new one: if none exists, the response has status "running" and scoreIa null.
Limit: 60 requests every 10 minutes per IP.
curl "https://www.ranksfactor.com/api/v1/score-ia?url=example.com"
POST/api/v1/score-ia
Analyze a domain and return its score
JSON body {"url": "example.com"}. If there is no recent analysis, one starts and the API waits up to about 50 seconds. If it is still running, status is "running": poll again with GET. Idempotency-Key is optional: the same key and site do not start another scan.
Limit: 4 scans every 10 minutes per IP.
curl -X POST "https://www.ranksfactor.com/api/v1/score-ia" -H "Content-Type: application/json" -H "Idempotency-Key: scan-1" -d '{"url":"example.com"}'
GET/ask?query={question}
Ask the published pages
NLWeb. Returns the pages, articles, plans, and questions already published that match the question. Each result includes its URL and structured record. It does not invent prices or facts. mode=list returns the list. summarize and generate add a summary copied from those pages, with no model. streaming=true returns events. The same question works at /mcp.
Limit: 60 questions every 10 minutes per IP.
curl "https://www.ranksfactor.com/ask?query=pricing"
- No API key or account. Public domains only (no private IPs or localhost).
- Response: { status: "completed" | "running" | "failed", url, scoreIa }. scoreIa includes the 0–100 score, layers, and each check with a recommendation.
- Errors as JSON: { error } with 400 (invalid domain), 429 (rate limit, with Retry-After), or 5xx. Unknown /api routes return 404 JSON with a link to this page.
- Every response includes RateLimit-Limit, RateLimit-Remaining, and RateLimit-Reset, including when the site is missing or the request is invalid.
- Idempotency-Key on POST, optional: same key and site return the same response for 10 minutes and do not start another scan. The same key with a different site returns 409.
- The same score and public guides are on the MCP gateway, no key: card at /.well-known/mcp/server-card.json and entry in /.well-known/ai-catalog.json.
- Stable version: /api/v1/score-ia. /api/score-ia still works the same way.
- Response text is in Spanish today.