---
title: "Coop API: Swiss groceries as JSON | Perceptlayer"
description: "Coop API for Swiss groceries: search, categories, promotions, prices in CHF, nutrition, reviews and store finder. 1 credit per successful call."
url: https://perceptlayer.com/apis/coop
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Coop

1 credit per call 6 endpoints 21 datapoints 

# Coop API

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

[Get a free API key](https://perceptlayer.com/signup) Run it below

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 OK JSON X-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.

| # | position integer | id string | code string | name string | title string | price number | currency string | base\_price number | base\_price\_unit string | content integer | content\_unit string | rating number | review\_count integer | available boolean | has\_promotion boolean | week\_promotion boolean | vegan boolean | vegetarian boolean | category object | image url | images string\[\] |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 1 | 4446520 | 4446520 | Free From Milch Drink 1,5% Milchfett UHT lactosefrei | Free From Milch Drink 1,5% Milchfett UHT lactosefrei | 2 | CHF | 2 | l | 1 | l | 4.5 | 289 | true | false | false | false | false | {2 fields} | https://www.coop.ch/img/produkte/290\_410/RGB/4446520\_001.jpg?\_=1725460729328 | \[3 items\] |
| 2 | 2 | 4389992 | 4389992 | Naturaplan Bio Vollmilch 3,9% Milchfett UHT 6x1l | Naturaplan Bio Vollmilch 3,9% Milchfett UHT 6x1l | 12 | CHF | 2 | l | 6 | l | 5 | 296 | true | false | false | false | false | {2 fields} | https://www.coop.ch/img/produkte/290\_410/RGB/4389992\_001.jpg?\_=1793396930960 | \[3 items\] |
| 3 | 3 | 3081654 | 3081654 | Naturaplan Bio Vollmilch 3,9% Milchfett Past | Naturaplan Bio Vollmilch 3,9% Milchfett Past | 1.9 | CHF | 1.9 | l | 1 | l | 5 | 213 | true | false | false | false | false | {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 item GET /v1/coop/search?query=milch

21 datapoints

### Identity

-   id string
-   name string
-   title string
-   category object

### Reputation

-   rating number
-   review\_count integer
-   image url
-   images string\[\]

### Price

-   price number
-   currency string
-   base\_price number
-   base\_price\_unit string

### Other

-   position integer
-   code string
-   content integer
-   content\_unit string
-   available boolean
-   has\_promotion boolean
-   week\_promotion boolean
-   vegan boolean
-   vegetarian boolean

Playground

## Run this API

cURL shell 

```
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.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/coop/category`](https://perceptlayer.com/apis/coop/category) | `code` +3 optional | `items` `pagination` `categories` `sorts` `language` | 1 credit |
| [GET `/v1/coop/product`](https://perceptlayer.com/apis/coop/product) | `id` +1 optional | `product` | 1 credit |
| [GET `/v1/coop/promotions`](https://perceptlayer.com/apis/coop/promotions) | none +2 optional | `items` `pagination` `categories` `sorts` `language` | 1 credit |
| [GET `/v1/coop/reviews`](https://perceptlayer.com/apis/coop/reviews) | `id` +2 optional | `product_id` `reviews` `reviews_by_rating` `rating` `review_count` `number_of_reviews` +1 more | 1 credit |
| [GET `/v1/coop/search`](https://perceptlayer.com/apis/coop/search) | `query` +3 optional | `items` `pagination` `categories` `sorts` `language` | 1 credit |
| [GET `/v1/coop/stores`](https://perceptlayer.com/apis/coop/stores) | `latitude` `longitude` +5 optional | `name` `address` `distance` | 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.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

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.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
