Explore
Search location
Description
This endpoint retrieves results for a given location based on a search term.
Endpoint
GET api/v1/realtime/social/twitter/v1/explore//searchLocation?keyword={{keyword}}
Parameters
Param
Required
Param Type
Description
keyword
Yes
Query Param
String | The search term used to find X (Twitter) users.
Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/twitter/v1/explore/searchLocation?keyword=Coast' \
--header 'Authorization: Basic <credential string>'Example Response
{
"locations": [
{
"name": "Coast, Kenya",
"id": "125963750860636334",
"type": "Region"
},
{
"name": "Sunshine Coast, British Columbia",
"id": "7304567754697264853",
"type": "Region"
},
{
"name": "Cape Coast, Ghana",
"id": "138975256176235741",
"type": "City"
},
{
"name": "Central Coast, New South Wales",
"id": "69239314426798055",
"type": "City"
},
{
"name": "Coast Strip B, Kuwait",
"id": "101317780731024402",
"type": "City"
},
{
"name": "Coast Strip C, Kuwait",
"id": "91777439446178409",
"type": "City"
},
{
"name": "Gold Coast, Queensland",
"id": "104800698251522003",
"type": "City"
},
{
"name": "Kapiti Coast District, New Zealand",
"id": "34702116590364173",
"type": "City"
},
{
"name": "Palm Coast, FL",
"id": "7355411691576429881",
"type": "City"
},
{
"name": "Sunshine Coast, Queensland",
"id": "43779533678555116",
"type": "City"
}
]
}
Last updated