Address Standardization
Using the Address Standardization API
4 min
making a request to standardize an address, make a post request to the https //docs getos1 com/locateone reference/standardize address with the address details in the request body request body the request body should contain the data object with the following fields true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type example request { "data" { "address" "plot 5, sector 44, gurgaon", "pincode" "122003", "city" "gurgaon", "state" "haryana" } } understanding the response the address standardization api returns a json response with the standardized address response schema true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type example response { "success" true, "status code" 200, "message" "request has been processed", "request id" "geocode|cd59836e e385 4e6e 8272 ec593468b78b", "result" { "country" "india", "state" "haryana", "city" "gurgaon", "locality" "sector 44", "sub locality" "delhivery corporate office", "entity information" { "sector" "44", "building name" "delhivery corporate" }, "pincode" 122003 } } in the result object, you'll find the standardized address components, including pincode , country , state , city , locality , and sub locality the entity information object will contain additional information about the address if available true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type