# Walmart on Onekey > 5 endpoints for Walmart (0 stable, 5 beta), 2 to 3 credits each. Category: E-commerce & marketplaces. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Access: 5 of 5 endpoints are marked "needs a pack" or "may need a pack": free-grant credits reach only the open fetch path; a verified email and a purchased pack unlock the rest. Page: https://onekey.dev/platforms/walmart Reference (Markdown): https://onekey.dev/docs/api/walmart.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 5 mapped Walmart endpoints return each: - `entity.url` (URL): 4 - `entity.name` (string): 3 - `entity.description` (string): 2 - `entity.id` (string): 2 - `listing.currency` (string): 2 - `listing.price` (number): 2 - `media.thumbnailUrl` (URL): 2 - `author.displayName` (string): 1 - `content.createdAt` (ISO 8601 date): 1 - `content.id` (string): 1 - `content.text` (string): 1 - `content.title` (string): 1 - `engagement.votes` (integer): 1 - `entity.stats.rating` (number): 1 - `entity.stats.ratingCount` (integer): 1 - `listing.available` (boolean): 1 - `listing.brand` (string): 1 - `listing.condition` (string): 1 - `listing.seller` (string): 1 - plus 2 platform-specific fields under `ext.` ## Endpoints ### walmart.category Browse Walmart products in a category. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/walmart/category?category_id=cl94` with header `x-api-key: YOUR_API_KEY` - Parameters: - `category_id` (string, required): Category id or slug, as returned by the categories endpoint - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `media.thumbnailUrl`, `listing.price`, `listing.currency`, `listing.brand`, `entity.stats.rating`, `entity.stats.ratingCount` - Reference: https://onekey.dev/docs/api/walmart/category.md ### walmart.offers Every seller offering a Walmart product. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/walmart/offers?product_id=123456789` with header `x-api-key: YOUR_API_KEY` - Parameters: - `product_id` (string, optional): Product id as it appears on the product page URL - `url` (string, optional): Full URL of the product page (alternative to the id) - Fields returned: `entity.id`, `listing.seller`, `entity.url`, `listing.price`, `listing.currency`, `listing.condition`, `listing.available` - Reference: https://onekey.dev/docs/api/walmart/offers.md ### walmart.product Walmart product page metadata by item id. - Price: 3 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/walmart/product?item_id=5253396` with header `x-api-key: YOUR_API_KEY` - Parameters: - `item_id` (string, required): Walmart item id - Fields returned: `entity.url`, `entity.name`, `entity.description`, `media.thumbnailUrl`, `ext.canonicalUrl` - Reference: https://onekey.dev/docs/api/walmart/product.md ### walmart.reviews Walmart product reviews. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/walmart/reviews?product_id=123456789` with header `x-api-key: YOUR_API_KEY` - Parameters: - `product_id` (string, optional): Product id as it appears on the product page URL - `url` (string, optional): Full URL of the product page (alternative to the id) - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `content.id`, `content.title`, `content.text`, `content.createdAt`, `author.displayName`, `engagement.votes`, `ext.rating` - Reference: https://onekey.dev/docs/api/walmart/reviews.md ### walmart.search Walmart search results page (links only). - Price: 3 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/walmart/search?q=laptop` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.url`, `entity.name` - Reference: https://onekey.dev/docs/api/walmart/search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/walmart/product?item_id=5253396" \ -H "x-api-key: YOUR_API_KEY" ```