Get Suggested Radius
Take the guesswork out of working out a suitable radius around your business when searching for events.
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
The unit of the radius returned. This will be the unit specified in the radius_unit parameter in the call made.
mPossible values: The industry of interest for which the radius will be calculated. For different industries, the radii will be different based on the various types of events that would impact the location. For example, if you were getting the suggested radius around a hotel you’d specify accommodation as the industry.
E.g. ?industry=accommodation
otherPossible values: A comma-separated string consisting of the latitude and longitude of the location to find the optimal radius for. For example your store or hotel location.
The format is <latitude>,<longitude>
E.g. ?location.origin=37.747767,-122.455320
^-?\d{1,3}(?:\.\d+)?,\-?\d{1,3}(?:\.\d+)?$Successful Response
Validation Error
Examples
OpenAPI Spec
Guides
Last updated
Was this helpful?