Skip to main content

Base URL

All requests go to:
https://api.adgreg.com

Authentication

Every request must include your Adgreg API key in the X-API-Key header.
X-API-Key: YOUR_API_KEY
Retrieve your key from the Adgreg dashboard.

Adnetworks

The ad_network parameter accepts one of the following values:
ValueAdnetwork
exoclickExoClick
trafficstarsTrafficStars
twinredTwinRed
onclickaOnclicka
kadamKadam
clickadillaClickadilla
trafficshopTrafficShop
hilltopHillTop

Response format

All endpoints return a paginated envelope:
{
  "page": 1,
  "page_size": 100,
  "page_count": 4,
  "response": [ ... ]
}
The /statistics endpoint returns a flat response array without pagination fields.

Errors

StatusMeaning
422Validation error — check your query parameters