Skip to main content

Countries

Returns the countries found by the search, if any.

Getting Started

URL REQUEST (GET)
https://api.statsocial.com/platform/v0/location/countries

The query to search

https://api.statsocial.com/platform/v0/location/countries?query=xxx
note

Let's use the data in this section when creating audiences

Let's go to examples

Query

You can search for any country, in this example we will search for United States

https://api.statsocial.com/platform/v0/location/countries?query=united%20states

We will receive a json like this

{
"response": {
"data": [
{
"id": "231",
"name": "United States",
"kind": "country"
},
{
"id": "230",
"name": "United States Minor Outlying Islands",
"kind": "country"
}
]
},
"information": {
"version": "0.0.1"
}
}