BigCommerce Scraper API

This API allows you to scrape product information from BigCommerce category pages.

API Usage

Endpoint

GET /api/scrape

Query Parameters

Note: You must provide either url or site, but not both.

Example Requests

Using URL:

curl "https://tatera.io/api/scrape?url=https://store.example.com/shop-all/"

Using Site Name:

curl "https://tatera.io/api/scrape?site=oldforester&sort=price_desc"

Example Response

{
  "products": [
    {
      "name": "Product Name",
      "sku": "SKU123",
      "product_id": "123",
      "url": "https://store.example.com/product/",
      "price": "$99.99",
      "categories": ["Category 1", "Category 2"],
      "image": "https://store.example.com/image.jpg",
      "description": "Product description",
      "atc_url": "https://shop.oldforester.com/cart.php?action=buy&sku=SKU123"
    }
  ],
  "total_products": 1
}

Error Responses

The API may return the following error responses: