Skip to main content
GET
/
spots
Get Spots
curl --request GET \
  --url https://api.example.com/spots \
  --header 'X-API-Key: <api-key>'
{
  "page": 123,
  "spots": 123,
  "page_size": 123,
  "page_count": 123,
  "response": [
    {
      "id": "<string>",
      "site_id": "<string>",
      "name": "<string>",
      "site_name": "<string>",
      "adformat": "<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 zones (ad placement units) registered in a given adnetwork under your adnetwork account credentials. Like Get sites, this data is fetched live from the adnetwork and reflects its current state.
You can narrow results to a specific website by passing the site_id you received from Get sites.

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 <= 100
site_id

ID of the website from Adnetwork.

Response

Successful Response

page
integer
required
spots
integer
required
page_size
integer
required
page_count
integer
required
response
AdgregSpot · object[]
required