Instagram Location Search
Search Instagram places by name — location id, name, address, city and coordinates — as JSON. 2 credits.
POST/api/v1/instagram/search/locations
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonkeywordstringrequiredPlace name.
Example: eiffel tower
Notes
Credits. Typically 2 credits. A request can cost up to 10 credits when it needs extra work to answer; credits_used in the response is always the exact charge.
Fields. Places are in data.items, each with id, name, address, city, latitude and longitude.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.instagram.search_locations(keyword="eiffel tower")
print(results)Response
},
"response_time": 3191,
"credits_used": 2,
"credits_remaining": 4727
}