Get Store Detail
curl --request GET \
--url https://scrapebadger.com/v1/walmart/stores/{store_id} \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/walmart/stores/{store_id}"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/walmart/stores/{store_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/walmart/stores/{store_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/walmart/stores/{store_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/walmart/stores/{store_id}")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/walmart/stores/{store_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"store": {
"store_id": "<string>",
"name": "<string>",
"display_name": "<string>",
"store_type": "<string>",
"phone": "<string>",
"address1": "<string>",
"address2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123,
"distance_miles": 123,
"timezone": "<string>",
"open_24_hours": true,
"is_spark_store": true,
"is_glass_eligible": true,
"hours": [
{}
],
"services": [
{}
],
"access_types": [
"<string>"
]
},
"departments": [
"<string>"
],
"fuel_prices": [
{}
],
"nearby_count": 123,
"nearby_stores": [
{}
]
}Stores
Get Store Detail
A physical Walmart store — address, geo, hours, per-department services with their own hours and phone, fuel prices, and ~30 nearby stores.
GET
/
v1
/
walmart
/
stores
/
{store_id}
Get Store Detail
curl --request GET \
--url https://scrapebadger.com/v1/walmart/stores/{store_id} \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/walmart/stores/{store_id}"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/walmart/stores/{store_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/walmart/stores/{store_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/walmart/stores/{store_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/walmart/stores/{store_id}")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/walmart/stores/{store_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"store": {
"store_id": "<string>",
"name": "<string>",
"display_name": "<string>",
"store_type": "<string>",
"phone": "<string>",
"address1": "<string>",
"address2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123,
"distance_miles": 123,
"timezone": "<string>",
"open_24_hours": true,
"is_spark_store": true,
"is_glass_eligible": true,
"hours": [
{}
],
"services": [
{}
],
"access_types": [
"<string>"
]
},
"departments": [
"<string>"
],
"fuel_prices": [
{}
],
"nearby_count": 123,
"nearby_stores": [
{}
]
}Fetch a physical Walmart store by its store number. One call returns the
store’s address, geo, phone and opening hours, its per-department services —
each with its own phone and hours — fuel prices where the store has a
station, and roughly 30 nearby stores in the same shape.
Credits: 5
No surveyed competitor offers a Walmart store-detail endpoint at all.
Authorization
Path Parameters
Response
The store.
Show Store
Show Store
In-store departments —
name, display_name, phone,
open_24_hours, and their own hours[], which differ from the
store’s.Example
curl "https://scrapebadger.com/v1/walmart/stores/100" \
-H "X-API-Key: YOUR_API_KEY"
const res = await fetch("https://scrapebadger.com/v1/walmart/stores/100", {
headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY },
});
const { store, nearby_stores } = await res.json();
import requests
res = requests.get(
"https://scrapebadger.com/v1/walmart/stores/100",
headers={"X-API-Key": "YOUR_API_KEY"},
)
store = res.json()["store"]
Response
{
"store": {
"store_id": "100",
"name": "Walmart Supercenter",
"display_name": "Bentonville S Walton Blvd Supercenter",
"store_type": "STORE",
"phone": "479-273-0060",
"address1": "406 S Walton Blvd",
"address2": null,
"city": "Bentonville",
"state": "AR",
"postal_code": "72712",
"country": "US",
"latitude": 36.368173,
"longitude": -94.224844,
"open_24_hours": false,
"is_spark_store": false,
"is_glass_eligible": true,
"hours": [
{ "day": "Sunday", "start": "06:00", "end": "23:00", "closed": false },
{ "day": "Monday", "start": "06:00", "end": "23:00", "closed": false }
],
"services": [
{
"name": "DELI",
"display_name": "Deli",
"phone": "479-273-5780",
"open_24_hours": false,
"hours": [{ "day": "Sunday", "start": "08:00", "end": "21:00", "closed": false }]
},
{
"name": "PHARMACY",
"display_name": "Pharmacy",
"phone": "479-273-5080",
"open_24_hours": false,
"hours": [{ "day": "Sunday", "start": "10:00", "end": "18:00", "closed": false }]
}
],
"access_types": ["PICKUP", "DELIVERY"]
},
"departments": [
"Furniture",
"Hardware",
"Fashion",
"Electronics",
"Toys",
"Patio & Garden",
"Video Game Store",
"Computer Store"
],
"fuel_prices": [],
"nearby_count": 33,
"nearby_stores": [
{
"store_id": "5260",
"name": "Walmart Neighborhood Market",
"display_name": "Bentonville Neighborhood Market",
"city": "Bentonville",
"state": "AR",
"postal_code": "72712",
"latitude": 36.3492,
"longitude": -94.2035,
"distance_miles": 1.8,
"phone": "479-464-9273"
}
]
}
Each department in
services[] carries its own phone and hours — the
pharmacy above opens four hours after the store does. Read department hours
from services[], never from the store’s hours[].Errors
| Status | Meaning |
|---|---|
404 | Store does not exist or has closed. |
422 | Anti-bot challenge — not billed. Retry; it succeeds. |

