APIs / Marketplaces / Coop

1 credit per call6 endpoints21 datapointsChecked working 6 Dec 2026

Coop API

Coop API for Swiss groceries: search, categories, promotions, prices in CHF, nutrition, reviews and store finder. 1 credit per successful call.

Coop
GET/v1/coop/search?query=milch
{
  "success": true,
  "items": [
    {
      "position": 1,
      "id": "4446520",
      "code": "4446520",
      "name": "Free From Milch Drink 1,5% Milchfett UHT lactosefrei",
      "title": "Free From Milch Drink 1,5% Milchfett UHT lactosefrei",
      "price": 2,
      "currency": "CHF",
      "base_price": 2,
      "base_price_unit": "l",
      "content": 1,
      "content_unit": "l",
      "rating": 4.5,
      "review_count": 289,
      "available": true,
      "has_promotion": false,
      "week_promotion": false,
      "vegan": false,
      "vegetarian": false,
      "category": {
        "id": "m_0058",
        "name": "UHT Milch"
      },
      "image": "https://www.coop.ch/img/produkte/290_410/RGB/4446520_001.jpg?_=1725460729328",
      "images": [
        "https://www.coop.ch/img/produkte/290_410/RGB/4446520_001.jpg?_=1725460729328",
        "https://www.coop.ch/img/produkte/323_323/RGB/4446520_001.jpg?_=1725460730182",
        "https://www.coop.ch/img/produkte/310_310/RGB/4446520_001.jpg?_=1725460727809"
      ]
    },
    {
      "position": 2,
      "id": "4389992",
      "code": "4389992",
      "name": "Naturaplan Bio Vollmilch 3,9% Milchfett UHT 6x1l",
      "title": "Naturaplan Bio Vollmilch 3,9% Milchfett UHT 6x1l",
      "price": 12,
      "currency": "CHF",
      "base_price": 2,
      "base_price_unit": "l",
      "content": 6,
      "content_unit": "l",
      "rating": 5,
      "review_count": 296,
      "available": true,
      "has_promotion": false,
      "week_promotion": false,
      "vegan": false,
      "vegetarian": false,
      "category": {
        "id": "m_2218",
        "name": "Multipacks ab 1l"
      },
      "image": "https://www.coop.ch/img/produkte/290_410/RGB/4389992_001.jpg?_=1793396930960",
      "images": [
        "https://www.coop.ch/img/produkte/290_410/RGB/4389992_001.jpg?_=1793396930960",
        "https://www.coop.ch/img/produkte/323_323/RGB/4389992_001.jpg?_=1793396932746",
        "https://www.coop.ch/img/produkte/310_310/RGB/4389992_001.jpg?_=1793396927494"
      ]
    },
    {
      "position": 3,
      "id": "3081654",
      "code": "3081654",
      "name": "Naturaplan Bio Vollmilch 3,9% Milchfett Past",
      "title": "Naturaplan Bio Vollmilch 3,9% Milchfett Past",
      "price": 1.9,
      "currency": "CHF",
      "base_price": 1.9,
      "base_price_unit": "l",
      "content": 1,
      "content_unit": "l",
      "rating": 5,
      "review_count": 213,
      "available": true,
      "has_promotion": false,
      "week_promotion": false,
      "vegan": false,
      "vegetarian": false,
      "category": {
        "id": "m_0057",
        "name": "Frische Milch"
      },
      "image": "https://www.coop.ch/img/produkte/290_410/RGB/3081654_001.jpg?_=1758070429931",
      "images": [
        "https://www.coop.ch/img/produkte/290_410/RGB/3081654_001.jpg?_=1758070429931",
        "https://www.coop.ch/img/produkte/323_323/RGB/3081654_001.jpg?_=1758070430604",
        "https://www.coop.ch/img/produkte/310_310/RGB/3081654_001.jpg?_=1758070428397"
      ]
    }
  ],
  "pagination": {
    "currentPage": 0,
    "pageSize": 20,
    "sort": "relevance",
    "totalPages": 22,
    "totalResults": 433
  },
  "facets": [
    {
      "code": "availableOnline",
      "count": 433,
      "facetTypeValue": "CATEGORYOPTIONSCHECKBOX",
      "maxRange": 0,
      "maxValue": 0,
      "minRange": 0,
      "minValue": 0,
      "multiSelect": false,
      "name": "Online verfügbar",
      "selected": false,
      "values": [
        {
          "code": "true",
          "count": 433,
          "name": "true",
          "selected": false
        }
      ]
    },
    {
      "code": "specialOfferFacet",
      "count": 80,
      "facetTypeValue": "CATEGORYOPTIONSCHECKBOX",
      "maxRange": 0,
      "maxValue": 0,
      "minRange": 0,
      "minValue": 0,
      "multiSelect": false,
      "name": "in Aktion",
      "selected": false,
      "values": [
        {
          "code": "false",
          "count": 353,
          "name": "false",
          "selected": false
        },
        {
          "code": "true",
          "count": 80,
          "name": "true",
          "selected": false
        }
      ]
    },
    {
      "code": "bioFacet",
      "count": 65,
      "facetTypeValue": "CATEGORYOPTIONSCHECKBOX",
      "maxRange": 0,
      "maxValue": 0,
      "minRange": 0,
      "minValue": 0,
      "multiSelect": false,
      "name": "Bio",
      "selected": false,
      "values": [
        {
          "code": "false",
          "count": 368,
          "name": "false",
          "selected": false
        },
        {
          "code": "true",
          "count": 65,
          "name": "true",
          "selected": false
        }
      ]
    }
  ],
  "categories": [
    {
      "id": "m_0056",
      "name": "Milch",
      "productCount": 135
    },
    {
      "id": "m_5509",
      "name": "Vegane Milchalternativen",
      "productCount": 24
    },
    {
      "id": "m_0057",
      "name": "Frische Milch",
      "productCount": 34
    }
  ],
  "sorts": [
    {
      "code": "relevance",
      "name": "Relevanz",
      "selected": true
    },
    {
      "code": "topRated",
      "name": "Bewertungen",
      "selected": false
    },
    {
      "code": "name-asc",
      "name": "Name",
      "selected": false
    }
  ],
  "page": 1,
  "page_size": 20,
  "has_more": true,
  "next_page": 2,
  "language": "de",
  "meta": {
    "endpoint_family": "coop-search",
    "attempts": 1,
    "request_id": "req_90a0e4e605574849bce5f8eb0eaa73ad",
    "credits_charged": 1,
    "credits_remaining": 4946
  }
}
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.

#positionintegeridstringcodestringnamestringtitlestringpricenumbercurrencystringbase_pricenumberbase_price_unitstringcontentintegercontent_unitstringratingnumberreview_countintegeravailablebooleanhas_promotionbooleanweek_promotionbooleanveganbooleanvegetarianbooleancategoryobjectimageurlimagesstring[]
1144465204446520Free From Milch Drink 1,5% Milchfett UHT lactosefreiFree From Milch Drink 1,5% Milchfett UHT lactosefrei2CHF2l1l4.5289truefalsefalsefalsefalse{2 fields}https://www.coop.ch/img/produkte/290_410/RGB/4446520_001.jpg?_=1725460729328[3 items]
2243899924389992Naturaplan Bio Vollmilch 3,9% Milchfett UHT 6x1lNaturaplan Bio Vollmilch 3,9% Milchfett UHT 6x1l12CHF2l6l5296truefalsefalsefalsefalse{2 fields}https://www.coop.ch/img/produkte/290_410/RGB/4389992_001.jpg?_=1793396930960[3 items]
3330816543081654Naturaplan Bio Vollmilch 3,9% Milchfett PastNaturaplan Bio Vollmilch 3,9% Milchfett Past1.9CHF1.9l1l5213truefalsefalsefalsefalse{2 fields}https://www.coop.ch/img/produkte/290_410/RGB/3081654_001.jpg?_=1758070429931[3 items]

Recorded from our API · 3 items shown · 21 datapoints per itemGET /v1/coop/search?query=milch

21 datapoints

Identity

  • idstring
  • namestring
  • titlestring
  • categoryobject

Reputation

  • ratingnumber
  • review_countinteger
  • imageurl
  • imagesstring[]

Price

  • pricenumber
  • currencystring
  • base_pricenumber
  • base_price_unitstring

Other

  • positioninteger
  • codestring
  • contentinteger
  • content_unitstring
  • availableboolean
  • has_promotionboolean
  • week_promotionboolean
  • veganboolean
  • vegetarianboolean

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/coop/search?query=milch" \
  -H "X-API-Key: $API_KEY"

Coop · 6 endpoints

Endpoints

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

EndpointRequired parametersReturnsCost
GET/v1/coop/category
code+3 optional
itemspaginationcategoriessortslanguage
1 credit
GET/v1/coop/product
id+1 optional
product
1 credit
GET/v1/coop/promotions
none+2 optional
itemspaginationcategoriessortslanguage
1 credit
GET/v1/coop/reviews
id+2 optional
product_idreviewsreviews_by_ratingratingreview_countnumber_of_reviews+1 more
1 credit
GET/v1/coop/search
query+3 optional
itemspaginationcategoriessortslanguage
1 credit
GET/v1/coop/stores
latitudelongitude+5 optional
nameaddressdistance
1 credit

Overview

About the Coop API

What you can get

The Coop API returns grocery data from Coop, the Swiss supermarket, as JSON through 6 endpoints. Prices are in CHF, and every endpoint takes language (de, fr, it or en).

  • Search: search takes a query, with sort (such as relevance, topRated, price-asc, price-desc, basePrice-asc, specialOffers or bio) and page.
  • Categories: category takes a code (such as m_0001), with sort and page.
  • Promotions: promotions lists products on offer, with page.
  • Products: product takes an id.
  • Reviews: reviews takes an id, with page.
  • Stores: stores takes latitude and longitude, with radius, page and availabilityProductId or onlyWithAvailableProductId.

The recorded search for "milch" returns items, each with id, name, price, original_price, discount_percent, base_price, base_price_unit, content, rating, review_count, available, has_promotion, vegan, vegetarian, category and images, plus facets and pagination (433 results). The recorded product call for a lactose-free UHT milk at 2.00 CHF adds the ean, ingredients, nutrition specs per portion and per 100ml, and stock (416).

How a call works

Search, then look up: GET /v1/coop/search?query=milch with your key in the X-API-Key header returns each product's id. Pass it to product or reviews, or to stores as availabilityProductId. Pages start at 0 in pagination.currentPage with 20 products each. The recorded promotions call listed 3,099 products on offer. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track Coop grocery prices and price per unit

Use the Coop API to track Coop grocery prices and price per unit

Watch this week's promotions and discounts

Use the Coop API to watch this week's promotions and discounts

Pull ingredients and nutrition values for a product

Use the Coop API to pull ingredients and nutrition values for a product

Analyse customer reviews and the rating distribution

Use the Coop API to analyse customer reviews and the rating distribution

FAQ

Questions

How much does the Coop API cost?

Each successful call costs 1 credit, for every endpoint. Failed calls cost nothing.

Which market is covered?

Switzerland. Coop's online shop prices in CHF, and `language` returns names in German, French, Italian or English.

What do stores return?

In the recorded call each store came back with its `name`, `postal_code` and `distance`, 20 per page; 1,001 stores matched around Zurich. Opening hours and full addresses were not in that response.

Do I need a Coop account?

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

Is this the official Coop API?

No. Perceptlayer is an independent service and is not affiliated with Coop. It returns Coop data as JSON with a Perceptlayer key, so there is no Coop developer account, app review or partner approval to get first. It only reads data: if Coop has an official API and you need to act on your own Coop account, such as posting, managing orders or reading private data, use that one.

Should I build a Coop scraper instead?

You can, but a Coop scraper is code you maintain: page changes break it, requests get blocked, and Coop's terms govern how you collect data. The Coop API gives you 6 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 Coop API with 100 free credits

No credit card. Failed calls are never billed.