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

The agent storefront at https://agents.scrapeunblocker.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 scrapers

Grocery & delivery

Bodega Aurrera Scraper

bodegaaurrera.com.mx

100% Success rate
2.4s Avg response
PerimeterX Protection
1,019 calls Measured over

Bodega Aurrera, Walmart de Mexico's discount supermarket chain, sells groceries, household goods and general merchandise online on Walmart's platform, behind the same PerimeterX bot check as walmart.com. Two dedicated plugin endpoints read its pages and return the data already parsed. Give the search endpoint a keyword - like 'leche' or 'detergente' - and it returns the products: item id, name, brand and link, the price in pesos, the crossed-out price and the savings when the product is on promotion, the unit price, the star rating and review count, availability, the seller (Bodega Aurrera or a marketplace seller), the department and category path, badges such as Rebaja, the pickup and delivery labels, a sponsored flag and the image. Sort by relevance or price, start at any page and collect up to 132 products in one call (about 44 per page). The product endpoint takes an item id or a product link and adds the UPC, the order limit, the rating with its 1-5 star split, the short and long descriptions, the specification table, ingredients when listed, the pickup and delivery messages and the full image gallery. Prices and availability are those of the store Bodega Aurrera assigns a new visitor, which the answer names; a store or postal code cannot be chosen. No Bodega Aurrera account, login or API key is involved.

What you can extract

  • Item id, name, brand, product link and image
  • Price in pesos, the crossed-out price and savings on a promotion, unit price and price range
  • Star rating and review count; per product the 1-5 star split
  • Availability, seller (Bodega Aurrera or a marketplace seller) and seller type
  • Department, category path, badges and the pickup / delivery labels; sponsored flag
  • Search by keyword or a Bodega Aurrera search link, by relevance or price; up to 132 products per call
  • Product: UPC, order limit, descriptions, specifications, ingredients, fulfillment messages, the store the price is for and all images

Dedicated endpoints

/groceries/bodegaaurrera-search

A product search on Bodega Aurrera

Bodega Aurrera search results for a keyword (query): a products array with position, productId, name, brand, url, price, wasPrice, savings, unitPrice, priceRange, currency, rating, reviewCount, availability, availabilityText, inStock, seller, sellerType, salesUnit, department, category, badges, fulfillment, sponsored and image, plus storeId (the store the prices are for), totalResults, pagesFetched, hasMore and nextPage. sort is relevance, price_low or price_high, page picks the first results page, max_results 1-132 (about 44 per page, each page fetched is one request), and url takes a Bodega Aurrera search link instead. A search with no products answers 404.

/groceries/bodegaaurrera-product

One Bodega Aurrera product

One product by product_id (the item id, e.g. 00750649502153) or by url (an /ip/ link): product with productId, name, brand, url, upc, model, price, wasPrice, savings, unitPrice, currency, installments, availability, availabilityText, inStock, orderLimit, orderMinimum, salesUnit, seller, sellerId, sellerType, rating, reviewCount, ratingBreakdown, category, productType, shortDescription, description, ingredients, specifications, badges, fulfillment, fulfillmentOptions, store (storeId, postalCode, city, state, name), image and images. An unknown product answers 404.

How to scrape it

curl -X POST \
  -H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
  "https://api.scrapeunblocker.com/groceries/bodegaaurrera-search?query=leche&max_results=44"
import requests

resp = requests.post(
    "https://api.scrapeunblocker.com/groceries/bodegaaurrera-search",
    headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
    params={"query": "leche", "max_results": "44"},
)
print(resp.text)
import { ScrapeUnblockerClient } from 'scrapeunblocker';

const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });

const results = await su.bodegaaurreraSearch('leche', {
  sort: 'price_low',
});
const product = await su.bodegaaurreraProduct({ productId: '00750649502153' });
console.log(results);
console.log(product);

Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.

Example response

{
  "query": "leche",
  "sort": "relevance",
  "page": 1,
  "url": "https://www.bodegaaurrera.com.mx/search?q=leche",
  "currency": "MXN",
  "storeId": "3874",
  "correctedQuery": null,
  "totalResults": 146,
  "resultsCollected": 2,
  "pagesFetched": 1,
  "lastPageFetched": 1,
  "hasMore": true,
  "nextPage": 2,
  "products": [
    {
      "productId": "00750649502153",
      "name": "Leche Great Value entera 1 l",
      "brand": "Great Value",
      "url": "https://www.bodegaaurrera.com.mx/ip/Leche-Great-Value-entera-1-l/00750649502153",
      "price": 20,
      "wasPrice": null,
      "savings": null,
      "unitPrice": null,
      "priceRange": null,
      "currency": "MXN",
      "rating": 4.8,
      "reviewCount": 5,
      "availability": "IN_STOCK",
      "availabilityText": "Disponible",
      "inStock": true,
      "seller": "Bodega Aurrera",
      "sellerType": "INTERNAL",
      "salesUnit": "EACH",
      "department": "Lácteos",
      "category": [
        "Lácteos",
        "Leche",
        "Leche Entera"
      ],
      "badges": [
        "MSI"
      ],
      "fulfillment": [
        "Recoge sin costo hoy"
      ],
      "sponsored": false,
      "image": "https://i5-mx.walmartimages.com/asr/541cfa95-4ecf-459a-9c09-696290caa2fc.cb14d6c0f59b9018ff9f9bf38cc90099.jpeg",
      "position": 1
    },
    {
      "productId": "00750102054066",
      "name": "Producto Lácteo Combinado Nutri Entero Lacti-Pro Max 1 l",
      "brand": "Nutri",
      "url": "https://www.bodegaaurrera.com.mx/ip/Producto-Lacteo-Combinado-Nutri-Entero-Lacti-Pro-Max-1-l/00750102054066",
      "price": 19,
      "wasPrice": 27,
      "savings": 8.0,
      "unitPrice": null,
      "priceRange": null,
      "currency": "MXN",
      "rating": 3.6,
      "reviewCount": 12,
      "availability": "IN_STOCK",
      "availabilityText": "Disponible",
      "inStock": true,
      "seller": "Bodega Aurrera",
      "sellerType": "INTERNAL",
      "salesUnit": "EACH",
      "department": "Lácteos",
      "category": [
        "Lácteos",
        "Leche",
        "Leche Entera"
      ],
      "badges": [
        "Rebaja"
      ],
      "fulfillment": [
        "Recoge sin costo hoy"
      ],
      "sponsored": false,
      "image": "https://i5-mx.walmartimages.com/asr/bd6ce6ac-9f7f-4ff4-b1bd-977ff913c964.ca18774ddd9f4af6a4d8361923980334.jpeg",
      "position": 2
    }
  ]
}

Read the API docs

Frequently asked questions

Is it legal to scrape Bodega Aurrera?

Collecting publicly available Bodega Aurrera data such as product names, prices, promotions and ratings is lawful in many jurisdictions, but the rules depend on your country, the data you collect and how you use it. ScrapeUnblocker returns the public listings that any visitor sees; what you collect and how you use it is your responsibility.

How do I scrape Bodega Aurrera without getting blocked?

Bodega Aurrera runs on Walmart's platform behind PerimeterX, which sends requests it does not trust to a block page and asks some browsers to press and hold. The plugins send each request the way a visitor's browser would, over ISP exits, read the data Walmart's platform embeds in the page, move to a fresh exit after a refusal, and keep a stealth browser only as a fallback. In ScrapeUnblocker's benchmark it returned real data on 100% of 1,019 calls, about 2.4s per call: 572 searches, each a different keyword, sort or page, at about 2.6s, and 447 product pages at about 2.1s.

Which store are the prices for?

The store Bodega Aurrera assigns a new visitor; the search answer names it in storeId and the product answer in store, with its name, city and postal code. Bodega Aurrera keeps a shopper's chosen store in signed cookies and ignores a store named in the link, so a store or postal code cannot be chosen.

How much does it cost to scrape Bodega Aurrera?

Each results page of about 44 products is one request, and one product is one request. 1 request = 1 credit, EUR 1.00 per 1,000 on pay as you go, down to about EUR 0.55 per 1,000 on the Ultimate plan. Blocks and timeouts are not billed, and the free trial includes 500 requests with no card.

Related scrapers

Bodega Aurrera and other names and marks of bodegaaurrera.com.mx belong to their owner and are used here only to identify the website this API works with. ScrapeUnblocker is an independent service, not affiliated with, endorsed by or sponsored by the owner of bodegaaurrera.com.mx.

Start scraping this site today

Free tier included. No credit card required to test it.