Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Every report is a GET with a type parameter naming the report; each endpoint here fixes it, and you must still send it (the enum has one value).
- Reports answer CSV (semicolon-separated, header row), not JSON. Use export_columns to choose columns.
- Billing is in API units per returned line, so always set display_limit; the default is up to 10,000 lines.
- Backlink reports live under /analytics/v1/ instead of the root path; the unit balance check is on a separate http host and is not included.
Endpoints
Domain overview across databases
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Costs 10 API units per line returned (50 per line for historical data). Without database, expect about 140 lines.
Domain overview in one database
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Costs 10 API units per line (50 for historical data); a normal call returns one line.
Domain organic search keywords
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Costs 10 API units per line (50 per line for historical data). A default call returns up to 10,000 lines, so set display_limit.
Domain paid search keywords
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Costs 20 API units per line (100 per line for historical data).
Domain organic competitors
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Costs 40 API units per line (200 per line for historical data).
Keyword overview across databases
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Costs 10 API units per line.
Keyword overview in one database
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Costs 10 API units per line (50 for historical data).
Related keywords
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Costs 40 API units per line.
Organic results for a keyword
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Costs 10 API units per line (50 for historical data).
Keyword difficulty
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Costs 50 API units per line.
Backlinks overview
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Backlink reports use the /analytics/v1/ path. Costs 40 API units per request.
Backlinks
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Backlink reports use the /analytics/v1/ path. Costs 40 API units per line.
Referring domains
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Backlink reports use the /analytics/v1/ path. Costs 40 API units per line.
Backlink anchors
- Answers CSV text, semicolon-separated with a header row, not JSON; export_columns picks the columns.
- Backlink reports use the /analytics/v1/ path. Costs 40 API units per line.