Search…
Bulk Data API
Connect to the Data APIs to access 1000's of location attributes, around any lat-long or address in the country.

Bulk Data API with Latitude & Longitude

post
https://dataserving-in.geoiq.io/production/v1.0/getvariablesbulk

Sample Request

headers = {
"x-api-key": "Authentication key",
"Content-Type": "application/json"
}
body = {
"lat": 24.966130,
"lng": 77.592247,
"variables": "p_education_cc_np_pincode,w_pop_tt_200,w_pop_tt_500,w_pop_tt_1000"
}

Sample Response

{
"status": 200,
"body": {
"data": {
"w_pop_tt_200": 27950,
"w_pop_tt_500": 29950,
"w_pop_tt_1000": 279505,
"p_education_cc_np_pincode": 0.93023
},
"status": 200
}
}
""" Sample Python Code """
import json
import requests
url = "https://dataserving-in.geoiq.io/production/v1.0/getvariablesbulk"
payload = json.dumps({
"lat": 12.909151,
"lng": 77.6371584,
"variables": "p_education_cc_np_pincode,w_pop_tt_200,w_pop_tt_500,w_pop_tt_1000"
})
headers = {
'x-api-key': '<Authentication key>',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)

Bulk Data API with Address

post
https://dataserving-in.geoiq.io/production/v1.0/getvariablesbulk

Sample Request

headers = {
"x-api-key": "Authentication key",
"Content-Type": "application/json"
}
body = {
"address": "35, Vajarahalli, 9th Mile, Kanakapura Road, Bangalore",
"pincode": "560062",
"variables": "p_education_cc_np_pincode,w_pop_tt_200,w_pop_tt_500,w_pop_tt_1000"
}

Sample Response

{
"status": 200,
"body": {
"data": {
"w_pop_tt_200": 27950,
"w_pop_tt_500": 29950,
"w_pop_tt_1000": 279505,
"p_education_cc_np_pincode": 0.93023
},
"status": 200
}
}
""" Sample Python Code """
import json
import requests
url = "https://dataserving-in.geoiq.io/production/v1.0/getvariablesbulk"
payload = json.dumps({
"address": "GeoIQ,Urbanvault 591, GF, 22nd cross, 15th Main Rd, HSR Layout, Bengaluru",
"pincode": "560102",
"variables": "p_education_cc_np_pincode,w_pop_tt_200,w_pop_tt_500,w_pop_tt_1000"
})
headers = {
'x-api-key': '<Authentication key>',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Last modified 1mo ago
Copy link
Outline
Bulk Data API with Latitude & Longitude
post
Bulk Data API with Address
post