Markdown
All endpoints

Walmart product search

GET/v1/products/walmart/search

Get product ID, price, rating, seller and whether it is sponsored.

Price

Price
$0.00135 per call
Nothing found
Not charged when nothing is found
No data fetched
Not charged

Each call holds this price, charges it only when data is returned and releases it otherwise. This rule is for data endpoints only: when collecting AI answers, a no-answer or refused result is still a result and is charged.

Parameters

querystringRequired

The search query. Up to 500 characters.

Headers

AuthorizationRequired

Bearer followed by your API key.

Idempotency-KeyRecommended

An ID you choose, up to 255 characters with no spaces. After a network error, resend with the same value and nothing is run or charged twice. It is remembered for 24 hours. The same value with different parameters returns idempotency_conflict.

X-Max-PriceOptional

The most you are willing to spend in US dollars, such as 0.50. If the request could cost more, it is refused: nothing runs and nothing is charged.

X-SourceOptional

Your own label, such as the product the call came from, up to 100 characters. Usage can be broken down by it.

X-End-UserOptional

Your own label for the end user this call serves, up to 100 characters. Do not put names, emails or other personal data in it.

Response

A successful call returns HTTP 200 with the data in data.items, a list of Product objects. Every field is always present: [] means none this time and null means not available or unknown. What the call cost is in meta.billing.

FieldTypeDescription
positionintegerPosition in the list, starting at 1
titlestring | nullTitle
urlstring | nullURL
pricenumber | nullThe price, given only when it can be read exactly; masked prices and ranges are null
currencystring | nullCurrency
price_textstring | nullThe price exactly as the platform shows it
original_pricenumber | nullList price
sellerstring | nullSeller
platformstring | nullThe platform it is on
ratingnumber | nullRating
review_countinteger | nullNumber of reviews
product_idstring | nullProduct ID
sku_idstring | nullSKU ID
brandstring | nullBrand
image_urlstring | nullProduct image
labelstring | nullA recommendation or promotion label from the platform
availabilitystring | nullAvailability
deliverystring | nullDelivery note
discountstring | nullDiscount note
offersOffer[] | nullOffers from individual sellers
sponsoredboolean | nullWhether it is sponsored

Nested objects

Offer7 fields
FieldTypeDescription
sellerstring | nullSeller
pricenumber | nullPrice
currencystring | nullCurrency
price_textstring | nullThe price exactly as the platform shows it
urlstring | nullURL
availableboolean | nullWhether it is in stock
labelstring | nullA recommendation or promotion label from the platform
meta7 fields
FieldTypeDescription
capabilitystringEndpoint ID
result_status"complete" | "partial" | "empty"complete: everything. partial: only part of it. empty: nothing found
fetched_atstringWhen the data was fetched
cachedbooleanWhether the result came from a cache. Always false at present
replayedbooleanWhether this is the earlier result returned again for the same Idempotency-Key
unavailablestring[]Fields that could not be provided this time
billing{ amount: string, currency: "USD", balance_after: string | null }What this call was charged and the balance afterwards

Common errors

An error means nothing was charged, except settlement_unknown: it means billing is not known yet, so ask again with the same Idempotency-Key. See every error code.

ErrorHTTPMeaningCharged?
invalid_params400A parameter is invalidNot charged
max_price_exceeded400The most this could cost is above the limit you setNot charged
insufficient_balance402The balance is too lowNot charged
key_budget_exceeded402This key's spending limit does not cover itNot charged
idempotency_conflict409This Idempotency-Key was used for a different requestNot charged
upstream_failed502No result came back this time and nothing was charged; retry shortlyNot charged
timeout504The data did not arrive in time; nothing was chargedNot charged
upstream_busy503Busy now; retry shortlyNot charged
call_in_progress409The call under this Idempotency-Key is still running; ask again with the same key shortlyNot charged
settlement_unknown500Whether this was charged is not known yet; ask again with the same Idempotency-KeyUnknown yet
unauthorized401No credential was sent, or it is invalid, disabled or expiredNot charged
rate_limited429Too many requests, or too many calls in progressNot charged