Ahrefs Site Explorer Metrics

API docs
https://api.sandbase.ai/v1/api/ahrefs/site-explorer-metrics

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

Price
From $0.02838USD / call
Method
POST
Response
Async JSON
Parameters
2 required · 3 optional

Playground

Input
Report date in YYYY-MM-DD format. Use today's date for current values.
The target of the report: a domain ('example.com') or a URL ('https://example.com/page').
Scope of the target: exact (this URL only), prefix (URLs starting with the target), domain (the domain without subdomains), or subdomains (default — the domain and all its subdomains).
Two-letter country code (ISO 3166-1 alpha-2), e.g. 'us'.
Protocol of the target: both (default), http, or https.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

API 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.

Explore more

Related APIs

All APIs
APIPriceResponse
AhrefsFrom $0.02838 per callAsync JSON
Ahrefs—Async JSON
Ahrefs$0.08 per callJSON
AhrefsFrom $0.01419 per callAsync JSON
AhrefsFrom $0.02709 per callAsync JSON
AhrefsFrom $0.01419 per callAsync JSON

Questions

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.