Predictions
Query parameters
-
q
string Required
GET
/location/search
curl \
--request GET 'https://sandbox.serchservice.com/api/v1/location/search?q=string' \
--header "X-Serch-Signed: $API_KEY" \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-Serch-Drive-Api-Key: $API_KEY" \
--header "X-Serch-Drive-Secret-Key: $API_KEY" \
--header "X-Serch-Guest-Api-Key: $API_KEY" \
--header "X-Serch-Guest-Secret-Key: $API_KEY"
Response examples (200)
{
"status": "100 CONTINUE",
"code": 42,
"message": "string",
"data": [
{
"id": "string",
"place": "string",
"country": "string",
"state": "string",
"city": "string",
"latitude": 42.0,
"longitude": 42.0,
"local_government_area": "string",
"street_number": "string",
"street_name": "string"
}
]
}