The Address Standardization service takes a nonformatted address and breaks the address into identifiable components like country, state, city, locality, and sub locality along with additional information like street, landmark, floor, etc. It also identifies/corrects the address pin code.
Note: To get an API key, you can send a request to us at insights@delhivery.com.
{
"data": {
"address": "Plot 5, Sector 44, Gurgaon",
"pincode": "122003",
"city": "Gurgaon",
"state": "Haryana"
}
}
success
status_code
message
request_id
result: Contains the identifiable address components like country, state, city, locality, and sub locality along with additional information like street, landmark, floor, etc. It also has the identified/corrected pin code.
pincode
country
state
city
locality
sub_locality
entity_information
Description: Additional information related to the provided address, like floor, street, plot number, wing number, room number, block, phase, etc. This will be in the form of key-value pairs with the available information.
Possible information: |
{
"pocket": "string",
"villa": "string",
"mile": "string",
"floor": "string",
"plot": "string",
"room": "string",
"house": "string",
"quarter": "string",
"door": "string",
"sco": "string",
"shop": "string",
"sector": "string",
"flat": "string",
"cross road": "string",
"main road": "string",
"feet road": "string",
"ps road": "string",
"cross": "string",
"main": "string",
"cross street": "string",
"main street": "string",
"gali": "string",
"hostel": "string",
"tower": "string",
"block": "string",
"phase": "string",
"street": "string",
"road": "string",
"stage": "string",
"lane": "string",
"building": "string",
"survey": "string",
"wing": "string",
"avenue": "string",
"gate": "string",
"ward": "string",
"landmark_name": ["string"],
"company_name": ["string"],
"building_name": "string",
"society": "string",
"unit": "string",
"door_information": "string"
}
Example entity_information: |
{
"plot": "5",
"sector": "44",
"door_information": "5"
}
Example result: |
{
"pincode": 122003,
"country": "india",
"state": "Haryana",
"city": "gurgaon",
"locality": "sector - 44",
"sub_locality": "delhivery corporate office",
"entity_information": {
"plot": "5",
"sector": "44",
"door_information": "5"
}
}
{
"success": true,
"status_code": 200,
"message": "Request has been processed",
"request_id": AX34687667877689,
"result": {
"pincode": 122003,
"country": "india",
"state": "haryana",
"city": "gurgaon",
"locality": "sector 44",
"sub_locality": "delhivery corporate office",
"entity_information": {
"plot": "5",
"sector": "44",
"door_information": "5"
}
}
}