Discover how the Post Code Lookup API fetches information related to postal codes, aiding developers in various applications.
Explore API and data feeds within the 'Facility' documentation.
{
"json": {
"params": {
"q": "*:*",
"fq": "{!geofilt sfield=location}",
"pt": "18.180555,-66.749961",
"d": "10"
}
}
}{
"responseHeader": {
"status": 0,
"QTime": 2,
"params": {
"json": "{\"params\":{\"q\":\"*:*\",\"fq\":\"{!geofilt-sfield=location}\",\"pt\":\"18.180555,-66.749961\",\"d\":\"10\"}}"
}
},
"response": {
"numFound": 1,
"start": 0,
"numFoundExact": true,
"docs": [
{
"postcode": "601",
"latitude": "18.180555",
"longitude": "-66.749961",
"country": "USA",
"country-code-id": "601-USA",
"location": "18.180555,-66.749961",
"_version_": 1752733513051799552
}
]
}
}{
"json": {
"query": "postcode:10001"
}
}{
"response": {
"numFound": 1,
"start": 0,
"numFoundExact": true,
"docs": [
{
"postcode": "10001",
"latitude": "40.750636",
"longitude": "-73.997177",
"country": "USA",
"countryCodeAlpha3": "USA",
"countryCodeAlpha2": "US",
"country-code-id": "10001-US",
"location": "40.750636,-73.997177",
"_version_": 1790686106947158016
}
]
}
}{
"json": {
"query": "postcodelike:6011",
"fields": ["latitude", "longitude"]
}
}"response": {
"numFound": 2,
"start": 0,
"numFoundExact": true,
"docs": [
{
"latitude": "40.130099",
"longitude": "-85.760763"
},
{
"latitude": "32.754272",
"longitude": "-97.083196"
}
]
}Discover how the Store Lookup API facilitates finding stores accepting BOPIS orders near the customer's location using the POST method.
{
"viewSize": 40,
"filters": ["storeType: RETAIL_STORE"],
"point": “lat,lon”,
"distance": 50,
"sortBy": "storeName asc",
"keyword": "value",
"fieldsToSelect": <values>
}"response":
{
"numFound": 1,
"start": 0,
"numFoundExact": true,
"docs": [
{
"docType": "STORE",
"storeCode": "524",
"Identifier": "524",
"docType-Identifier": "STORE-524-STORE-524",
"storeType": "RETAIL_STORE",
"storeName": "Orlando",
"externalId": "524",
"primaryFacilityGroupId": "10862657599",
"primaryFacilityGroupName": "Not naked",
"primaryShopifyShopId": "10862657599",
"10862657599_pref": "true",
"fac_grp_pref": "true",
"address1": "8200 Vineland Ave.,",
"address2": "#136",
"directions": "Near Mall",
"city": "Orlando",
"postalCode": "32821",
"country": "United States",
"countryCode": "USA",
"state": "FlorIda",
"stateCode": "FL",
"latlon": "28.3873236,-81.4924445",
"monday_open": "10:00:00",
"monday_close": "21:00:00",
"tuesday_open": "10:00:00",
"tuesday_close": "21:00:00",
"wednesday_open": "10:00:00",
"thursday_open": "10:00:00",
"thursday_close": "21:00:00",
"friday_open": "10:00:00",
"friday_close": "21:00:00",
"saturday_open": "10:00:00",
"saturday_close": "21:00:00",
"sunday_open": "11:00:00",
"sunday_close": "19:00:00",
"updatedDatetime": "2023-01-31T05:52:08.794Z",
"_version_": 1756516139717885953,
"_root_": "STORE-524-STORE-524"
}
]
}