quantaroute-geocoder
v1.2.0Geocode addresses, lookup administrative boundaries, and process DigiPin codes for India
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
geocode
Geocode an address to DigiPin and coordinates. Pass latitude+longitude together to bias local results and enable category nearby queries such as "hospital near me". Without a point, those queries return NEARBY_LOCATION_REQUIRED.
| Parameter | Type | Description |
|---|---|---|
address * | string | The address to geocode (required) |
city | string | City name (optional) |
country | string | Country name (optional, defaults to India) |
latitude | number | User or map-centre latitude. Must be sent with longitude. Enables location bias and category nearby. |
longitude | number | User or map-centre longitude. Must be sent with latitude. |
pincode | string | Postal code (optional) |
state | string | State name (optional) |
reverse_geocode
Reverse geocode a DigiPin code to get coordinates and address information.
| Parameter | Type | Description |
|---|---|---|
digipin * | string | The DigiPin code to reverse geocode (format: XXX-XXX-XXXX) |
coordinates_to_digipin
Convert latitude and longitude coordinates to a DigiPin code.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude coordinate (-90 to 90) |
longitude * | number | Longitude coordinate (-180 to 180) |
validate_digipin
Validate a DigiPin format and check if it corresponds to a real location.
| Parameter | Type | Description |
|---|---|---|
digipin * | string | The DigiPin code to validate |
batch_geocode
Geocode multiple addresses in a single batch request (up to 100 addresses).
| Parameter | Type | Description |
|---|---|---|
addresses * | array | Array of address objects to geocode |
autocomplete
Address autocomplete (minimum 3 characters). Pass latitude+longitude to bias results and support "near me" / "nearby" category queries (hospital, school, park).
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (minimum 3 characters). Supports near-me keywords when latitude and longitude are set. |
latitude | number | User latitude. Must be sent with longitude. |
limit | number | Maximum number of suggestions (default: 5, max: 10) |
longitude | number | User longitude. Must be sent with latitude. |
lookup_location_from_coordinates
🚀 REVOLUTIONARY: Get administrative boundaries (pincode, state, division, locality) from coordinates. Provides precision that even government services don't offer.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude coordinate (-90 to 90) |
longitude * | number | Longitude coordinate (-180 to 180) |
lookup_location_from_digipin
🚀 REVOLUTIONARY: Get administrative boundaries from a DigiPin code.
| Parameter | Type | Description |
|---|---|---|
digipin * | string | DigiPin code (format: XXX-XXX-XXXX) |
batch_location_lookup
🚀 REVOLUTIONARY: Batch lookup for multiple locations. Each location can be specified by coordinates or DigiPin (up to 100 locations).
| Parameter | Type | Description |
|---|---|---|
locations * | array | Array of location objects (each with latitude+longitude OR digipin) |
find_nearby_boundaries
Postal-boundary nearby search is not on Location Lookup. For category nearby (hospital near me, schools nearby, parks near me) use geocode or autocomplete with latitude and longitude.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Center latitude |
longitude * | number | Center longitude |
limit | number | Maximum number of results (default: 10, max: 50) |
radius_km | number | Search radius in kilometers (default: 5.0, max: 100) |
get_usage
Get API usage statistics and quota information.
get_location_statistics
Get live statistics about the Location Lookup service (total boundaries, states, divisions, etc.).
get_health
Check API health status and availability.