Skip to main content
GET
/
statistics
Statistics
curl --request GET \
  --url https://api.example.com/statistics \
  --header 'X-API-Key: <api-key>'
{
  "response": [
    {
      "impressions": 123,
      "clicks": 123,
      "revenue": 123,
      "adnetwork": "exoclick",
      "user_website_id": 123,
      "stat_date": "2023-12-25",
      "api_spot_id": "<string>",
      "api_website_id": "<string>",
      "user_spot_type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.adgreg.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Query Parameters

ad_network
enum<string>
required
Available options:
exoclick,
trafficstars,
kadam,
clickadilla,
onclicka,
twinred,
trafficshop,
hilltop
website_id
integer
required
spot_type
string | null
date_from
string<date>

Default: Beginning of month. Format: YYYY-MM-DD. Max range: 30 days.

date_to
string<date>

Default: Yesterday. Format: YYYY-MM-DD.

dimensions
string | null

Available values: date, spot, spot_type, site. Example: date,spot_type

Response

Successful Response

response
AdgregStatSpot · object[]
required