Skip to main content
GET
/
sites
Get Sites
curl --request GET \
  --url https://api.example.com/sites \
  --header 'X-API-Key: <api-key>'
{
  "page": 123,
  "sites": 123,
  "page_size": 123,
  "page_count": 123,
  "response": [
    {
      "id": "<string>",
      "name": "<string>",
      "url": "<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.

Returns the list of websites registered in a given adnetwork under your adnetwork account credentials. This data is fetched live from the adnetwork — it reflects exactly what is configured there, not any Adgreg-side configuration.
Use this endpoint to discover which site IDs exist in an adnetwork before referencing them in Get spots.

Authorizations

X-API-Key
string
header
required

Query Parameters

ad_network
enum<string>
required
Available options:
exoclick,
trafficstars,
kadam,
clickadilla,
onclicka,
twinred,
trafficshop,
hilltop
page
integer
default:1
Required range: x >= 1
page_size
integer
default:100
Required range: 10 <= x <= 500

Response

Successful Response

page
integer
required
sites
integer
required
page_size
integer
required
page_count
integer
required
response
AdgregSite · object[]
required