Discover/COS API
live

COS APIcos.com ↗

Access COS fashion product data via 2 endpoints. Search by keyword, retrieve prices, images, stock info, material composition, and direct product URLs.

Endpoint health
verified 19h ago
get_product_details
search_products
2/2 passing latest checkself-healing
Endpoints
2
Updated
1mo ago

What is the COS API?

The COS API provides 2 endpoints to search and retrieve product data from cos.com. Use search_products to query by keyword and get paginated listings with names, prices, images, gender targeting, and stock status, or call get_product_details with a product ID to pull full product records including material composition, launch date, and category tags.

This call costs1 credit / call— charged only on success
Try it
Page number (1-based)
Search keyword (e.g., 'jacket', 'dress', 'wool sweater')
Number of results per page (max 40; larger values are clamped to 40)
→ api.parse.bot/scraper/f6e2cf57-99cc-49ae-bfa3-7e7913a9fedb/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/f6e2cf57-99cc-49ae-bfa3-7e7913a9fedb/search_products?page=1&query=jacket&page_size=10' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalmissing one? ·

Full-text search over the COS US product catalog by keyword. Returns one page of product listings (name, price, sale/new flags, gender, images, stock, product URL) plus total_items and total_pages for the keyword. Pagination is page-based (1-indexed) and page_size (default 40, capped at 40) is a true offset window over the result stream; the site serves results in fixed blocks of 40, so a window that straddles two blocks costs two page loads, otherwise one. A keyword with no matches returns total_items 0 and an empty products array as a success. Each product carries enough metadata to filter client-side by gender, sale status, or newness; its id is the input to get_product_details.

Input
ParamTypeDescription
pageintegerPage number (1-based)
queryrequiredstringSearch keyword (e.g., 'jacket', 'dress', 'wool sweater')
page_sizeintegerNumber of results per page (max 40; larger values are clamped to 40)
Response
{
  "type": "object",
  "fields": {
    "page": "integer - current page number",
    "query": "string - the search keyword used",
    "products": "array of Product objects (id, sku, name, price, price_amount, price_before_discount, lowest_price, is_on_sale, is_new, gender, variant_name, color_hex, product_type, primary_image, images, product_url, uri, category_uri, total_stock, variants_count)",
    "page_size": "integer - results per page",
    "total_items": "integer - total number of matching products",
    "total_pages": "integer - total number of pages at the requested page_size"
  },
  "sample": {
    "data": {
      "page": 1,
      "query": "jacket",
      "products": [
        {
          "id": "1317969002",
          "sku": "1317969",
          "uri": "cotton-jersey-bomber-jacket-navy-1317969002",
          "name": "COTTON-JERSEY BOMBER JACKET",
          "price": "$111.20",
          "gender": "Male",
          "images": [
            "https://media.cos.com/assets/001/40/7d/407db00cf21fbff0ff39f6eb91c5837d07c6b785_xxl-1.jpg"
          ],
          "is_new": false,
          "color_hex": "#2B2C32",
          "is_on_sale": true,
          "product_url": "https://www.cos.com/en-us/men/menswear/coatsjackets/jackets/product/cotton-jersey-bomber-jacket-navy-1317969002",
          "total_stock": 9,
          "category_uri": "men/menswear/coatsjackets/jackets",
          "lowest_price": "$97.30",
          "price_amount": 111.2,
          "product_type": "Jacket",
          "variant_name": "NAVY",
          "primary_image": "https://media.cos.com/assets/001/00/ec/00ec538ef63eae510179435fe780c271380610f8_xxl-1.jpg",
          "variants_count": 1,
          "price_before_discount": "$139.00",
          "price_before_discount_amount": 139
        }
      ],
      "page_size": 10,
      "total_items": 112,
      "total_pages": 12
    },
    "status": "success"
  }
}

About the COS API

Search and Browse Products

The search_products endpoint accepts a required query string (e.g., 'wool coat', 'linen trousers') and returns paginated results. Each page contains up to 40 product objects, configurable via the page_size parameter. Response fields per product include id, name, price, images (array of image URLs), product_url, gender, and stock availability. The total_items and total_pages fields let you walk full result sets across multiple pages using the page parameter.

Product Detail Lookup

The get_product_details endpoint takes a product_id string — obtainable directly from search_products results via results[*].id — and returns the complete product record. Additional fields beyond the search listing include categories (array of category identifier strings), launch_date, price_amount (numeric price value alongside the formatted price string), and sustainability_composition (an array of material composition objects, each with type and materials fields describing fabric breakdown).

Data Coverage

All fields reflect current product data from cos.com. Prices are returned both as a formatted string (price) and a raw numeric value (price_amount), which simplifies sorting or currency conversion in downstream code. The sustainability_composition field exposes material details useful for filtering by fabric type or building sustainability-focused product comparisons.

Reliability & maintenanceVerified

The COS API is a managed, monitored endpoint for cos.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when cos.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official cos.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
19h ago
Latest check
2/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a price tracker for COS products using price_amount from repeated get_product_details calls
  • Aggregate product images and URLs for a fashion lookbook or editorial tool using search_products
  • Filter COS catalog by gender using the gender field returned in search results
  • Surface material composition data from sustainability_composition to help shoppers filter by fabric or sustainability criteria
  • Sync COS product listings into a comparison shopping app using name, price, and product_url
  • Monitor new arrivals by tracking launch_date from get_product_details responses
  • Categorize COS inventory by parsing the categories array from product detail records
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does COS have an official public developer API?+
COS does not publish a public developer API. There is no documented REST or GraphQL interface available to third-party developers on their website.
What stock information does `search_products` return?+
Each product object in the search_products response includes stock info alongside the product listing. It does not break down stock by size or color variant at the search level. Full variant-level availability is not currently exposed. You can fork the API on Parse and revise it to add a size/variant stock endpoint if that granularity is needed.
Does the API return customer reviews or ratings for COS products?+
Not currently. The API covers product metadata, pricing, images, material composition, and category data. Customer reviews and ratings are not included in either endpoint. You can fork the API on Parse and revise it to add a reviews endpoint.
How do I paginate through all results for a search query?+
The search_products response includes total_pages and total_items alongside the current page number. Increment the page parameter (1-based) on successive requests and set page_size up to 40 to walk through the full result set for any given query.
What does the `sustainability_composition` field contain in product details?+
It is an array of objects, each with a type field (describing the component or layer of the garment) and a materials field listing the fabric breakdown. This reflects the material composition data shown on COS product pages and can be used to filter products by fiber type or surface sustainability information to end users.
Page content last updated . Spec covers 2 endpoints from cos.com.
Related APIs in EcommerceSee all →
asos.com API
Search and browse ASOS's fashion catalog to discover products across women's and men's categories, view real-time pricing and stock information, and find trending or sale items. Get detailed product information, explore similar items, and discover new arrivals and brands all in one place.
stories.com API
Search & Other Stories' catalog to find products by name or category, and retrieve detailed information including pricing, images, available sizes, colors, and materials for each item. Get comprehensive product details to compare styles, check inventory across variations, and make informed shopping decisions.
hm.com API
Search H&M's US product catalog by keyword and instantly retrieve detailed information like prices, product images, available sizes, and real-time stock availability. Perfect for comparing items, tracking product details, or building shopping applications powered by H&M's current inventory data.
revolve.com API
Browse Revolve.com's fashion inventory by searching products, filtering by category or sale status, and discovering new arrivals in real-time. Access detailed product information including pricing, descriptions, and availability to power your shopping app or fashion platform.
coppel.com API
Search and browse Coppel's product catalog by keyword to find items with prices, images, and detailed product information, with flexible sorting and pagination options. Get real-time access to Mexico's largest department store inventory to compare products and prices effortlessly.
quince.com API
Search and browse Quince's product catalog across women's clothing and all other categories, getting detailed information like prices, descriptions, and availability for each item. Explore product categories to discover collections and find exactly what you're looking for on Quince.
urbanoutfitters.com API
Search Urban Outfitters' catalog to find products and browse categories, then view detailed information including prices, descriptions, color and size availability for each item. Check current sale counts and discover what's trending across the store's product lineup.
bershka.com API
Search and browse Bershka's fashion collection by category, color, and size to find exactly what you're looking for. Get comprehensive product details including prices, materials, and real-time availability to make informed shopping decisions.