OppiziDeveloper
API ReferenceTargeting

Turn an address into coordinates

GET
/client/geocode

Resolves a street address to a latitude and longitude, so route targeting starts from a real point rather than a guess.

confidence tells you how exact the match is — high is a rooftop match, low means the result is approximate (often just the town). Check confidence and partialMatch before you spend money on routes around the result.

Authorization

ClientBearer
AuthorizationBearer <token>

Client-scoped key as a Bearer JWT; always pinned to your own client.

In: header

Query Parameters

address*string

Full address, e.g. "426 Union Ave, Brooklyn, NY 11211".

Response Body

application/json

curl -X GET "https://example.com/client/geocode?address=string"
{  "success": true,  "data": {    "lat": 40.7127,    "lng": -73.9518,    "formattedAddress": "426 Union Ave, Brooklyn, NY 11211, USA",    "locationType": "ROOFTOP",    "confidence": "high",    "partialMatch": false  }}
Empty
Empty
Empty
Empty
Empty