Skip to main content
POST
/
find-places
curl --request POST \
--url https://api.reprompt.io/v2/find-places \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"location_filter": {
"latitude": 37.7749,
"longitude": -122.4194,
"radius": 1000
},
"names": [
"Starbucks"
],
"categories": [
"cafe"
]
}'
{
"results": [
{
"place_id": "plc_123",
"name": "Blue Bottle Coffee",
"full_address": "315 Linden St, San Francisco, CA 94102",
"latitude": 37.775,
"longitude": -122.4195,
"category_primary": "coffee_shop",
"category_alternates": [
"cafe"
],
"phone_number": "+14158964500",
"website": "https://bluebottlecoffee.com",
"open_status": "Open",
"distance_m": 85.2
}
],
"metadata": {
"version": "v0.1.0"
}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

apiKey
string | null

Body

application/json
location_filter
object
required

Location filter (one of: lat/lon/radius, geometry, region, postal_code, locality)

names

Place name(s) to search for

Examples:
["Starbucks", "Peet's Coffee"]

"Coffee Shop"

categories

Category/categories to filter by

Examples:
["cafe", "restaurant"]

"cafe"

source
enum<string>

Data source to search: reprompt (default), overture, or foursquare

Available options:
reprompt,
overture,
foursquare,
byod

Response

Successfully found places

Response model for find_places endpoint.

results
FindPlaceItem · object[]
required

Array of found places

metadata
object

Metadata about the find places operation

I