Skip to content

About

ASOS scraper API: ASOS Product Details, ASOS Product Search as clean JSON. Python examples with requests, Scrapy, asyncio and the DataGuru SDK.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

ASOS Scraper API

Scrape ASOS with a JSON API. This repo has working Python examples for DataGuru's ASOS scraper APIs: ASOS Product Details and ASOS Product Search.

DataGuru runs the scraping, proxies, retries and parsing, and returns clean JSON. You pay only for successful requests, from $0.0012 per request, out of a prepaid balance: no subscription. New accounts get $1.00 of free credit.

ASOS APIs

API What it returns Price Page
ASOS Product Details Get product details from an ASOS product URL, including price and discount, stock per size, colour, description, fit and care information, materials, ratings and recent reviews, and images. $0.0022 https://dataguru.cc/apis/asos-product-details/
ASOS Product Search Search ASOS by keyword and get matching fashion products with titles, brands, prices and discounts, colours, images and selling-fast flags. $0.0012 https://dataguru.cc/apis/asos-product-search/

Quick start

  1. Create a free account and an API key at dashboard.dataguru.cc.
  2. Install and run:
git clone https://github.com/dataguru-cc/asos-scraper-api.git
cd asos-scraper-api
pip install -r requirements.txt
export DATAGURU_API_KEY="your key"
python examples/sdk_example.py asos-product-details

Examples

Every example covers all 2 ASOS APIs. Pass an API name to run just one; with no name each script runs them all, and each call is billed at the price above.

File Style Run
examples/sdk_example.py DataGuru Python SDK (pip install dataguru-sdk), one function per API, saves JSON to output/ python examples/sdk_example.py
examples/requests_example.py Plain requests, synchronous python examples/requests_example.py
examples/async_example.py asyncio + httpx, concurrent with a limit python examples/async_example.py
examples/scrapy_spider.py Scrapy spider, items to JSON/CSV scrapy runspider examples/scrapy_spider.py -O asos.json

All requests use the header Authorization: Api-Key YOUR_API_KEY. Errors return {"success": false, "error": {"code", "message", "request_id"}}, with HTTP 402 when the balance runs out and 429 (with Retry-After) when rate limited. Failed requests are not charged.

API reference

ASOS Product Details

Get product details from an ASOS product URL, including price and discount, stock per size, colour, description, fit and care information, materials, ratings and recent reviews, and images.

Parameter Type Required Description
location string no Two-letter country code of the ASOS store to read prices and stock from (default US). Supported: US, GB, AU, FR, DE, AT, IT, ES, NL, SE, DK, PL, PR.
product_url string yes Full ASOS product URL (e.g. https://www.asos.com/us/collusion/collusion-wide-leg-chambray-denim-jeans-in-rinse-wash/prd/210425806).

Response fields: product_id, product_code, title, brand, url, location, store, price, in_stock, is_restocking_soon, is_discontinued, selling_fast, colour, total_colours, gender, product_type, fit_type, one_size, sizes, description, description_points, brand_description, size_and_fit, care_info, materials, country_of_manufacture, rating, recent_reviews, breadcrumbs, images, video, save_count, plus _metadata

curl -X POST "https://api.dataguru.cc/api/v1/asos/products/details" \
  -H "Authorization: Api-Key $DATAGURU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_url": "https://www.asos.com/us/collusion/collusion-wide-leg-chambray-denim-jeans-in-rinse-wash/prd/210425806"}'
Response schema

Values are type placeholders from the API's published schema, not real data.

{
  "product_id": "1234567890",
  "product_code": "string",
  "title": "string",
  "brand": "string",
  "url": "https://example.com/...",
  "location": "string",
  "store": "string",
  "price": {
    "current_price": 0.0,
    "formatted_current_price": "string",
    "original_price": 0.0,
    "formatted_original_price": "string",
    "discount_percent": 0,
    "lowest_price_30_days": 0.0,
    "currency": "USD",
    "on_sale": false,
    "is_outlet_price": false
  },
  "in_stock": false,
  "is_restocking_soon": false,
  "is_discontinued": false,
  "selling_fast": false,
  "colour": "string",
  "total_colours": 0,
  "gender": "string",
  "product_type": "string",
  "fit_type": "string",
  "one_size": false,
  "sizes": [
    {
      "variant_id": "1234567890",
      "size": "string",
      "brand_size": "string",
      "colour": "string",
      "sku": "string",
      "in_stock": false,
      "low_in_stock": false,
      "price": 0.0
    }
  ],
  "description": "string",
  "description_points": [
    "string"
  ],
  "brand_description": "string",
  "size_and_fit": "string",
  "care_info": "string",
  "materials": "string",
  "country_of_manufacture": "string",
  "rating": {
    "average": 0.0,
    "review_count": 0,
    "percentage_recommended": 0.0,
    "distribution": {}
  },
  "recent_reviews": [
    {
      "rating": 0,
      "title": "string",
      "text": "string",
      "date": "2026-01-01T12:00:00Z",
      "verified_purchase": false
    }
  ],
  "breadcrumbs": [
    "string"
  ],
  "images": [
    "string"
  ],
  "video": "string",
  "save_count": 0,
  "_metadata": {
    "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e",
    "execution_time_ms": 842,
    "endpoint": "ASOS Product Details",
    "mode": "live",
    "format": "json",
    "timestamp": "2026-01-01T12:00:00+00:00"
  }
}

ASOS Product Search

Search ASOS by keyword and get matching fashion products with titles, brands, prices and discounts, colours, images and selling-fast flags.

Parameter Type Required Description
limit integer no Maximum number of search results to return (up to 200). Default: 48.
location string no Two-letter country code of the ASOS store to search (default US). Supported: US, GB, AU, FR, DE, AT, IT, ES, NL, SE, DK, PL, PR. Prices are in that store's currency.
query string yes Search keywords, e.g. "wide leg jeans"

Response fields: query, location, store, total_results, returned_results, results, plus _metadata

curl -X POST "https://api.dataguru.cc/api/v1/asos/products/search" \
  -H "Authorization: Api-Key $DATAGURU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "wide leg jeans"}'
Response schema

Values are type placeholders from the API's published schema, not real data.

{
  "query": "string",
  "location": "string",
  "store": "string",
  "total_results": 0,
  "returned_results": 0,
  "results": [
    {
      "product_id": "1234567890",
      "title": "string",
      "brand": "string",
      "url": "https://example.com/...",
      "price": {
        "current_price": 0.0,
        "formatted_current_price": "string",
        "original_price": 0.0,
        "discount_percent": 0,
        "lowest_price_30_days": 0.0,
        "currency": "USD",
        "on_sale": false,
        "is_outlet_price": false
      },
      "colour": "string",
      "colour_way_id": "1234567890",
      "has_more_colours": false,
      "product_code": "string",
      "image": "string",
      "additional_images": [
        "string"
      ],
      "video": "string",
      "is_selling_fast": false,
      "is_restocking_soon": false,
      "is_new": false,
      "sponsored": false
    }
  ],
  "_metadata": {
    "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e",
    "execution_time_ms": 842,
    "endpoint": "ASOS Product Search",
    "mode": "live",
    "format": "json",
    "timestamp": "2026-01-01T12:00:00+00:00"
  }
}

More

License

The example code is MIT licensed. Use of the DataGuru API is subject to the terms of service.

About

ASOS scraper API: ASOS Product Details, ASOS Product Search as clean JSON. Python examples with requests, Scrapy, asyncio and the DataGuru SDK.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors