Reverse Geocoding API

The Reverse Geocoding API translates a given geographical coordinate into a comprehensive, human-readable street address, element, or a geographical location. This feature is most frequently required in tracking applications where a GPS feed from a device or asset necessitates the identification of its corresponding address or for identifying the addresses of pickup/delivery locations in logistics, ride-hailing or people mobility applications.

Use the following endpoint to invoke a reverse geocode response:

GET

https://api.nextbillion.io/orbis/revgeocode?key={your_api_key}&at={lat,lng}

Request Parameters

Loading..

Response Body

Loading..

Sample Request

The following query geocodes an address in Massachusetts, Boston.

1
curl --location 'https://api.nextbillion.io/orbis/revgeocode?key=<your_api_key>&at=36.164760,-115.147690'

Sample Response

1
{
2
"items": [...]
3
}

API Query Limits

  • NextBillion.ai allows a maximum rate limit of 2400 queries per minute or 40 queries/second for continuous requests.

API Error Codes

Response CodeDescriptionAdditional Notes
200

Normal success case.

Normal success case.

400

Input validation failed.

There is a missing or an invalid parameter or a parameter with an invalid value type is added to the request.

401

APIKEY not supplied or invalid.

This error occurs when the wrong API key is passed in the request or the key is missing altogether.

403

APIKEY is valid but does not have access to requested resources.

You might be querying for a geographical region which is not valid for your account or requesting a service which is not enabled for you.

404

Requested host/path not found.

This error occurs when a malformed hostname is used.

422

Could not process the request.

The request could not be completed for the given set of locations or parameter configuration.

429

Too many requests.

QPM reached or API request count quota reached.

500

Internal Service error.

There was an internal issue with NextBillion.ai services. You can reach out to support@nextbillion.ai for an explanation.