Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIASOS

    asos.product

    One product's page on ASOS in one of its stores: price, sizes with their stock, images, details, rating and category.

    Id
    asos.product
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/asos.product/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of asos.product
    FieldTypeDescription
    product_idstringASOS's product id: the number after /prd/ in the product's address, e.g. 211167624.Limit: matches ^[0-9]{1,12}$.
    urlstringThe product's address instead, e.g. https://www.asos.com/us/asos-design/asos-design-bow-barrel-leg-jean-in-smoke-blue/prd/211167624; its store is the one read.Limit: at most 2048 characters.
    store"us" | "gb" | "au" | "de" | "fr" | "es" | "it" | "nl" | "se"With product_id: the store to read, which sets the language and the currency, one of us (USD), gb (GBP), au (AUD), de (EUR), fr (EUR), es (EUR), it (EUR), nl (EUR), se (SEK). us when not given.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of asos.product
    FieldTypeNotes
    product_idstringASOS's id of the product: the number after /prd/ in its address.
    storestringThe store the page was read in, as given in the input, e.g. us, gb, de.
    urlstringThe product's address in that store.
    namestringThe product's name, in the store's language.
    brandstring or nullThe brand.
    genderstring or nullThe department the product is sold in, e.g. Women, Men.
    product_typestring or nullASOS's kind of product, e.g. Jeans, Dresses.
    colourstring or nullThe colour of the product, as ASOS names it.
    product_codestring or nullASOS's product code, as printed on the page.
    priceobject or nullThe current price; null when the page carries no price for the product.
    amount (in price)numberThe amount as ASOS states it.
    currency (in price)string or nullThe ISO currency code ASOS gives with the amount: the store's own (USD, GBP, EUR, AUD, SEK).
    previous_priceobject or nullThe earlier price a marked-down product is shown with; null when there is none.
    amount (in previous_price)numberThe amount as ASOS states it.
    currency (in previous_price)string or nullThe ISO currency code ASOS gives with the amount: the store's own (USD, GBP, EUR, AUD, SEK).
    rrpobject or nullThe recommended retail price, when ASOS shows one beside its own.
    amount (in rrp)numberThe amount as ASOS states it.
    currency (in rrp)string or nullThe ISO currency code ASOS gives with the amount: the store's own (USD, GBP, EUR, AUD, SEK).
    marked_downboolean or nullTrue when ASOS shows the product as reduced.
    discount_percentinteger or nullThe reduction ASOS states, in percent; null when the product is not reduced.
    in_stockboolean or nullTrue when at least one size can be bought now, false when none can, null when the page does not say.
    variantsarray of objectThe sizes the product comes in, in the page's order, each with its stock and price.
    variant_id (in variants[])stringASOS's id of this size of the product.
    size (in variants[])string or nullThe size as the store shows it, e.g. "US 8", "W30 L32".
    brand_size (in variants[])string or nullThe size as the brand labels it.
    colour (in variants[])string or nullThe colour of this version.
    sku (in variants[])string or nullASOS's stock-keeping number of this size.
    in_stock (in variants[])boolean or nullTrue when this size can be bought now; null when the page does not say.
    low_in_stock (in variants[])boolean or nullTrue when ASOS marks this size as low in stock.
    price (in variants[])object or nullThe current price of this size.
    amount (in variants[].price)numberThe amount as ASOS states it.
    currency (in variants[].price)string or nullThe ISO currency code ASOS gives with the amount: the store's own (USD, GBP, EUR, AUD, SEK).
    imagesarray of stringThe product's images, in the page's order.
    descriptionstring or nullThe product details, as text: one line per bullet point.
    aboutstring or nullThe "About me" text: fabric and composition.
    carestring or nullThe "Look after me" text: washing instructions.
    size_and_fitstring or nullThe "Size & fit" text: the model's height and the size worn.
    category_patharray of stringThe page's breadcrumb from the department down, without "Home" and without the product itself.
    ratingnumber or nullAverage customer rating, 0 to 5; null when the product has no reviews.
    review_countinteger or nullNumber of customer reviews.
    recommended_percentinteger or nullThe share of reviewers who recommend the product, in percent.
    selling_fastboolean or nullTrue when the product carries ASOS's "Selling fast" label.
    fetched_atstring (date-time)When the page was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/asos.product/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"product_id":"211167624"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("asos.product", {"product_id": "211167624"})
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("asos.product", { product_id: "211167624" });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "asos.product", map[string]any{"product_id": "211167624"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("asos.product", Map.of("product_id", "211167624"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run asos.product --input-json '{"product_id":"211167624"}'

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "product_id": "211167624"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "asos.product",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "product_id": "211167624"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "product_id": "211167624",
          "store": "us",
          "url": "https://www.asos.com/us/asos-design/asos-design-bow-barrel-leg-jean-in-smoke-blue/prd/211167624",
          "name": "ASOS DESIGN bow barrel leg jean in smoke blue",
          "brand": "ASOS DESIGN",
          "gender": "Women",
          "product_type": "Jeans",
          "colour": "SMOKEY DIRTY BLUE",
          "product_code": "158203118",
          "price": {
            "amount": 63.99,
            "currency": "USD"
          },
          "previous_price": null,
          "rrp": null,
          "marked_down": false,
          "discount_percent": null,
          "in_stock": true,
          "variants": [
            {
              "variant_id": "211167647",
              "size": "W24 L30 - US 0 L30",
              "brand_size": "W24 L30",
              "colour": "SMOKEY DIRTY BLUE",
              "sku": "158203125",
              "in_stock": true,
              "low_in_stock": false,
              "price": {
                "amount": 63.99,
                "currency": "USD"
              }
            },
            {
              "variant_id": "211167645",
              "size": "W24 L32 - US 0 L32",
              "brand_size": "W24 L32",
              "colour": "SMOKEY DIRTY BLUE",
              "sku": "158203130",
              "in_stock": true,
              "low_in_stock": false,
              "price": {
                "amount": 63.99,
                "currency": "USD"
              }
            }
          ],
          "images": [
            "https://images.asos-media.com/products/asos-design-bow-barrel-leg-jean-in-smoke-blue/211167624-1-smokeydirtyblue",
            "https://images.asos-media.com/products/asos-design-bow-barrel-leg-jean-in-smoke-blue/211167624-2",
            "https://images.asos-media.com/products/asos-design-bow-barrel-leg-jean-in-smoke-blue/211167624-3"
          ],
          "description": "Jeans by ASOS DESIGN\nBarrel leg\nMid rise\nBelt loops\nConcealed fly\nFive pockets\nBranded patch to back",
          "about": "Non-stretch denim\nMain: 100% Cotton.",
          "care": "Machine wash according to instructions on care label",
          "size_and_fit": "Model's height: TBC\nModel is wearing: W26 L32 - US 4 L32",
          "category_path": [
            "Women",
            "Jeans"
          ],
          "rating": 4.9,
          "review_count": 36,
          "recommended_percent": 100,
          "selling_fast": true,
          "fetched_at": "2026-11-19T18:07:38.484902Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: variants: 24 items, the first 2 shown.
    • Shortened: images: 10 items, the first 3 shown.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the ASOS scrapers are in their own section there.