cURL
curl --request POST \ --url https://api.globalwebindex.com/v2/locations/filter \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "include": { "regions": true }, "namespaces": [ { "code": "<string>" } ], "waves": [ { "code": "<string>" } ] } '
{ "locations": [ { "accessible": true, "code": "<string>", "id": "<string>", "iso_code": "<string>", "name": "<string>", "namespaces": [ { "code": "<string>", "wave_codes": [ "<string>" ] } ], "region": { "area": "<string>", "code": "<string>", "id": "<string>", "name": "<string>" } } ] }
Retrieve accessible locations that satisfy filter criteria.
request for filter
Show child attributes
Include regions in the response.
Namespace codes to filter locations by.
Code of the namespace filter (core, gwi-ext, ...).
Wave codes to filter locations by.
Code of the wave filter (q1_2020, q2_2020, ...).
details about locations
List of locations found using the filter criteria.
Is location accessible by the user? (true).
Location code ("s2_420").
Location ID.
Location ISO code (cze).
Location name (Czech Republic).
Location's namespaces and waves where available/permitted.
Namespace code (core).
Wave codes ([q1_2020, q2_2020]).
Area name (euro).
Region code (s6_2).
Region ID.
Region name (Europe).
Was this page helpful?