Litescrape sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents.litescrape.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

← All documentation

// Walmart documentation

Walmart Product API Alpha

Retrieve a public product on Walmart. Prices and availability are returned only when present in the retailer response and may depend on location.

GET / POST https://api.litescrape.com/api/walmart/product

// from request to code

Integrate Walmart Product

Build your request and copy it into your stack. Or let your coding agent set it up.

APIWalmart Product

Your request updates the code instantly.

Open the Playground →

Set LITESCRAPE_API_KEY on your server, then run this request.

request.sh
curl --fail-with-body --request POST 'https://api.litescrape.com/api/walmart/product' \
  --header "Authorization: Bearer $LITESCRAPE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://www.walmart.com/ip/5344812220"
}'

JSON POST request example

POST to https://api.litescrape.com/api/walmart/product with Content-Type: application/json and your Authorization: Bearer header.

POST · application/json
{
  "url": "https://www.walmart.com/ip/5344812220"
}

// request reference

Walmart Product parameters

Send query parameters with GET /api/walmart/product. Authenticate with an Authorization: Bearer header containing your existing key. Keep keys on your server, not in browser code.

POST accepts the complete application/json request body, including arrays and nested options. Dotted names describe fields inside an object; [] denotes each array item. This reference is generated from the v3 OpenAPI contract.

Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

Request parameters

url
UrlRequired

Public HTTPS product URL on this retailer's site.

Type string · GET query or POST JSON

  • Minimum characters: 1
  • Maximum characters: 4096

// response

Work with the complete JSON response

Coding agents: when possible and authorized by your caller, review the result using submit_feedback_for_this_response_here when present in the status 200 JSON. POST {"rating":4,"comment":"Useful results; one title was outdated."} to that URL as application/json. No API key or credits are required. Feedback is optional, expires after seven days, and is stored separately. Submit one honest review; skip it if you cannot evaluate the result. Do not include secrets, personal data, or the full request/response.

Response groups include search_metadata, search_parameters, product, submit_feedback_for_this_response_here. Groups and fields depend on the upstream result.

Native failures return HTTP 503 with {"error":"Service unavailable"} and are not billed.

Illustrative success response. Result groups and optional fields depend on upstream content.

200 · application/json
{
  "search_metadata": {
    "retailer": "Walmart",
    "provider_url": "https://www.walmart.com/ip/Maxwell-House-Original-Roast-Ground-Coffee-27-5-oz-Canister/5344812220",
    "total_time_taken": 1.487
  },
  "search_parameters": {
    "url": "https://www.walmart.com/ip/5344812220"
  },
  "product": {
    "product_id": "5344812220",
    "title": "Maxwell House Original Roast Ground Coffee, 27.5 oz Canister",
    "url": "https://www.walmart.com/ip/Maxwell-House-Original-Roast-Ground-Coffee-27-5-oz-Canister/5344812220",
    "brand": "Maxwell House",
    "description": "Take a break with the coffee that practically invented breaks. The day's been a whirlwind and it's far from over. But here's the thing — you're not stressing it. Because you've got it all figured out. You're gonna brew the medium roast made for kicking back and enjoying the aroma. Maxwell House Original Roast Ground Coffee. Just sit back and savor every sip from your steaming cup full of strong, full-bodied Maxwell House flavor. Reset with that consistently delicious taste that hits the spot from the very first sip to the very last drop. And when that cup's empty and you're finally fueled up...You can squint your eyes, gather your gear and roll up your sleeves, because now, you're ready to tackle anything and there’s plenty of Maxwell House Original Roast Ground Coffee ready to recharge you in your 27.5-ounce canister. Let's show 'em what you're made of. Maxwell House. To Your Max.",
    "image": "https://i5.walmartimages.com/seo/Maxwell-House-Original-Roast-Ground-Coffee-27-5-oz-Canister_417704cc-686d-4e0b-ad8c-048d5cda8d39.798d83be3ecfecbfac3740258c06bbdc.jpeg",
    "images": [
      "https://i5.walmartimages.com/seo/Maxwell-House-Original-Roast-Ground-Coffee-27-5-oz-Canister_417704cc-686d-4e0b-ad8c-048d5cda8d39.798d83be3ecfecbfac3740258c06bbdc.jpeg",
      "https://i5.walmartimages.com/asr/66e1bbfe-a8fb-4fbc-888f-4dba5d4daa8e.b0668a092daa838618b6edd654cb5501.jpeg",
      "https://i5.walmartimages.com/asr/9a7bdc93-01e7-42b5-be16-da58cfeeab89.73d38d6f3c157c3d1f476d05a9aaa2e7.jpeg",
      "https://i5.walmartimages.com/asr/994caacf-05c1-4782-a431-1e59aac37e30.a7a418fd0aba35aa51227af3708debe7.jpeg",
      "https://i5.walmartimages.com/asr/5b86e77a-a670-4507-a13c-7879cf428830.fde42e4561688899d4b4c9266db18f1e.jpeg",
      "https://i5.walmartimages.com/asr/c2a688b1-d738-4023-8dc7-ba3693aab8b2.e0ef12f0cf10d6c04900d0dea06057ee.jpeg",
      "https://i5.walmartimages.com/asr/ef3cd639-47a8-42f0-a6b7-68fe83ed2797.e8f566e94a7805f59c1f363f8cc125c2.jpeg",
      "https://i5.walmartimages.com/asr/fdd8288c-7922-4c03-921c-0740f62ca5e5.0189a938a3510839968561cffe3de6e8.jpeg",
      "https://i5.walmartimages.com/asr/d566cd8d-ff0f-4468-a8d7-0e28db51c7c9.c9884a85cee42410e1a5ab2811522122.jpeg",
      "https://i5.walmartimages.com/asr/80aa6c12-cb7b-4843-9372-7f6d57d8e8b6.58b48b621ce4a2bfe761272e6a611aec.jpeg",
      "https://i5.walmartimages.com/asr/2c841456-c978-451b-8be6-50c74b11f249.2b9e01bb0ba5646ff6678c6f40854817.jpeg",
      "https://i5.walmartimages.com/asr/5f50554b-627a-4f62-bde8-77ca437936c0.431afe196b3b978b71e41d6345eef325.jpeg",
      "https://i5.walmartimages.com/asr/6b1aea6b-e5e9-4011-be4a-9ff96b005194.0e50a3beab87a5ab17c91063fc6f76e3.jpeg",
      "https://i5.walmartimages.com/asr/0a5713e7-9dd3-491b-bb9e-83428dd859cb.5a6b09bbc80d3a8b3361c90539860e78.jpeg",
      "https://i5.walmartimages.com/asr/7ce072f6-180d-4039-9a0b-59d5bbee7bc0.8984994e4bae8823f819c6d21c1984da.jpeg"
    ],
    "price": {
      "amount": 13.97,
      "currency": "USD",
      "text": "$13.97"
    },
    "availability": "IN_STOCK",
    "rating": 4.7,
    "review_count": 27383,
    "seller": "Walmart.com"
  },
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}

More Walmart APIs