Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Billing is in credits. Each endpoint has a per-request charge, a per-record charge, or both; only 2xx responses are billed. Each endpoint note gives the cost.
- The docs also accept the key as an apikey query parameter; the backlinks pages show it that way, but the getting-started guide recommends the Authorization header for every endpoint.
- Regional keyword databases are chosen by the source country code (us, uk, de …).
Endpoints
Get subscription and balance
- Costs 0 credits.
Domain overview in one database
- Costs 100 credits per request.
Domain traffic history
- Costs 100 credits per request.
Domain ranking keywords
- Costs 100 credits per request.
- Historical responses (year and month sent) use a different schema from current ones. A date older than the retention window returns an empty array.
Domain competitors
- Costs 100 credits per request.
Related keywords
- Costs 10 credits per keyword returned.
Keyword metrics for a list
- A read over POST: nothing is changed; source goes in the query string and the rest in the JSON body.
- Costs 100 credits per request. history_trend covers the latest 12 months unless you set a window.
Backlink summary
- Costs 100 credits per target. The docs say GET and POST both work and batch up to 100 targets; this entry covers the single-target GET.
Backlinks
- Costs 1 credit per backlink returned.
- inlink_rank here can lag the live value by up to a month.
Referring domains
- Costs 1 credit per referring domain returned.
Backlink anchors
- Costs 1 credit per anchor text returned.