Skip to main content
POST
/
v3
/
query
/
audience_wave_counts
v3 Audience Wave Counts Query
curl --request POST \
  --url https://api.globalwebindex.com/v3/query/audience_wave_counts \
  --header 'Content-Type: application/json' \
  --data '{
  "expression": {},
  "locations": [
    "s2_1",
    "s2_44"
  ],
  "waves": [
    "q1_2019",
    "q2_2019",
    "q3_2019",
    "q4_2019"
  ]
}'
{
  "base_size": 123,
  "base_sample": 123,
  "audience_sample": 123,
  "audience_size": 123,
  "audience_percentage": 123,
  "per_wave_count": [
    {
      "code": "q2_2019",
      "name": "Q2 2019",
      "sample": 10,
      "percentage": 0.3
    }
  ]
}

Body

application/json

Returns sample for waves.

Query containing audience expression.

expression
object
required

Audience expression used to get wave counts.

locations
string[]

List of location codes to filter.

Example:
["s2_1", "s2_44"]
waves
string[]

List of wave codes to filter.

Example:
["q1_2019", "q2_2019", "q3_2019", "q4_2019"]

Response

Correct results for given expression.

base_size
integer

Final weighted universe of total audience.

base_sample
integer

Final count of responses of total audience.

audience_sample
integer

Final count of responses of the audience.

audience_size
integer

Final weighted universe of the audience.

audience_percentage
number

Ratio between audience size and base size.

per_wave_count
PerWaveResult · object[]

Collection of results for each wave.