# Ahrefs Site Explorer Metrics API

> Get a target's organic and paid keywords, traffic, and cost estimates.

Source: https://www.sandbase.ai/apis/ahrefs/site-explorer-metrics
API reference: https://www.sandbase.ai/apis/ahrefs/site-explorer-metrics#api

## Facts

- Provider: Ahrefs
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/ahrefs/site-explorer-metrics`
- Price: From $0.02838 per call
- Capabilities: api, ahrefs, seo
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/ahrefs/site-explorer-metrics` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `date` | string | yes |  |
| `target` | string | yes |  |
| `scope` | string | no | exact, prefix, domain, subdomains |
| `country` | string | no |  |
| `protocol` | string | no | both, http, https |

## FAQ

### How do I use the Ahrefs Site Explorer Metrics API?

Send a POST request to https://api.sandbase.ai/v1/api/ahrefs/site-explorer-metrics with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Ahrefs Site Explorer Metrics API cost?

From $0.02838 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Ahrefs Site Explorer Metrics API accept?

Required: date (string) and target (string). Optional: scope (one of exact, prefix, domain, subdomains), country (string) and protocol (one of both, http, https). The Parameters table and the Playground on this page list every field.

### What does the Ahrefs Site Explorer Metrics API return?

A JSON result. This endpoint runs asynchronously, so the response tells you how to fetch the finished result.

### Do I need a Ahrefs developer account or API key?

No. Ahrefs Site Explorer Metrics runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Ahrefs API access separately.

## README

### Ahrefs Site Explorer Metrics

Get a target's organic and paid keywords, traffic, and cost estimates.

#### Pricing

- Inspect reference unit price: $0.02838 USD per result.
- Final settlement uses the provider-reported actual cost after strict validation; the reference price is not used to infer the final charge.
