Skip to main content
POST
/
placematch
curl --request POST \
--url https://api.reprompt.io/v2/placematch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"place": {
"name": "central park nyc"
},
"match_sources": [
"reprompt"
],
"max_matches": 3
}'
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-122.4195,
37.775
]
},
"properties": {
"name": "Blue Bottle Coffee",
"address": "315 Linden St, San Francisco, CA 94102",
"category": "coffee_shop",
"phone": "+14158964500",
"source": "byod",
"is_match": true,
"confidence": "VERY_HIGH",
"reasoning": "High confidence match: very close location (12m away) with precise GPS coordinates"
}
}
],
"metadata": {
"total_results": 1,
"sources_searched": [
"byod"
],
"search_radius_meters": 100
}
}

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

Request model for placematch endpoint.

place
object
required

Place to match (name-only, coordinates-only, or name+address+coordinates for most precise matching)

match_sources
enum<string>[] | null

Sources to search for matches. Defaults to reprompt if not specified.

match_byod_candidates
PlaceInput · object[] | null

Your own data candidates for matching (max 50)

max_matches
integer | null
default:3

Maximum matches per source

Required range: 1 <= x <= 10
radius
number | null
default:900

Search radius in meters

Required range: 50 <= x <= 5000

Response

Successfully matched places

Response model for placematch endpoint.

features
PlacematchFeature · object[]
required

Array of matched place features

metadata
object
required

Operation metadata

type
string
default:FeatureCollection
Allowed value: "FeatureCollection"
I