APIs / Marketplaces / Zara

1 credit per call4 endpoints13 datapoints

Zara API

Zara API for product search by country and section, product details, categories and nearby stores by latitude and longitude as JSON. 1 credit per call.

Zara
GET/v1/zara/search?query=jeans&country=us&section=MAN
{
  "success": true,
  "data": {
    "query": "jeans",
    "country": "us",
    "section": "MAN",
    "page": 1,
    "page_size": 24,
    "total": 548,
    "total_pages": 23,
    "has_more": true,
    "items": [
      {
        "color_product_id": "584981471",
        "reference": "C00840449406000-I2026",
        "seo_product_id": "00840449",
        "name": "VINTAGE-EFFECT LOOSE BARREL-FIT JEANS",
        "section": "MAN",
        "family": "TROUSERS",
        "subfamily": "F. Pants Denim",
        "url": "https://www.zara.com/us/en/vintage-look-loose-barrel-fit-jeans-p00840449.html",
        "availability": "in_stock",
        "price": 99.9,
        "currency": "USD",
        "colors": [
          {
            "color_id": "406",
            "name": "Light blue",
            "hex": "#808785",
            "price": 99.9,
            "availability": "in_stock",
            "image": "https://static.zara.net/assets/public/c6bf/ae80/3e3148b2871a/3e6df04d4454/00840449406-f1/00840449406-f1.jpg?ts=1791276145628&w=1024"
          }
        ],
        "images": [
          "https://static.zara.net/assets/public/c6bf/ae80/3e3148b2871a/3e6df04d4454/00840449406-f1/00840449406-f1.jpg?ts=1791276145628&w=1024"
        ]
      },
      {
        "color_product_id": "580550262",
        "reference": "C00774360427000-I2026",
        "seo_product_id": "00774360",
        "name": "STRAIGHT FIT JEANS",
        "section": "MAN",
        "family": "TROUSERS",
        "subfamily": "B. Pants Denim",
        "url": "https://www.zara.com/us/en/straight-fit-jeans-p00774360.html",
        "availability": "in_stock",
        "price": 59.9,
        "currency": "USD",
        "colors": [
          {
            "color_id": "427",
            "name": "Mid-blue",
            "hex": "#324E69",
            "price": 59.9,
            "availability": "in_stock",
            "image": "https://static.zara.net/assets/public/7424/ac8d/80e344eba269/0a44be4fb4cc/04365330427-f1/04365330427-f1.jpg?ts=1785934510902&w=1024"
          },
          {
            "color_id": "251",
            "name": "Oyster-white",
            "hex": "#FCF5EC",
            "price": 59.9,
            "availability": "in_stock",
            "image": "https://static.zara.net/assets/public/7424/ac8d/80e344eba269/0a44be4fb4cc/04365330427-f1/04365330427-f1.jpg?ts=1785934510902&w=1024"
          },
          {
            "color_id": "400",
            "name": "Blue",
            "hex": "#363E4F",
            "price": 59.9,
            "availability": "in_stock",
            "image": "https://static.zara.net/assets/public/7424/ac8d/80e344eba269/0a44be4fb4cc/04365330427-f1/04365330427-f1.jpg?ts=1785934510902&w=1024"
          }
        ],
        "images": [
          "https://static.zara.net/assets/public/7424/ac8d/80e344eba269/0a44be4fb4cc/04365330427-f1/04365330427-f1.jpg?ts=1785934510902&w=1024"
        ]
      },
      {
        "color_product_id": "580550262",
        "reference": "C00774360800000-I2026",
        "seo_product_id": "00774360",
        "name": "STRAIGHT-FIT JEANS",
        "section": "MAN",
        "family": "TROUSERS",
        "subfamily": "B. Pants Denim",
        "url": "https://www.zara.com/us/en/straight-fit-jeans-p00774360.html",
        "availability": "in_stock",
        "price": 59.9,
        "currency": "USD",
        "colors": [
          {
            "color_id": "800",
            "name": "Black",
            "hex": "#242524",
            "price": 59.9,
            "availability": "in_stock",
            "image": "https://static.zara.net/assets/public/1df4/57b8/c6874f5d92ae/fd4b920616c0/08062360800-f1/08062360800-f1.jpg?ts=1785934507248&w=1024"
          },
          {
            "color_id": "251",
            "name": "Oyster-white",
            "hex": "#FCF5EC",
            "price": 59.9,
            "availability": "in_stock",
            "image": "https://static.zara.net/assets/public/1df4/57b8/c6874f5d92ae/fd4b920616c0/08062360800-f1/08062360800-f1.jpg?ts=1785934507248&w=1024"
          },
          {
            "color_id": "400",
            "name": "Blue",
            "hex": "#363E4F",
            "price": 59.9,
            "availability": "in_stock",
            "image": "https://static.zara.net/assets/public/1df4/57b8/c6874f5d92ae/fd4b920616c0/08062360800-f1/08062360800-f1.jpg?ts=1785934507248&w=1024"
          }
        ],
        "images": [
          "https://static.zara.net/assets/public/1df4/57b8/c6874f5d92ae/fd4b920616c0/08062360800-f1/08062360800-f1.jpg?ts=1785934507248&w=1024"
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_60852eb567fd41b78bd83106fd2ec009",
    "credits_charged": 1,
    "credits_remaining": 1926
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#color_product_idstringreferencestringseo_product_idstringnamestringsectionstringfamilystringsubfamilystringurlurlavailabilitystringpricenumbercurrencystringcolorsobject[]imagesstring[]
1584981471C00840449406000-I202600840449VINTAGE-EFFECT LOOSE BARREL-FIT JEANSMANTROUSERSF. Pants Denimhttps://www.zara.com/us/en/vintage-look-loose-barrel-fit-jeans-p00840449.htmlin_stock99.9USD[1 item][1 item]
2580550262C00774360427000-I202600774360STRAIGHT FIT JEANSMANTROUSERSB. Pants Denimhttps://www.zara.com/us/en/straight-fit-jeans-p00774360.htmlin_stock59.9USD[3 items][1 item]
3580550262C00774360800000-I202600774360STRAIGHT-FIT JEANSMANTROUSERSB. Pants Denimhttps://www.zara.com/us/en/straight-fit-jeans-p00774360.htmlin_stock59.9USD[3 items][1 item]

Recorded from our API · 3 items shown · 13 datapoints per itemGET /v1/zara/search?query=jeans&country=us&section=MAN

13 datapoints

Identity

  • color_product_idstring
  • seo_product_idstring
  • namestring

Contact

  • urlurl

Reputation

  • imagesstring[]

Price

  • pricenumber
  • currencystring

Other

  • referencestring
  • sectionstring
  • familystring
  • subfamilystring
  • availabilitystring
  • colorsobject[]

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/zara/search?query=jeans&country=us&section=MAN" \
  -H "X-API-Key: $API_KEY"

Zara · 4 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

EndpointRequired parametersCost
GET/v1/zara/categories
none+2 optional
1 credit
GET/v1/zara/product
none+4 optional
1 credit
GET/v1/zara/search
none+5 optional
1 credit
GET/v1/zara/stores
latlng+1 optional
1 credit

Overview

About the Zara API

What you can get

The Zara API returns Zara shop data as JSON through 4 endpoints. Each takes a country (us, de, es, fr or uk).

  • Search: search takes a query or a category_id, with page and section (WOMAN, MAN, KID or HOME).
  • Categories: categories takes a section and returns its categories.
  • Products: product takes an id or a product url, with color_id.
  • Stores: stores takes lat and lng.

The recorded search for "jeans" in us, section MAN, returns items, each with color_product_id, reference, seo_product_id, name, section, family, subfamily, url, availability, price, currency, colors and images. It also returns total (548 in that recording), total_pages and has_more.

How a call works

Search a section, then look up: GET /v1/zara/search?query=jeans&country=us&section=MAN with your key in the X-API-Key header. Each result carries a url; product takes that url, with color_id for one colour. Check has_more before asking for the next page. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track Zara prices for a product list

Use the Zara API to track Zara prices for a product list

Compare one product's price across the us, de, es, fr and uk shops

Use the Zara API to compare one product's price across the us, de, es, fr and uk shops

Watch availability for products in a section

Use the Zara API to watch availability for products in a section

Map Zara's categories for each section

Use the Zara API to map Zara's categories for each section

FAQ

Questions

How much does the Zara API cost?

Each successful call costs one credit, and each search page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

Do I need a Zara account?

No. You call this Zara API with your Perceptlayer key in the `X-API-Key` header, with no Zara login.

Can I find stores near a location?

Yes. `stores` takes `lat` and `lng`, with an optional `country`.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Should I build a Zara scraper instead?

You can, but a Zara scraper is code you maintain: page changes break it, requests get blocked, and Zara's terms govern how you collect data. The Zara API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Zara API with 100 free credits

No credit card. Failed calls are never billed.