{"openapi":"3.1.0","info":{"title":"Walmart Products and Reviews (x402 & MCP)","version":"0.1.0","description":"Walmart products, prices, offers, variants, categories and reviews for the US, Canada and Mexico, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/walmart-com/v1/search":{"post":{"operationId":"walmart_com_search","summary":"Walmart Products and Reviews: Search, browse and category products","description":"Product rows from keyword search, category browse/catalog, category hubs, departments or the home layout. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["walmart-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"Auto selects a mode from your target fields; choose a mode explicitly for catalogs, departments, category hubs or paginated reviews. Sellers and reviews modes support only the US market. `home` reads the App home layout: the merchandised shelves and their items, US only. It is a selection, not the full catalogue.","default":"auto","enum":["auto","search","browse","catalog","categoryHub","departments","home"]},"keyword":{"type":"string","description":"One search term; use keywords instead for several terms. With no target, the Actor runs the small form example."},"keywords":{"type":"array","items":{"type":"string"},"description":"Up to 10 search terms, each with its own maxResults allowance. Use this instead of keyword for several searches.","maxItems":10},"categoryId":{"type":"string","description":"Category number for browse or catalog mode, such as 3944 for electronics. Also accepted by categoryHub mode.","pattern":"^([0-9]+(_[0-9]+)*)?$"},"categorySlug":{"type":"string","description":"Category name from a Walmart URL, such as electronics. Optional with a category ID, or usable alone to select categoryHub mode."},"market":{"type":"string","description":"Choose US (walmart.com), CA (walmart.ca) or MX (walmart.com.mx). Sellers and reviews modes require US.","default":"US","enum":["US","CA","MX"]},"postalCode":{"type":"string","description":"Request local pricing with a Canadian postal code or US ZIP code; Mexico does not apply this setting. Check pricedForPostalCode and RUN_SUMMARY for the actual pricing location, because the requested code is not always applied. When it is not applied, rows still deliver and carry `locationStatus: walmartDefaultStore:<id>` plus the store Walmart priced for.","pattern":"^([A-Za-z0-9][A-Za-z0-9 -]{2,9})?$"},"storeId":{"type":"string","description":"Optional Walmart store number, such as 5260, for location-dependent listings. Check the returned location before treating prices as store-specific.","pattern":"^([0-9]+)?$"},"sort":{"type":"string","description":"Listing sort order: best match, price ascending or descending, best seller, highest rated, or new. Default best_match.","default":"best_match","enum":["best_match","price_low","price_high","best_seller","highest_rated","new"]},"facet":{"type":"string","description":"Optional listing filter expression copied from Walmart, such as brand:Apple."},"minPrice":{"type":"number","description":"Optional minimum listing price, in the selected market currency.","minimum":0},"maxPrice":{"type":"number","description":"Optional maximum listing price, in the selected market currency. Must be at least minPrice.","minimum":0},"excludeSponsored":{"type":"boolean","description":"Exclude sponsored product rows from listings when Walmart marks them as sponsored.","default":false},"enrichDetails":{"type":"boolean","description":"Add product-page details to search or browse rows, including available US seller contacts. Off by default; enrichLimit controls how many products receive details.","default":false},"enrichLimit":{"type":"integer","description":"Maximum search or browse products to enrich when enrichDetails is true. Default 5, from 1 to 50.","default":5,"minimum":1,"maximum":50},"facetCrawl":{"type":"boolean","description":"Include category filter slices in catalog mode. Off by default; this does not guarantee complete category coverage.","default":false},"facetCrawlMaxFacets":{"type":"integer","description":"Maximum category filter slices to try when facetCrawl is true. Default 15, from 1 to 100.","default":15,"minimum":1,"maximum":100},"maxResults":{"type":"integer","description":"Maximum rows per keyword, product URL/item ID or seller URL/ID; other modes count as one input, and product, offer, variant and review rows share its allowance. Default 70, larger values are collected in parts of 70, and total delivery also follows your cost limit and the Free-plan limits of 200 rows per run and 10 runs.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"keyword":"wireless earbuds","maxResults":5}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_walmart_com"},"example":{"jobId":"job_walmart-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","mode":"example_mode","market":"example_market","keyword":"example_keyword","usItemId":"example_usItemId","parentUsItemId":"example_parentUsItemId"}],"meta":{"site":"walmart-com","endpoint":"search","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":15000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/walmart-com/v1/products":{"post":{"operationId":"walmart_com_products","summary":"Walmart Products and Reviews: Product details by URL or item ID","description":"Product rows for given product URLs or usItemIds, optionally with variants, seller offers and reviews (each its own row). Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["walmart-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"productUrls":{"type":"array","items":{"type":"string"},"description":"Walmart product page links for product or reviews mode: walmart.com, walmart.ca or walmart.com.mx with /ip/.../<item id>. platform {\"url\": \"<link>\"} request objects are accepted; remote lists such as requestsFromUrl and walmrt.us short links are not fetched — open them and paste the full product link. One entry may hold several links separated by whitespace or by a comma directly before the next http(s):// link. Each input shares its maxResults allowance across its product, offers and requested "},"usItemIds":{"type":"array","items":{"type":"string"},"description":"Walmart numeric item IDs for product or reviews mode. Each ID has its own maxResults allowance."},"market":{"type":"string","description":"Choose US (walmart.com), CA (walmart.ca) or MX (walmart.com.mx). Sellers and reviews modes require US.","default":"US","enum":["US","CA","MX"]},"postalCode":{"type":"string","description":"Request local pricing with a Canadian postal code or US ZIP code; Mexico does not apply this setting. Check pricedForPostalCode and RUN_SUMMARY for the actual pricing location, because the requested code is not always applied. When it is not applied, rows still deliver and carry `locationStatus: walmartDefaultStore:<id>` plus the store Walmart priced for.","pattern":"^([A-Za-z0-9][A-Za-z0-9 -]{2,9})?$"},"storeId":{"type":"string","description":"Optional Walmart store number, such as 5260, for location-dependent listings. Check the returned location before treating prices as store-specific.","pattern":"^([0-9]+)?$"},"expandVariants":{"type":"boolean","description":"Return available product variants as separately billed rows within the input row limit. Off by default.","default":false},"includeOffers":{"type":"boolean","description":"Return other sellers' offers as separately billed rows within the input row limit. US products list every seller. On CA and MX, or when Walmart returns no seller list, a product can have 0 offer rows, and 0 rows are not billed. Off by default; the product row still shows additionalOfferCount.","default":false},"maxReviews":{"type":"integer","description":"Maximum review rows: product pages and enriched listings provide only their available review preview, disabled at 0. In reviews mode, 0 uses the remaining maxResults allowance; a positive value adds a review cap.","default":0,"minimum":0,"maximum":500},"reviewSort":{"type":"string","description":"Review order in reviews mode, such as relevancy or newest. Default relevancy.","default":"relevancy"},"enrichDetails":{"type":"boolean","description":"Add product-page details to search or browse rows, including available US seller contacts. Off by default; enrichLimit controls how many products receive details.","default":false},"maxResults":{"type":"integer","description":"Maximum rows per keyword, product URL/item ID or seller URL/ID; other modes count as one input, and product, offer, variant and review rows share its allowance. Default 70, larger values are collected in parts of 70, and total delivery also follows your cost limit and the Free-plan limits of 200 rows per run and 10 runs.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"usItemIds":["604342441"],"maxResults":5}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_walmart_com"},"example":{"jobId":"job_walmart-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","mode":"example_mode","market":"example_market","keyword":"example_keyword","usItemId":"example_usItemId","parentUsItemId":"example_parentUsItemId"}],"meta":{"site":"walmart-com","endpoint":"products","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":15000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/walmart-com/v1/reviews":{"post":{"operationId":"walmart_com_reviews","summary":"Walmart Products and Reviews: Product reviews (US)","description":"Paginated review rows for given product URLs or usItemIds (US market). Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["walmart-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"productUrls":{"type":"array","items":{"type":"string"},"description":"Walmart product page links for product or reviews mode: walmart.com, walmart.ca or walmart.com.mx with /ip/.../<item id>. platform {\"url\": \"<link>\"} request objects are accepted; remote lists such as requestsFromUrl and walmrt.us short links are not fetched — open them and paste the full product link. One entry may hold several links separated by whitespace or by a comma directly before the next http(s):// link. Each input shares its maxResults allowance across its product, offers and requested "},"usItemIds":{"type":"array","items":{"type":"string"},"description":"Walmart numeric item IDs for product or reviews mode. Each ID has its own maxResults allowance."},"reviewSort":{"type":"string","description":"Review order in reviews mode, such as relevancy or newest. Default relevancy.","default":"relevancy"},"maxResults":{"type":"integer","description":"Maximum rows per keyword, product URL/item ID or seller URL/ID; other modes count as one input, and product, offer, variant and review rows share its allowance. Default 70, larger values are collected in parts of 70, and total delivery also follows your cost limit and the Free-plan limits of 200 rows per run and 10 runs.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"usItemIds":["604342441"],"maxResults":5}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_walmart_com"},"example":{"jobId":"job_walmart-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","mode":"example_mode","market":"example_market","keyword":"example_keyword","usItemId":"example_usItemId","parentUsItemId":"example_parentUsItemId"}],"meta":{"site":"walmart-com","endpoint":"reviews","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":15000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/walmart-com/v1/health":{"get":{"operationId":"walmart_com_health","summary":"Walmart Products and Reviews: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["walmart-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_walmart_com":{"type":"object","properties":{"rowType":{"type":["string","null"],"title":"Type"},"mode":{"type":["string","null"],"title":"Mode"},"market":{"type":["string","null"],"title":"Market"},"keyword":{"type":["string","null"],"title":"Keyword"},"usItemId":{"type":["string","null"],"title":"Item ID"},"parentUsItemId":{"type":["string","null"],"title":"Parent ID"},"name":{"type":["string","null"],"title":"Name"},"price":{"type":["number","null"],"title":"Price"},"finalCostByWeight":{"type":["boolean","null"],"title":"By weight"},"currency":{"type":["string","null"],"title":"Currency"},"averageRating":{"type":["number","null"],"title":"Rating"},"numberOfReviews":{"type":["number","null"],"title":"Reviews"},"availabilityStatus":{"type":["string","null"],"title":"Availability"},"sellerName":{"type":["string","null"],"title":"Seller"},"catalogSellerId":{"type":["string","null"],"title":"Seller ID"},"sponsored":{"type":["boolean","null"],"title":"Sponsored"},"snapEligible":{"type":["boolean","null"],"title":"SNAP eligible"},"parentName":{"type":["string","null"],"title":"Parent product"},"productUrl":{"type":["string","null"],"format":"uri","title":"URL"},"imageUrl":{"type":["string","null"],"title":"Image"},"sellerStoreFrontURL":{"type":["string","null"],"title":"Storefront URL"},"sellerPageUrl":{"type":["string","null"],"format":"uri","title":"Seller page"},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"address":{"type":["string","null"],"title":"Address"},"geo":{"type":["string","null"],"title":"Geo"},"person":{"type":["string","null"],"title":"Person"},"org":{"type":["string","null"],"title":"Org"},"web":{"type":["string","null"],"title":"Web"},"leadSource":{"type":["string","null"],"title":"Lead source"},"leadReveal":{"type":["string","null"],"title":"Lead reveal"},"leadAbsences":{"type":["string","null"],"title":"Lead absences"}},"additionalProperties":true},"Response_walmart_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_walmart_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}