# Fashion Product API - ASOS, Zara, H\&M, SHEIN & more (`pintostudio/fashion-api`) Actor

Search and get full product detail (price, sizes, images, stock) from 16 fashion retailers - ASOS, Zara, H\&M, Farfetch, SHEIN, Fashion Nova, SKIMS and more - or search them all at once. Support: Telegram @pintoflow.

- **URL**: https://apify.com/pintostudio/fashion-api.md
- **Developed by:** [Pinto Studio](https://apify.com/pintostudio) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Fashion Product API - ASOS, Zara, H\&M, SHEIN, Shopify stores & more

Search and get full product detail - name, brand, price, sizes, images, description, stock - across **15 fashion retailers** with one Actor: ASOS, Zara, H\&M, SHEIN, Fashion Nova, SKIMS, Public Desire, Oh Polly, Motel Rocks, Killstar, Lucy & Yak, Victoria Beckham, French Connection, Represent and Steve Madden. Farfetch is temporarily inactive and will be added later.

Choose an **operation**, fill in the fields it needs, press **Start**, and download the results as **JSON, CSV, Excel, XML or HTML**, or get them through the **Apify API**.

**Need help?** Message us on Telegram: **[@pintoflow](https://t.me/pintoflow)**

***

### What you can use it for

- **Price comparison and reselling:** find what an item sells for across many stores in one search.
- **Trend and catalog tracking:** export a brand's or category's current listings on a schedule.
- **Dropshipping research:** pull product name, images, description and stock for a batch of ids/URLs straight into your own catalog.
- **Market monitoring:** run `searchAll` for a keyword and see which of the 15 active retailers currently carry it, and at what price.

***

### How to use it

1. Open the Actor and pick an **Operation** (the default is **search**).
2. Fill in the fields that operation needs (see the table below) - other fields are ignored.
3. Click **Start**. When the run finishes, open the **Output** tab to view or export the data.

#### Which operation do I need?

| I want... | Operation | Fill in |
|---|---|---|
| Items matching a keyword/category/brand, from one named retailer | **search** *(default)* | `retailer`, and `query` and/or `category`/`brand` |
| The same search run against every retailer at once | **searchAll** | `query` and/or `category`/`brand` (optionally `retailers` to narrow it) |
| Full detail (price, sizes, images, description, stock) for one or more known products | **productDetails** | `retailer`, `ids` |
| The current list of supported retailers and what's known about each one's data source | **retailers** | nothing |

#### Fields

| Field | Used by | Notes |
|---|---|---|
| `operation` | all | `search`, `searchAll`, `productDetails` or `retailers`. |
| `retailer` | search, productDetails | One of the active retailer ids below (Farfetch is inactive for now). |
| `query` | search, searchAll | Free-text keyword, e.g. `"denim jacket"`. |
| `category` | search, searchAll | Folded into the search alongside `query`. |
| `brand` | search, searchAll | Folded into the search alongside `query`. |
| `retailers` | searchAll | Optional - restrict the combined search to just these retailers. |
| `ids` | productDetails | One or more product ids or full product URLs. Each becomes its own output row. A full URL always works and is the most reliable option for Zara and SHEIN. |
| `country` / `currency` | search, productDetails | Only read by **ASOS** and **SHEIN**; every other retailer ignores them. ISO codes, e.g. `GB`/`GBP`. |
| `maxItems` | search, searchAll | Caps the number of output rows. `0` = no limit. |
| `maxConcurrency` | productDetails | How many ids are looked up in parallel (default 5). |
| `fresh` | all | Bypasses this run's in-memory cache for a repeated lookup. Rarely needed. |

A `query`/`category`/`brand` is folded into the retailer's own search the same way typing it into that store's search box would behave - not a guaranteed exact facet filter, same as using the store's website directly.

***

### Supported retailers

| Retailer | `retailer` id | Retailer | `retailer` id |
|---|---|---|---|
| ASOS | `asos` | Killstar | `killstar` |
| Zara | `zara` | Lucy & Yak | `lucyandyak` |
| H\&M | `hm` | Victoria Beckham | `victoriabeckham` |
| Farfetch (coming soon) | `farfetch` | French Connection | `frenchconnection` |
| SHEIN | `shein` | Represent | `representclo` |
| Fashion Nova | `fashionnova` | Steve Madden | `stevemadden` |
| SKIMS | `skims` | Public Desire | `publicdesire` |
| Oh Polly | `ohpolly` | Motel Rocks | `motelrocks` |

Run the **retailers** operation at any time for the current, authoritative list plus a short note on how each retailer's data is actually sourced.

***

### Output

Every row is one product (from `search`/`searchAll`/`productDetails`) or one retailer (from `retailers`), plus `_source` (which operation/retailer produced it) and `_scrapedAt`.

A `search`/`searchAll` row looks like:

```json
{
  "id": "asos:211710493",
  "retailer": "asos",
  "name": "Gina Tricot cape jacket with belt in brown",
  "brand": "GINA TRICOT",
  "price": { "amount": 87, "currency": "USD", "text": "$87.00" },
  "image": "https://images.asos-media.com/products/gina-tricot-cape-jacket-with-belt-in-brown/211710493-1-mole",
  "availability": null
}
```

A `productDetails` row adds `sizes`, `images` (full array), `description` and `sku`, plus `requestedId` (the id/URL you passed in) and `available`/`reason` so a batch of ids that includes a wrong or delisted one still comes back as one dataset - the bad id just gets its own `available: false` row instead of failing the whole run.

The run's **Output** record (Key-value store, key `OUTPUT`) also has a short summary - `itemCount`, any `errors`, and for `searchAll` a full per-retailer breakdown (`available`/`reason`/`count` for each one), so you can see at a glance which retailers actually had something for your search.

**A row doesn't always mean fresh, guaranteed-in-stock data.** Prices, sizes and stock are a snapshot from whenever this Actor last fetched that page/endpoint, not a live real-time value - confirm on the retailer's own site before relying on it for a purchase decision.

***

### Environment variables (set in the Actor's console, not in this repo)

| Variable | Purpose |
|---|---|
| `BASE_PROXY` | Optional HTTPS proxy URL used as a fallback when a direct request is blocked. |
| `MY_PROXY_METHOD` | Optional URL of a TLS-impersonation fetch service, tried as a last resort after `BASE_PROXY`. |
| `PRODUCT_USER_AGENT` | User-Agent sent to the Zara/H\&M retailers - identify this Actor honestly, don't spoof a browser/search-engine string. |
| `PRODUCT_CACHE_TTL_MS` / `SEARCH_CACHE_TTL_MS` | Override the in-run cache TTLs (defaults: 1 hour / 30 minutes). |

None of these are required to run the Actor - it works out of the box - they only tune proxying/caching behavior.

***

### Notes on coverage

Run the **retailers** operation to see the current list of supported retailers and any known gaps (for example, SKIMS keyword search is unavailable, while SKIMS product detail works, and Farfetch is inactive for now and will be added later).

***

**Need help?** Message us on Telegram: **[@pintoflow](https://t.me/pintoflow)**

# Actor input Schema

## `operation` (type: `string`):

What to do. Each operation uses only the fields listed in its own description below; other fields are ignored.

## `retailer` (type: `string`):

search and productDetails only - which retailer to use. Ignored by searchAll (use the 'Retailers to include' field below to restrict it instead) and by retailers.

## `query` (type: `string`):

search and searchAll - free-text keyword, e.g. "denim jacket".

## `category` (type: `string`):

search and searchAll - folded into the search alongside query, the same way typing it into that retailer's own search box would behave (not a guaranteed-exact facet filter).

## `brand` (type: `string`):

search and searchAll - folded into the search alongside query, same as category.

## `retailers` (type: `array`):

searchAll only - restrict the combined search to just these retailers. Leave empty to search all 16.

## `ids` (type: `array`):

productDetails only - one or more of the retailer's own product ids, or full product URLs (a full URL always works and is recommended for Zara, Farfetch and SHEIN). Each one becomes its own row in the output.

## `country` (type: `string`):

search and productDetails, ASOS and SHEIN only - ISO country code (e.g. US, GB, DE). Every other retailer ignores this field.

## `currency` (type: `string`):

search and productDetails, ASOS and SHEIN only - ISO currency code (e.g. USD, GBP, EUR).

## `maxItems` (type: `integer`):

search and searchAll - maximum rows to output. 0 = no limit (each retailer's own search already returns a bounded page, not an unlimited crawl).

## `maxConcurrency` (type: `integer`):

productDetails only - how many ids are looked up in parallel.

## `fresh` (type: `boolean`):

Force a fresh fetch instead of reusing this run's in-memory cache for a repeated (retailer, id/query) lookup. Rarely needed.

## Actor input object example

```json
{
  "operation": "search",
  "retailer": "asos",
  "query": "denim jacket",
  "ids": [
    "203518076"
  ],
  "country": "US",
  "currency": "USD",
  "maxItems": 0,
  "maxConcurrency": 5,
  "fresh": false
}
```

# Actor output Schema

## `results` (type: `string`):

Product rows from the default dataset (search results or product details).

## `output` (type: `string`):

Run summary: itemCount, errors and, for searchAll, available/reason/count per retailer.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "denim jacket",
    "ids": [
        "203518076"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pintostudio/fashion-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "query": "denim jacket",
    "ids": ["203518076"],
}

# Run the Actor and wait for it to finish
run = client.actor("pintostudio/fashion-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "denim jacket",
  "ids": [
    "203518076"
  ]
}' |
apify call pintostudio/fashion-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pintostudio/fashion-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6bWJ59DGMx66FPPRD/builds/kv63bdUYmR2BK72HB/openapi.json
