Coop: Search
Search from Coop as JSON. 1 credit per successful call.
GET /v1/coop/search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Required | Up to 150 characters |
sort | string | Optional | relevance, topRated, name-asc, brand-asc, price-asc, price-desc, basePrice-asc, basePrice-desc, specialOffers, bio, mostlyBought |
page | integer | Optional | Any |
language | string | Optional | de, fr, it, en |
Example request
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.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
items | object[] |
pagination | object |
categories | object[] |
sorts | object[] |
language | string |