RankBits API

AI visibility scans from your own workflow

Create scans asynchronously, check plan and credit usage, and retrieve detailed AI visibility results over HTTP.

Get API access

Quick start

Samples update when you change the token or language.

POST /v1/scansCreate an async scan.
GET /v1/scans/{id}Poll status and results.
GET /v1/mePlan and credit info.

API access

API tokens are available to every registered RankBits user, including free accounts after email verification.

Authentication

Send your token in the `Authorization` header. Keep tokens server-side and revoke them from this page if they are exposed.

Authorization: Bearer rb_your_token_here

Endpoints

MethodEndpointUse
GET/v1/meReturns user, plan, monthly response budget, and purchased credits.
POST/v1/scansCreates a scan and starts it in the background. Returns immediately with IDs and links.
GET/v1/scans/{id}Retrieves status, progress, prompts, aggregate metrics, and result rows for your scan.

Create Scan

The scan endpoint accepts the same limits as the app. It checks email verification, plan engines, brand limits, cooldowns, and available response credits before starting.

url required
Brand homepage or URL to scan. Must be http/https with a real, resolvable public domain.
prompt_count optional
Requested AI-generated prompt count. Plan caps still apply.
providers optional
Array of engine keys. Omit to use every engine allowed by the user's plan.
custom_prompts optional
Array of custom prompt strings.
custom_only optional
Use only custom prompts when true.
competitors optional
Names, domains, or objects like {"name":"Rival","domain":"rival.com"}.

Scan Results

While a scan is running, results include metadata, prompts, aggregate data available so far, and progress counts. Completed scans include answer text, citations, competitor stats, prompt breakdown, share of voice, and visibility scores.

{
  "scan": {"public_id": "abc123", "status": "done"},
  "progress": {"completed_results": 70, "expected_results": 70, "complete": true},
  "aggregate": {"overall": {}, "providers": {}, "comparison": []},
  "prompts": [],
  "results": [],
  "prompt_breakdown": []
}

Provider keys

Use these values in the optional providers array. Omit the field to use every engine allowed by your plan.

ChatGPT
openai

ChatGPT answers with fast, general-purpose web-aware reasoning.

ChatGPT · Paid
openai_pro

GPT-5.5 responses for deeper reasoning and higher-quality synthesis.

Google AI Mode
google_ai_mode

Google AI Mode-style search response.

Google AI Overview
google_ai_overview

Google AI Overview-style summary.

Gemini
gemini

Gemini answers with strong Google-native reasoning and broad web context.

Google Search
google_search

Traditional Google organic results for baseline search visibility.

Bing Search
bing_search

Traditional Bing organic results for baseline search visibility.

Bing Copilot
bing_copilot

Bing Copilot AI-generated search answers with source references.

Perplexity
perplexity

Perplexity search answers with citations from current web sources.

Claude
claude

Claude answers with careful summarization and citation-aware reasoning.

Claude · Paid
claude_pro

Claude Pro responses for premium long-form analysis and strategy.

Tavily
tavily

Tavily web search for AI-friendly source discovery and citations.

Exa
exa

Exa neural search for finding semantically relevant web sources.

Gemini · Paid
gemini_pro

Gemini Pro responses for richer analysis on complex prompts.

Errors and ownership

401Missing or invalid token.
403Email verification or plan restriction.
404Scan does not exist or belongs to another user.
400Invalid JSON, missing URL, or invalid engine selection.