Domain Statistics API

Query weekly domain statistics from Google Ads transparency data.

Endpoint

GET /api/v1/ads-statistics?action=domainStatistics&hostId=53293&startDay=2026-03-01&endDay=2026-03-31

Parameters

ParameterTypeRequiredDescription
actionstringYesFixed value: domainStatistics
hostIdnumberYesPlain host ID
startDaystringYesDate in YYYY-MM-DD
endDaystringYesDate in YYYY-MM-DD

Example

GET /api/v1/ads-statistics?action=domainStatistics&hostId=53293&startDay=2026-03-01&endDay=2026-03-31
Authorization: Bearer YOUR_API_KEY

Response Example

{
  "code": "ok",
  "message": "ok",
  "data": {
    "endpoint": "ads-statistics",
    "action": "domainStatistics",
    "costCredits": 3,
    "remainingCredits": 97,
    "query": {
      "action": "domainStatistics",
      "hostId": "53293",
      "startDay": "2026-03-01",
      "endDay": "2026-03-31"
    },
    "result": {
      "adsHostDomain": {
        "domain": "z.ai",
        "host": "www.z.ai",
        "id": 53293
      },
      "advertiserWeekStatistics": [
        {
          "adCount": 23,
          "advertiser": {
            "advertiser": "Sinointeractive Digital Marketing Co., Ltd.",
            "country": "HK",
            "countryName": "Hong Kong",
            "id": 5315
          },
          "month": 202603,
          "week": 1
        }
      ],
      "weekAdvertiserStatistics": [
        {
          "month": 202603,
          "week": 1,
          "adsHostAdvertiserWeeklyList": [
            {
              "adCount": 23,
              "advertiserId": 5315,
              "hostId": 53293,
              "countries": [
                {
                  "adCount": 5,
                  "country": "US",
                  "countryName": "United States"
                }
              ]
            }
          ]
        }
      ]
    }
  }
}

Response Fields

FieldDescription
data.endpointFixed value: ads-statistics
data.actionFixed value: domainStatistics
data.costCreditsCredits consumed by this request
data.remainingCreditsRemaining credits after deduction
data.query.actionNormalized action name
data.query.hostIdPlain host ID
data.query.startDayNormalized start date
data.query.endDayNormalized end date
data.result.adsHostDomainDomain profile object
data.result.advertiserWeekStatisticsAdvertiser-level weekly statistics
data.result.advertiserWeekStatistics[].advertiserAdvertiser profile for that row
data.result.advertiserWeekStatistics[].adCountAd count for that advertiser/week
data.result.weekAdvertiserStatisticsWeek-grouped detailed rows
data.result.weekAdvertiserStatistics[].adsHostAdvertiserWeeklyListDetailed weekly records