# SimilarWeb Digital Rank API — how to use (mcp.ai)

Connect your SimilarWeb Digital Rank API account and use 3 tools for analytics straight from your AI agent. Connect with your own API key. Provides free access to global website ranking data for benchmarking and competitive analysis.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_similarweb_digitalrank_api?ms=1787291400000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `similarweb_digitalrank_api_get_rank_tracker_describe`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/similarweb_digitalrank_api`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/similarweb_digitalrank_api/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/similarweb_digitalrank_api/get/rank/tracker/describe` — Tool to retrieve campaign metadata for rank tracking. Returns Campaign IDs and Scraping Configurations needed to query other Rank Tracker APIs.
- `POST https://api.mcp.ai/api/similarweb_digitalrank_api/get/similar/rank/top/sites` — Tool to retrieve a list of top-ranking websites globally or filtered by country and category. Use when you need to discover popular websites based on SimilarWeb's traffic data.
  - body: { limit?: integer, country?: string, category?: string }
- `POST https://api.mcp.ai/api/similarweb_digitalrank_api/get/subscription/status` — Tool to check the remaining subscription usage for the user.

## Example prompts
- "What can I do in SimilarWeb Digital Rank API?"
- "Show me a summary of my SimilarWeb Digital Rank API account"

## More
- Page: https://mcp.ai/similarweb_digitalrank_api
- Agent spec (llms.txt): https://mcp.ai/similarweb_digitalrank_api/llms.txt
- Postman collection: https://mcp.ai/similarweb_digitalrank_api/postman.json
