# Ahrefs Site Explorer All Backlinks API

> List a target's backlinks with anchors, source ratings, and link attributes.

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

## Facts

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `target` | string | yes |  |
| `limit` | integer | no |  |
| `scope` | string | no | exact, prefix, domain, subdomains |
| `where` | string | no |  |
| `order_by` | string | no |  |
| `protocol` | string | no | both, http, https |

## FAQ

### How do I use the Ahrefs Site Explorer All Backlinks API?

Send a POST request to https://api.sandbase.ai/v1/api/ahrefs/site-explorer-all-backlinks 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 All Backlinks API cost?

From $0.00645 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 All Backlinks API accept?

Required: target (string). Optional: limit (integer), scope (one of exact, prefix, domain, subdomains), where (string), order_by (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 All Backlinks 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 All Backlinks 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 All Backlinks

List a target's backlinks with anchors, source ratings, and link attributes.

#### Pricing

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