> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# ASOS Products API

> ASOS products from any of 11 country stores: today's price and pre-sale price in the store currency, sizes in stock with per-size SKU and EAN, description, materials, rating and images. One row per product, from a keyword, an ASOS category or an ASOS search or category page URL.

`POST /v1/data/asos/products/run`

**Pricing:** $0.01 per product ($10.50 per 1,000).

## Ways to call it

* **Search**: set `query` (optional: `country`, `maxResults`)
* **Category**: set `category` (optional: `country`, `maxResults`)
* **ASOS URL**: set `listing_url` (optional: `maxResults`)

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**query** `string`

A keyword to search ASOS for, e.g. 'levis 501' or 'kleid'. Plain words, not a URL. ASOS always shows its closest matches, so a misspelled keyword still returns products.

**category** `string`

An ASOS category to browse, e.g. Men's Jeans. One of the listed categories; for any other ASOS category paste its page URL in ASOS URL instead.

39 allowed values, for example `4209` (Men's Shoes), `4210` (Men's Accessories), `6456` (Women's Trainers), `4172` (Women's Shoes), `4174` (Women's Accessories), `8799` (Women's Dresses), `4169` (Women's Tops), `7616` (Men's T-Shirts & Vests), `7078` (Men's Shorts), `4208` (Men's Jeans). Fetch the full list with `GET /v1/data/asos/products?expand=options`.

**listing\_url** `string`

An ASOS search or category page URL, e.g. [https://www.asos.com/men/jeans/cat/?cid=4208](https://www.asos.com/men/jeans/cat/?cid=4208) or [https://www.asos.com/us/search/?q=nike+air+force+1](https://www.asos.com/us/search/?q=nike+air+force+1). The country store comes from the URL (/us/, /de/, /fr/ ...; no prefix = UK). Category pages work for the categories listed under Category.

Format e.g. `https://www.asos.com/us/search/?q=nike+air+force+1`.

**country** `string` (default: UK)

Search and Category only. The ASOS country store to read: it sets the currency (GBP, USD, EUR, SEK, DKK, PLN, AUD), the language of product names and the size labels. United Kingdom by default.

Allowed values: `UK` (United Kingdom), `US` (United States), `AU` (Australia), `DE` (Germany), `FR` (France), `IT` (Italy), `ES` (Spain), `NL` (Netherlands), `SE` (Sweden), `DK` (Denmark), `PL` (Poland).

**maxResults** `integer` (default: 100)

How many products to return in total. Defaults to 100; use 0 for all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/asos/products/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "query": "levis 501",
    "maxResults": 10
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/asos/products/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "query": "levis 501",
    "maxResults": 10
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/asos/products/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "query": "levis 501",
  "maxResults": 10
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one product, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `productId` | Product ID | text |
| `productName` | Product Name | text |
| `brand` | Brand | text |
| `productUrl` | Product URL | url |
| `productCode` | Product Code | text |
| `price` | Price | number |
| `fullPrice` | Full Price | number |
| `discountPercent` | Discount Percent | number |
| `currency` | Currency | text |
| `color` | Color | text |
| `sizes` | Sizes | array |
| `variants` | Variants | object\_array |
| `images` | Images | array |
| `description` | Description | text |
| `materials` | Materials | text |
| `gender` | Gender | text |
| `fitType` | Fit Type | text |
| `rating` | Rating | rating |
| `reviewCount` | Review Count | number |
| `sellingFast` | Selling Fast | boolean |
| `isNew` | Is New | boolean |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "asos/products",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "rating": 3.8,
      "isNew": false,
      "productId": "204674378",
      "variants": [
        {
          "brandSize": "W23 L30",
          "sku": "137545397",
          "ean": "5401105682798",
          "colour": "SHOUT OUT STONE",
          "countryOfManufacture": "TR",
          "isInStock": true,
          "isLowInStock": false,
          "isRestockingSoon": false
        },
        {
          "brandSize": "W23 L32",
          "sku": "137545398",
          "ean": "5401105688806",
          "colour": "SHOUT OUT STONE",
          "countryOfManufacture": "TR",
          "isInStock": true,
          "isLowInStock": true,
          "isRestockingSoon": false
        }
      ],
      "images": [
        "https://images.asos-media.com/products/levis-501-straight-jeans-in-mid-wash/204674378-1-shoutoutstone",
        "https://images.asos-media.com/products/levis-501-straight-jeans-in-mid-wash/204674378-2"
      ],
      "reviewCount": 47,
      "discountPercent": 15,
      "productCode": "128870248",
      "brand": "Levi's",
      "sizes": [
        "W23 L30",
        "W23 L32"
      ],
      "fullPrice": 100,
      "gender": "Women",
      "description": "Jeans by Levi's\n\nStraight-cut leg\n\nFitted through the hip and thigh\n\nHigh rise\n\nBelt loops\n\nButton fly\n\nFunctional pockets\n\nBranded patch to reverse",
      "fitType": "Regular",
      "color": "SHOUT OUT STONE",
      "productName": "Levi's 501 straight jeans in mid wash",
      "productUrl": "https://www.asos.com/com/levis/levis-501-straight-jeans-in-mid-wash/prd/204674378",
      "materials": "Non-stretch denim: mid-blue wash\n\nMain: 100% Cotton.",
      "sellingFast": true,
      "currency": "GBP",
      "price": 84.99
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.