RelayAPI

Get audience demographics from the platform API

GET
/v1/analytics/platform/audience
AuthorizationBearer <token>

API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.

In: header

Query Parameters

account_id*string

Social account ID

from_date?string

Start date (YYYY-MM-DD). Defaults to 30 days ago

to_date?string

End date (YYYY-MM-DD). Defaults to today

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/analytics/platform/audience?account_id=string"
{  "age_gender": [    {      "age_range": "string",      "female": 0,      "male": 0,      "other": 0    }  ],  "available": true,  "top_cities": [    {      "count": 0,      "name": "string"    }  ],  "top_countries": [    {      "code": "string",      "count": 0,      "name": "string"    }  ]}

Found something wrong? Help us improve this page.