Get Place Hierarchies
Get the list of hierarchies for a Place.
Enter your PredictHQ API key. The Bearer prefix is added automatically.
When calling the API directly, send: Authorization: Bearer <YOUR_API_KEY> as documented at https://docs.predicthq.com/api/overview/authenticating
A comma-separated list of place_id in the form {place_id1},{place_id2},....
Please note that you must specify either location.origin or location.place_id in your request.
E.g. ?location.place_id=5809844,6252001
An ISO 3166-1 alpha-2 country code.
E.g. ?country=US
A place level.
Defaults to locality.
E.g. ?level=county
A coordinate in the form {latitude},{longitude}.
Please note that you must specify either location.origin or location.place_id in your request.
E.g. ?location.origin=47.615337,-122.203981
Successful Response
Validation Error
Examples
OpenAPI Spec
Guides
Last updated
Was this helpful?