API Walmart

Walmart Recherche API

Search Walmart by keyword with optional sort, price-range, facet, and page filters and get title, price, rating, seller, and availability for each product in one normalized response.

POST/v1/run/walmart.search
Disponibilité
99,71%
30d · 2 063 appels
Requêtes
2 063
30 j · par semaine, 12 dernières sem.
Réponse
3,4s
médiane · 30d

Tarifs et fournisseurs

Tarifs de l’API Walmart Recherche : une API, 2 fournisseurs interchangeables

Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.

Vous payez
9,00 $US
0,90 $US/1k req, seulement pour ce que vous utilisez. Aucun forfait mensuel.
Vos 111 premières requêtes sont gratuites avec le solde de départ de 0,10 $US.

Essayer

Obtenez Walmart Recherche en une requête

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `totalPages`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Ouvrir dans
Obtenir une clé gratuite
Exemple de réponse
Les exécutions gratuites ne renvoient que les 3 premiers résultats. Alimentez une clé pour obtenir la réponse complète.
{
  "data": {
    "items": [
      {
        "availability": "example",
        "brand": "Acme Inc",
        "currency": "USD",
        "image": "https://example.com/image.jpg",
        "inStock": true,
        "isSponsored": true,
        "itemId": "a1b2c3d4",
        "listPrice": 19.99,
        "position": 1,
        "price": 19.99,
        "rating": 4.6,
        "reviewsCount": 12500,
        "sellerId": "a1b2c3d4",
        "sellerName": "Example title",
        "title": "Example title",
        "url": "https://example.com/page"
      }
    ],
    "totalPages": 12500,
    "totalResults": 12500
  },
  "found": true,
  "reason": "not_found"
}

Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.

Référence

Une requête, une seule forme de réponse.

Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.

Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d

Corps de la requête

JSON, envoyé à cet endpoint.

  • querystring

    airpods

    Search keywords, e.g. "airpods" or "paper towels".

  • facetstring

    Optional Walmart facet filter token, e.g. brand:HP to keep only HP products.

  • maxPricenumber

    Optional maximum product price in USD.

  • minPricenumber

    Optional minimum product price in USD.

  • pageinteger

    1-based results page of about 40 to 60 products; Walmart serves no products past page 10. Each page is billed as one request. Walmart re-ranks between requests, so consecutive pages can repeat a product: deduplicate on itemId.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `totalPages`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.

  • sortenum

    best_seller

    Result sort order; omit for Walmart's Best Match (e.g. price_low sorts by lowest price first).

Vous envoyez. Un petit corps JSON. Les valeurs affichées sont des exemples à remplacer par les vôtres.

Réponse

JSON, une valeur d’exemple par champ.

each itemdata.items[]

Matching Walmart product records for the requested page. Populated whenever the provider has data for the entity.

  • availabilitystring

    Stock status as Walmart reports it, e.g. "IN_STOCK" or "OUT_OF_STOCK".

  • brandstring

    Brand name, or null when Walmart omits it from the search grid (it publishes brand on clothing-style grids and on no row elsewhere; the Walmart Product SKU always carries it).

  • currencystring

    Price currency code, e.g. "USD"; empty when no price is shown.

  • imagestring

    Primary product image URL. Populated whenever the provider has data for the entity.

  • inStockboolean

    True when the product is in stock, false when it is not, or null when not reported.

  • isSponsoredboolean

    True when the result is a sponsored placement.

  • itemIdstring

    Walmart US item id (usItemId), the number in a walmart.com/ip/ URL; use the product URL with the Walmart Product or Walmart Reviews SKU. Populated whenever the provider has data for the entity.

  • listPricenumber

    Pre-discount "was" price when the product is on sale, or null when it is not discounted.

  • positioninteger

    1-based position of the result in this page.

  • pricenumber

    Current price in USD as a number, or null when the result shows no current price. Populated whenever the provider has data for the entity.

  • ratingnumber

    Average customer rating, 0-5, or null when the product is unrated.

  • reviewsCountinteger

    Number of customer ratings, or null when the product has none.

  • sellerIdstring

    Identifier of the seller fulfilling the shown offer.

  • sellerNamestring

    Name of the seller fulfilling the shown offer.

  • titlestring

    Product title. Populated whenever the provider has data for the entity.

  • urlstring

    Walmart product page URL with tracking query parameters removed. Populated whenever the provider has data for the entity.

datadata

Search result wrapper, or null when nothing matched.

  • totalPagesintegerpeut exiger

    Highest page number available for the query; request pages 1 through this value. Absent or null when the serving source does not report it.

  • totalResultsinteger

    Total number of matching products Walmart reports for the query, or null when not reported.

top level
  • foundboolean

    True when the search returned at least one product.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Vous recevez. Des champs nommés et typés, dans la même forme quelle que soit la source qui répond.

FAQ

À propos de l’API Walmart Recherche

L’API Walmart Recherche d’AnyAPI renvoie des données Walmart en JSON normalisé à partir d’un appel POST à /v1/run/walmart.search. Search Walmart by keyword with optional sort, price-range, facet, and page filters and get title, price, rating, seller, and availability for each product in one normalized response. AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 0,90 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 99,7% des appels Walmart Recherche passés par AnyAPI ont réussi, avec un temps de réponse médian de 3,4 secondes, sur 2 063 appels mesurés.

Elle coûte à partir de 0,90 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Vous alimentez un portefeuille en USD et chaque appel le débite. Certaines requêtes échouées financées par le portefeuille entraînent des frais de traitement que nous répercutons au prix coûtant, sans marge ; la réponse d’erreur indique le montant facturé.

Search Walmart by keyword with optional sort, price-range, facet, and page filters and get title, price, rating, seller, and availability for each product in one normalized response. La réponse est du JSON normalisé avec la même enveloppe que celle de tous les endpoints AnyAPI, donc analyser un second endpoint revient à changer l’URL et rien d’autre.

Ces 30 derniers jours, 99,7% des appels Walmart Recherche passés par AnyAPI ont réussi, avec un temps de réponse médian de 3,4 secondes, sur 2 063 appels mesurés. Ce sont les propres mesures d’AnyAPI du trafic passant par la passerelle, recalculées en continu, et non un objectif de niveau de service publié.

Oui. Un nouveau compte AnyAPI démarre avec 0,10 $US de solde gratuit, sans carte, ce qui couvre 111 appels Walmart Recherche à 0,0009 $US chacun.

AnyAPI interroge la suivante de ses 2 sources dans la même requête, la moins chère d’abord, donc la panne d’une source ne fait pas échouer votre appel.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/walmart.search avec votre clé AnyAPI dans un en-tête « Authorization: Bearer » et l’entrée en corps JSON. La même clé et le même portefeuille fonctionnent sur tous les endpoints AnyAPI.

Non. Vous ajoutez des dollars US à un solde AnyAPI prépayé unique et chaque requête le débite. Il n’y a ni forfait mensuel ni minimum, et le même solde paie tous les endpoints AnyAPI.

Oui. Installez @getanyapi/sdk depuis npm pour TypeScript ou getanyapi depuis pip pour Python. Les deux appellent chaque endpoint AnyAPI avec la même clé, et n’importe quel client HTTP fonctionne aussi.

Oui. Un agent peut se connecter au serveur MCP d’AnyAPI à https://api.getanyapi.com/mcp, ou créer sa propre clé d’essai gratuit avec un seul POST non authentifié vers https://api.getanyapi.com/agent/signup et appeler cet endpoint en HTTP.