Walmart Category API
Scrape Walmart Category data with one API call. Returns products listed in a Walmart category, up to 100 per call, with title, price, rating, review count, image, availability, and seller. Unlike keyword search this endpoint DOES return real prices, which makes it the better source for price monitoring across a product set. Category ids appear in the category URLs on a product detail response (for example 3944 for Electronics). Brand is not populated on category rows; read it from GET /v1/walmart/product when you need it.
Last updated July 2026Maintained by the SocialCrawl team
Searching 45 platforms in parallel
What can you do with the Category API?
The Category endpoint gives you structured Walmart data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/walmart/category?category_id=3944"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/walmart/category",
params={
'category_id': '3944',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/walmart/category?category_id=3944",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| category_id | Yes | Walmart category id, for example 3944 for Electronics. Category ids and their URLs are returned in the categories array of GET /v1/walmart/product. |
| page | No | Page number, starting at 1. Prefer the universal cursor parameter. |
| sort_by | No | Result ordering: best_match (default), price_low, price_high, best_seller, or top_rated. (best_match | price_low | price_high | best_seller | top_rated) |
| min_price | No | Lowest price to include. Must be below max_price when both are set. |
| max_price | No | Highest price to include. Must be above min_price when both are set. |
| zip_code | No | ZIP code used to localise availability, pickup, and shipping options. Walmart pricing and stock are store-level, so results differ by location. |
| state | No | Two-letter US state code used to localise results (for example CA, NY). |
| store_id | No | Walmart store id, to restrict results to one physical store's assortment. |
| facet | No | Opaque refinement token taken from a previous response's facet data (for example a brand or category filter). |
| country | No | Walmart marketplace as a two-letter country code: US (walmart.com, default) or CA (walmart.ca). A product id from one marketplace will not resolve in the other. (US | CA) |
| limit | No | Products per page, 1 to 100. Defaults to 40. |
How does the Walmart Category API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 45 platforms covering 10B+ monthly active users.
One schema, every platform
Query 45 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language — ready to use.
See your data before you code
Visual Data Explorer — paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usWhere do I find a Walmart category id?
Does the category endpoint return real prices?
How many products come back per call?
Why is brand empty on category results?
What if the category id does not exist?
Ask AI about SocialCrawl
Ready to scrape Walmart Category data?
Get your API key and start pulling Walmart data in under 60 seconds.
