Item search for the Walmart catalog

Overview

Use the Item Search API to determine whether Walmart already has the item you want to sell. Search the Walmart catalog by keyword (query) or by product identifier (upc or gtin).

In the US market, you can also search by ean or isbn. You can search by asin only when responseFormat=SPEC.

Search results return items that are currently listed in Walmart. Review the product details in the response to decide whether you want to add an offer for a specific catalog item. If you want to sell a similar item that already exists in the catalog, you can also use the item setup information included in the results.

Global note: Response attributes can vary by marketplace. For Canada (CA), Mexico (MX), and Chile (CL), refer to the Canada, Mexico, and Chile response attributes section below.


When to use the Search API

  • Before item setup: Use the Item Search API as the first step in item setup to determine the correct setup path. Use offer-only (MP_ITEM_MATCH) when a match exists, or full item setup (MP_ITEM) when no match is found.
  • Accelerate full item setup: Pull available catalog attributes in spec format, so you only populate missing data.
  • For broader search and match exploration: Start with the default response, then refine as needed.

Benefits

  • Faster item setup decisions: Quickly determine whether to use offer-only setup (MP_ITEM_MATCH) or full item setup (MP_ITEM).
  • Prefilled catalog attributes: Reuse Walmart catalog attributes so you only populate missing fields instead of starting from scratch.
  • Flexible search options: Use keyword search for broader discovery or product identifiers for precise matching.

How results are returned

Default response (responseFormat=DEFAULT or omitted)

Use the default response for keyword or identifier searches.

  • query: returns up to 40 matches.
  • upc or gtin: returns 0 or 1 match.
  • In the US market, ean and isbn are also supported and return 0 or 1 match.

Spec-format response (responseFormat=SPEC, US only)

Use the spec-format response in the US market when you need item data formatted for an item setup workflow.

  • Provide exactly one identifier: upc, gtin, ean, isbn, or asin.
  • query is not supported.
  • The response returns 0 or 1 match.
  • If the item is found and is already live in the Walmart catalog, the API returns MP_ITEM_MATCH (offer setup by match).
  • If the item is found but is not live, the API returns MP_ITEM (full item setup) with available Walmart catalog attributes.
  • If no match is found, the API returns 200 with an empty JSON object ({}), and items may be omitted.

The Item Search API returns only items that are currently in a published status. Items that are unpublished, such as out-of-stock items or items affected by publishing restrictions, do not appear in search results.


Endpoint

GET https://marketplace.walmartapis.com/v3/items/walmart/search

Query parameters

  • query (string): Keyword search based on descriptive terms. Example: keyboard and mouse.
  • upc (string): 12-digit Universal Product Code. Example: 716999676441.
  • gtin (string): 14-digit Global Trade Item Number. Example: 02917687511041.
  • ean (string): European Article Number associated with the item. Example: 9781629381404. Supported only in the US market.
  • isbn (string): International Standard Book Number associated with the item. Example: 1629381403. Supported only in the US market.
  • asin (string): Amazon Standard Identification Number. Supported only in the US market when responseFormat=SPEC.
  • responseFormat (string, optional): Controls the response format. Allowed values: SPEC, DEFAULT. SPEC is supported only in the US market. If omitted, the API uses DEFAULT.

Throttling: Refer to the API throttling guide to understand the usage limitations for this API.

Validation rules

  • responseFormat accepts SPEC or DEFAULT. Values are case sensitive. If omitted, the API uses DEFAULT.
  • When responseFormat=SPEC (US only), provide exactly one of upc, gtin, ean, isbn, or asin.
  • Do not provide query when responseFormat=SPEC.
  • asin is supported only when responseFormat=SPEC.

Request sample: default response

curl --request GET \ --url 'https://marketplace.walmartapis.com/v3/items/walmart/search?upc=716999676441' \ --header 'WM_CONSUMER.CHANNEL.TYPE: <consumer-channel-type>' \ --header 'WM_GLOBAL_VERSION: 3.1' \ --header 'WM_MARKET: mx' \ --header 'WM_QOS.CORRELATION_ID: b3261d2d-028a-4ef7-8602-633c23200af6' \ --header 'WM_SEC.ACCESS_TOKEN: eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM.....' \ --header 'WM_SVC.NAME: Walmart Service Name' \ --header 'accept: application/json'
import requests base_url = "https://marketplace.walmartapis.com/v3/items/walmart/search" headers = { "WM_CONSUMER.CHANNEL.TYPE": "<consumer-channel-type>", "WM_GLOBAL_VERSION": "3.1", "WM_MARKET": "mx", "WM_QOS.CORRELATION_ID": "b3261d2d-028a-4ef7-8602-633c23200af6", "WM_SEC.ACCESS_TOKEN": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM.....", "WM_SVC.NAME": "Walmart Service Name", "accept": "application/json",
} params = {"upc": "716999676441"} resp = requests.get(base_url, headers=headers, params=params, timeout=30)
print("Status:", resp.status_code)
print(resp.text)

Request sample: spec-format (US only)

For the spec-format flow, send exactly one identifier: upc, gtin, ean, isbn, or asin.

curl --request GET \ --url 'https://marketplace.walmartapis.com/v3/items/walmart/search?asin=B08N5WRWNW&responseFormat=SPEC' \ --header 'WM_CONSUMER.CHANNEL.TYPE: <consumer-channel-type>' \ --header 'WM_GLOBAL_VERSION: 3.1' \ --header 'WM_MARKET: US' \ --header 'WM_QOS.CORRELATION_ID: b3261d2d-028a-4ef7-8602-633c23200af6' \ --header 'WM_SEC.ACCESS_TOKEN: eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM.....' \ --header 'WM_SVC.NAME: Walmart Service Name' \ --header 'accept: application/json'
import requests url = "https://marketplace.walmartapis.com/v3/items/walmart/search"
params = {"asin": "B08N5WRWNW", "responseFormat": "SPEC"} headers = { "WM_CONSUMER.CHANNEL.TYPE": "<consumer-channel-type>", "WM_GLOBAL_VERSION": "3.1", "WM_MARKET": "US", "WM_QOS.CORRELATION_ID": "b3261d2d-028a-4ef7-8602-633c23200af6", "WM_SEC.ACCESS_TOKEN": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM.....", "WM_SVC.NAME": "Walmart Service Name", "Accept": "application/json",
} resp = requests.get(url, headers=headers, params=params, timeout=30)
resp.raise_for_status()
print(resp.json())

Modify your code

Step 1: Choose the response format

  • Use DEFAULT for standard keyword or identifier searches.
  • In the US market, use SPEC when you need a spec-compliant response for an item setup workflow.

Step 2: Build and send the request

Call GET /v3/items/walmart/search with the applicable search parameter.

  • For a default search, use query, upc, or gtin. In the US market, you can also use ean or isbn.
  • For a spec-format search, which is supported only in the US market, set responseFormat=SPEC and provide exactly one of upc, gtin, ean, isbn, or asin. Do not include query in a spec-format request.

Step 3: Send required headers and any optional headers

  • WM_SEC.ACCESS_TOKEN (required): Access token obtained from the Token API.
  • WM_QOS.CORRELATION_ID (required): Unique GUID per request for tracking and debugging.
  • WM_SVC.NAME (required): Service name. Example: Walmart Marketplace.
  • WM_CONSUMER.CHANNEL.TYPE (optional): Channel identifier received during onboarding.
  • Accept: application/json.

Step 4: Review the response

For responseFormat=DEFAULT, the response contains an items array. Depending on the search, entries may include itemId, title, brand, price, images, condition, and signals such as isMarketPlaceItem.

For responseFormat=SPEC (US only), items contains up to one entry with:

  • feedType: MP_ITEM or MP_ITEM_MATCH
  • version: Spec version
  • productType: Present only for MP_ITEM
  • itemSpecPayload: Spec payload containing MPItemFeedHeader metadata and an MPItem array. The structure varies by feedType.

If the identifier resolves to an existing Walmart catalog item, the API returns MP_ITEM_MATCH. If the response requires full item setup, the API returns MP_ITEM.


Response samples

GTIN or UPC search response for CA, CL, MX markets

{ "items": [ { "itemId": "573350170", "condition": "Laptop", "images": [ { "url": "https://i5-qa.walmartimages.com/asr/b6a8daad-647e-4f6f-b58c-46c4353cdd41.208130dca86a480d7222127fa7af0569.jpeg" } ], "title": "G-SONY PLAYSTATION P4 GHOST TSUSHIMA SE", "brand": "G-SONY PLAYSTATION", "productType": "Laptop Computers", "properties": { "categories": [ "computers" ] } } ], "relatedQueries": []
}

Query search response for CA and MX markets

{ "items": [ { "itemId": "393016031", "condition": "New", "isMarketPlaceItem": true, "images": [ { "url": "http://i5.walmartimages.com/asr/556cc5a5-e729-4e48-b801-0146bbc97cdb_1.97507cfd7df5ca0fb6570e6a36495016.jpeg?odnHeight=180&odnWidth=180&odnBg=ffffff" }, { "url": "http://i5.walmartimages.com/asr/556cc5a5-e729-4e48-b801-0146bbc97cdb_1.97507cfd7df5ca0fb6570e6a36495016.jpeg?odnHeight=180&odnWidth=180&odnBg=ffffff" } ], "customerRating": "3.799999952316284", "price": { "amount": "12.989999771118164", "currency": "USD" }, "description": "<li>Designed for Apple <mark>iPad</mark> <mark>mini</mark> 1/2/3</li><li>Hybrid Silicone/PC Protective Shell with Kickstand</li><li>Shock-Absorption <mark><mark>Case</mark>s</mark> Protection <mark>Case</mark> for boys girls</li>", "title": "<mark>iPad</mark> <mark>mini</mark> 3/ 2 /1 <mark>Case</mark>, ULAK Three Layer Hybrid Heavy Duty Shockproof Protective <mark>Case</mark> with Kickstand for Apple <mark>iPad</mark> <mark>Mini</mark>,<mark>iPad</mark> <mark>Mini</mark> 2,<mark>iPad</mark> <mark>Mini</mark> 3", "brand": "ULAK", "productType": "VARIANT", "properties": { "variant_items_num": "5", "num_reviews": "16", "categories": [ "Electronics", "iPad & Tablets", "Apple iPad Accessories", "iPad Cases, Sleeves & Bags" ], "variants": { "variantMeta": [ { "name": "actual_color" } ], "variantData": [ { "productImageUrl": "https://i5.walmartimages.com/asr/82b8c484-651b-4e50-979c-42164649b8c5_1.bcf0b3a35d5767ee402c06b26a25f191.jpeg?odnHeight=180&odnWidth=180&odnBg=ffffff", "itemId": "936491618", "isAvailable": "Y", "title": "iPad mini 3/ 2 /1 Case, ULAK Three Layer Hybrid Heavy Duty Shockproof Protective Case with Kickstand for Apple iPad Mini,iPad Mini 2,iPad Mini 3", "variantValues": [ { "name": "actual_color", "value": "Black/Black" } ] }, { "productImageUrl": "https://i5.walmartimages.com/asr/e3d7c2bd-55d2-41ab-97b8-59c441918307_1.5f96dab5b8eddf4eb4857103a8c54913.jpeg?odnHeight=180&odnWidth=180&odnBg=ffffff", "itemId": "865777580", "isAvailable": "N", "title": "iPad mini 3 Case, iPad mini 2 Case, iPad mini Case, ULAK Three Layer Hybrid Heavy Duty Shockproof Protective Case with Kickstand for Apple iPad Mini,iPad Mini 2,iPad Mini 3", "variantValues": [ { "name": "actual_color", "value": "Black/Blue" } ] }, { "productImageUrl": "https://i5.walmartimages.com/asr/556cc5a5-e729-4e48-b801-0146bbc97cdb_1.97507cfd7df5ca0fb6570e6a36495016.jpeg?odnHeight=180&odnWidth=180&odnBg=ffffff", "itemId": "393016031", "isAvailable": "N", "title": "iPad mini 3/ 2 /1 Case, ULAK Three Layer Hybrid Heavy Duty Shockproof Protective Case with Kickstand for Apple iPad Mini,iPad Mini 2,iPad Mini 3", "variantValues": [ { "name": "actual_color", "value": "Blue+Lime Green" } ] }, { "productImageUrl": "https://i5.walmartimages.com/asr/5920a66b-a944-47c5-8ada-d1621d379ca9_1.4a20b40c528c6f8553f66043f38841e7.jpeg?odnHeight=180&odnWidth=180&odnBg=ffffff", "itemId": "451755050", "isAvailable": "Y", "title": "iPad mini 3/ 2 /1 Case, ULAK Three Layer Hybrid Heavy Duty Shockproof Protective Case with Kickstand for Apple iPad Mini,iPad Mini 2,iPad Mini 3", "variantValues": [ { "name": "actual_color", "value": "Mint Green/Grey" } ] }, { "productImageUrl": "https://i5.walmartimages.com/asr/ba395bef-48bf-46ac-8322-962e381c4e81_1.ea83239b1d41dc6e49521c2d1026f9f5.jpeg?odnHeight=180&odnWidth=180&odnBg=ffffff", "itemId": "800154739", "isAvailable": "Y", "title": "iPad Mini Case,iPad Mini 2 Case,iPad Mini 3 Case,iPad mini Retina Case,ULAK Three Layer Heavy Duty Shockproof Protective Case Cover Kickstand, Pink", "variantValues": [ { "name": "actual_color", "value": "Rose Gold/Rose Gold" } ] } ] }, "next_day_eligible": false } } ]
}

Query, GTIN, or UPC search response for US market

{ "items": [ { "itemId": "5599914216", "isMarketPlaceItem": false, "images": [ { "url": "https://i5.walmartimages.com/seo/Morgan-Bridges-Once-You-re-Mine-A-Dark-Stalker-Romance-Paperback-9781538772164_1707fedb-0c9a-47f5-bc76-bb7492336007.13d2b2bf1c292d9d0f7cb97008adb71b.jpeg" } ], "customerRating": "4.7", "price": { "amount": "9.68", "currency": "USD" }, "description": "<li>Format:Paperback</li><li>Publication Date: 2024-08-20</li>", "title": "Once You're Mine: A Dark Stalker Romance (Paperback)", "brand": "Morgan Bridges", "productType": "Books", "properties": { "numReviews": "198", "categories": [ "Books", "Literature & Fiction Books", "Romance Books", "Suspense Romance Books" ] } }, { "itemId": "1738959383", "isMarketPlaceItem": false, "images": [ { "url": "https://i5.walmartimages.com/seo/Freida-McFadden-The-Housemaid-Paperback-9781538742570_1d3dd1e5-8c0d-4897-9648-1acea1ca0676.998453174ab9649d702c4b1fae738745.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF" } ], "customerRating": "4.7", "description": "<li>Author: Freida McFadden</li><li>ISBN: 9781538742570</li><li>Format: Paperback</li><li>Publication Date: 8/23/2022</li>", "title": "The Housemaid (Paperback)", "brand": "Freida McFadden", "productType": "Books", "properties": { "variantItemsNum": "2", "numReviews": "548", "categories": [ "Shop with Purpose", "Built for Better", "For Community", "Celebrate her", "Women-led Books" ], "variants": { "variantMeta": [ { "name": "book_format" } ], "variantData": [ { "productImageUrl": "https://i5.walmartimages.com/asr/1d3dd1e5-8c0d-4897-9648-1acea1ca0676.998453174ab9649d702c4b1fae738745.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF", "itemId": "1738959383", "isAvailable": "Y", "title": "The Housemaid (Paperback)", "variantValues": [ { "name": "book_format", "value": "Paperback" } ] }, { "productImageUrl": "https://i5.walmartimages.com/asr/10bb19f7-8207-41c1-a957-6162d32d17bd.2b011f6c0a3a3880a961a9008ab576a0.png?odnHeight=180&odnWidth=180&odnBg=FFFFFF", "itemId": "11217868073", "isAvailable": "N", "title": "The Housemaid Spiral (Spiral Bound)", "variantValues": [ { "name": "book_format", "value": "Spiral-Bound" } ] } ] }, "nextDayEligible": true } }, { "itemId": "693317719", "isMarketPlaceItem": false, "images": [ { "url": "https://i5.walmartimages.com/seo/Where-the-Crawdads-Sing-Book-ISBN-9780735219090-Edition-1-Paperback_d9ac971c-f6ac-4e2b-a9c5-f1e572ef5a3d.74d20869a4f2481ae49457b74c41e689.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF" } ], "customerRating": "4.8", "description": "<li>Format:Hardcover</li><li>Publication Date: 2018-08-14</li>", "title": "Where the Crawdads Sing, Book ISBN: 9780735219090, Edition 1 Paperback", "brand": "Delia Owens", "productType": "Books", "properties": { "variantItemsNum": "2", "numReviews": "184", "categories": [ "Books", "Literature & Fiction Books", "Fiction Novels", "Literary Novels" ], "variants": { "variantMeta": [ { "name": "dubbed_languages" } ], "variantData": [ { "productImageUrl": "https://i5.walmartimages.com/asr/a6a56d82-36cd-46f9-80d1-288719343b2e.66a006c90e892baff45cab47201f2569.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF", "itemId": "453100401", "isAvailable": "Y", "title": "Where the Crawdads Sing Deluxe Edition (Hardcover)", "variantValues": [ { "name": "dubbed_languages", "value": "English" } ] }, { "productImageUrl": "https://i5.walmartimages.com/asr/d1837e71-2145-4c2f-8da0-a52ed4f6be00_1.cc0013401f191fd5d2976acd9dabbc13.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF", "itemId": "748150055", "isAvailable": "Y", "title": "Delia Owens: La Chica Salvaje / Where the Crawdads Sing (Paperback)", "variantValues": [ { "name": "dubbed_languages", "value": "Spanish" } ] } ] }, "nextDayEligible": false } } ], "relatedQueries": []
}

Response sample (spec-format MP_ITEM)

{ "items": [ { "feedType": "MP_ITEM", "version": "5.0.20260205-21_38_48-api", "productType": "Woodwind Instrument Replacement Parts", "itemSpecPayload": { "MPItemFeedHeader": { "locale": "en", "version": "5.0.20260205-21_38_48-api", "businessUnit": "WALMART_US" }, "MPItem": [ { "Orderable": { "specProductType": "Woodwind Instrument Replacement Parts", "batteryTechnologyType": "Does Not Contain a Battery", "productIdentifiers": { "productId": "06702124049005", "productIdType": "GTIN" }, "electronicsIndicator": "No", "releaseDate": "2000-01-01", "externalProductIdentifier": [ { "externalProductIdType": "ASIN", "externalProductId": "0001081753" } ], "chemicalAerosolPesticide": "No" }, "Visible": { "Woodwind Instrument Replacement Parts": { "warrantyText": "No", "isProp65WarningRequired": "No", "material": [ "Metal" ], "has_written_warranty": "No", "isCollectible": "No", "netContent": { "productNetContentUnit": "Each", "productNetContentMeasure": 1 }, "shortDescription": "This comprehensive sheet music for wind ensemble, titled \"Quasi improvvisando,\" features parts for a wide array of woodwind and brass instruments. It includes arrangements for Flute, Piccolo, 2 Oboes, Clarinet, Bass Clarinet, Bassoon, Contrabassoon, 2 French Horns, and Trumpet (C).", "keyFeatures": [ "Quasi Improvvisando Wind Ensemble Sheet Music for Flute, Piccolo, Oboes, Clarinet, Bassoon, French Horns, Trumpet:", "Musical Instrument Style: Wind Ensemble", "Instruments Included: Flute, Piccolo, 2 Oboes, Clarinet, Bass Clarinet, Bassoon, Contrabassoon, 2 French Horns, Trumpet (C)", "Format: Sheet Music Partition", "Manufacturer ID: ED6762", "Publication Date: January 1, 2000" ], "brand": "Jean Franaix", "warrantyURL": "https://www.toolweb.com/", "productName": "Quasi Improvvisando Wind Ensemble Sheet Music for Flute, Piccolo, Oboes, Clarinet, Bassoon, French Horns, Trumpet", "prop65WarningText": "California residents: This product can expose you to chemicals including diethylhexyl phthalate or lead, which are known to the State of California to cause cancer and birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov." } } } ] } } ]
}

Canada, Mexico, and Chile response attributes

For Canada (CA), Mexico (MX), and Chile (CL), the Item Search API returns different attribute sets depending on the search method. These are the limited attributes currently available for these markets.

Keyword-based search (query)

When you search using a keyword (query), the response includes:

  • Item metadata: Item ID, condition, image URL, description, title, brand, and similar catalog metadata
  • Pricing: price and currency
  • Variant information: variant type details (for example, variant name and related item references)

Identifier-based search (GTIN / UPC)

When you search using GTIN or UPC, the response includes the following limited set of attributes currently available for Canada (CA), Mexico (MX), and Chile (CL):

  • Item ID
  • Condition
  • Image URL
  • Title
  • Brand
  • Product type
  • Category

Next steps

  • Persist key identifiers for downstream catalog and listing workflows.
  • Add request logging with WM_QOS.CORRELATION_ID for traceability and support.
  • Refer to the API reference documentation or query parameter details, throttling expectations, and current status and error behavior.

Did this page help you?