# Ahrefs Site Explorer Refdomains History API

> Track a target's referring-domain count over time.

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

## Facts

- Provider: Ahrefs
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/ahrefs/site-explorer-refdomains-history`
- Price: From $0.00387 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-refdomains-history` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `target` | string | yes |  |
| `date_from` | string | yes |  |
| `scope` | string | no | exact, prefix, domain, subdomains |
| `date_to` | string | no |  |
| `protocol` | string | no | both, http, https |
| `history_grouping` | string | no | daily, weekly, monthly |

## FAQ

### How do I use the Ahrefs Site Explorer Refdomains History API?

Send a POST request to https://api.sandbase.ai/v1/api/ahrefs/site-explorer-refdomains-history 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 Refdomains History API cost?

From $0.00387 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 Refdomains History API accept?

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

### What does the Ahrefs Site Explorer Refdomains History 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 Refdomains History 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 Refdomains History

Track a target's referring-domain count over time.

#### Pricing

- Inspect reference unit price: $0.00387 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.
