# Website intelligence. Ready for your code.

> Access Similarweb website traffic, rankings and referral data through SandBase. Explore request examples, inspect endpoint pricing and get your API key. Bring Similarweb traffic, rankings and referral data into your product with one SandBase API key.

Source: https://www.sandbase.ai/integrations/similarweb

## From a domain to a better decision.

Choose the question you want to answer. Open the matching API to inspect its inputs and current price.

### Traffic snapshot: Size up a website

Add a monthly traffic overview to a prospect record or a competitor research brief.

- Endpoint page: https://www.sandbase.ai/apis/similarweb/website-traffic-snapshot.md
- Example input: `{"domain":"cnn.com","country":"ww","month":"2026-09"}`
- Returns: Estimated visits, Pages per visit, Bounce rate
- Note: Monthly, worldwide estimates. Data for a specific domain or month may be unavailable; missing does not mean zero.

### Traffic trends: Follow changes over time

Request monthly metrics for a defined period and compare domains on the same basis.

- Endpoint page: https://www.sandbase.ai/apis/similarweb/traffic-engagement.md
- Example input: `{"domain":"cnn.com","start_date":"2026-07","end_date":"2026-09","metrics":"visits","country":"ww"}`
- Returns: Monthly metrics, Defined date range, Traffic estimates
- Note: The selected metrics and inclusive month count affect the price. Inspect the formula before requesting a range.

### Referrals: Discover referring sites

Find sites sending referral traffic to a domain for partnership and acquisition research.

- Endpoint page: https://www.sandbase.ai/apis/similarweb/referrals.md
- Example input: `{"domain":"cnn.com","start_date":"2026-09","end_date":"2026-09","limit":5}`
- Returns: Referring domains, Referral visits, Traffic share
- Note: Use a defined month range and limit. These estimates are not the destination website’s first-party analytics.

### Rankings: Put a domain in context

Use website traffic rankings to support market mapping and competitor comparisons.

- Endpoint page: https://www.sandbase.ai/apis/similarweb/ranking.md
- Example input: `{"domain":"cnn.com","start_date":"2026-09","end_date":"2026-09","country":"ww"}`
- Returns: Website rankings, Monthly history, Domain context
- Note: Use the same period when comparing domains. This endpoint accepts worldwide scope, not arbitrary country filters.

## Data access that fits your workflow.

Use SandBase for programmatic access to listed Similarweb data endpoints. Know what your request includes.

| If you need | SandBase |
| --- | --- |
| Access and billing | Authenticate with a SandBase API key and pay from your SandBase balance. You do not need to supply a separate Similarweb API key for these endpoints. |
| Data scope | The examples above use monthly, worldwide data. Availability, fields and date ranges depend on the endpoint and domain. |
| Usage costs | Prices are listed per endpoint. A snapshot and a multi-month, multi-metric request can have different billing rules. Check the full request estimate. |
| Product coverage | These are data APIs. They do not include a Similarweb dashboard subscription or every feature of the Similarweb platform. |

## How it works

1. **Choose your question** Start with one domain and a traffic snapshot, or select a date range for a trend.
2. **Inspect and run** Check the schema and current price, then use your SandBase key or the endpoint Playground.
3. **Use the data** Read the completed response and bring its estimates into your reports, applications or agents.

## FAQ

### Do I need a Similarweb API key?

For the endpoints listed on SandBase, use your SandBase API key as a Bearer token. Usage is billed through SandBase. This does not give you access to the separate Similarweb dashboard or a Similarweb account.

### Is this real-time or first-party website traffic?

No. Traffic endpoints provide estimates for supported periods. The examples on this page use monthly worldwide data, not live analytics or access to a website’s own analytics account.

### How do I check the price?

Open an endpoint to see its current price and billing formula. The traffic snapshot and traffic series have different billing rules; metric count and month count can affect the cost. Review the estimate before running.

### Will every domain have data?

No. Coverage depends on the domain, period and metric. Treat unavailable estimates as unknown rather than zero. Begin with one request and inspect the returned fields before building a larger workflow.

## Turn your next domain into an API request.

Start with a traffic snapshot, then add rankings and referral research as you need them.

*SandBase is an independent service. Similarweb is a trademark of its respective owner. This page describes access through SandBase and does not imply endorsement.*

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
