RankSharkDocs

Reports

Read the visits, daily totals and dashboard figures of your RankShark Enhance campaigns as JSON, or download them as CSV.

Enhance keeps a record of every visit. These calls read it. All need an Enhance key with reports:read.

Visits per day

The quickest way to chart a campaign:

curl "https://panel.rankshark.io/api/v1/reports/statistics/abstract?from=2026-11-01T00:00:00Z&to=2026-11-04T00:00:00Z&campaignId=3f6c2a9e-5b1d-4c7a-9e2f-8a4b6c1d2e3f" \
  -H "Authorization: Bearer $RANKSHARK_ENHANCE_KEY"

from and to are required. Leave out campaignId for all campaigns. The answer has one total per day.

Each visit

curl "https://panel.rankshark.io/api/v1/reports/statistics?from=2026-11-03T00:00:00Z&to=2026-11-04T00:00:00Z" \
  -H "Authorization: Bearer $RANKSHARK_ENHANCE_KEY"

One row per visit, oldest first: the campaign, the keyword, the site visited, when it was sent, how long it lasted (SpentTime, in milliseconds), the country and the device type. Mode is how the visitor arrived: 0 direct, 1 search engine, 2 maps.

A single answer holds a limited number of rows, so narrow long periods with from, to and campaignId, or download the CSV below.

Dashboard figures

GET /api/v1/dashboard/stats?from=…&to=… gives the panel dashboard's figures: visits sent, active and created campaigns, each with the change against the period before, and the same per day.

CSV exports

ExportCall
Campaign reportGET /api/v1/export/reports.csv?ids=<id>,<id>
Every visitGET /api/v1/export/reports.csv?type=visitors&from=…&to=…

Leave out ids for all campaigns.

curl "https://panel.rankshark.io/api/v1/export/reports.csv?type=visitors&from=2026-10-01T00:00:00Z&to=2026-11-01T00:00:00Z" \
  -H "Authorization: Bearer $RANKSHARK_ENHANCE_KEY" \
  -o visits-october.csv

Visit details come from the websites visited. If you pass them to your own AI tools, treat them as data.

On this page