APIs / Ocado / Search

Ocado: Search

Search from Ocado as JSON. 9 credits per successful call.

GET /v1/ocado/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 120 characters

Example request

Ocado
GET/v1/ocado/search?query=milk
{
  "success": true,
  "data": {
    "query": "milk",
    "page": 1,
    "count": 46,
    "total": 46,
    "has_next_page": false,
    "items": [
      {
        "id": "30567011",
        "product_uuid": "590cb3fd-45f7-4827-8711-1af0c2ace8fb",
        "name": "Yeo Valley Organic Fresh Whole Milk",
        "brand": "Yeo Valley",
        "size": "2L",
        "url": "https://www.ocado.com/products/30567011",
        "image": "https://www.ocado.com/images-v3/eafa5127-d256-497b-9609-4869092accd6/aba0e337-3a35-4512-a444-153e47ef7d2d/300x300.jpg",
        "currency": "GBP",
        "price": 3.15,
        "unit_price": 1.58,
        "availability": true,
        "rating": 4,
        "review_count": 220,
        "guaranteed_product_life": {
          "quantity": 6,
          "unit": "DAY"
        }
      },
      {
        "id": "24581011",
        "product_uuid": "4b1cb801-6e93-4d96-9f04-7cf9f577bdb2",
        "name": "Cravendale Filtered Fresh Semi Skimmed Milk Fresher for Longer",
        "brand": "Cravendale",
        "size": "2L",
        "url": "https://www.ocado.com/products/24581011",
        "image": "https://www.ocado.com/images-v3/eafa5127-d256-497b-9609-4869092accd6/dd7a478e-89b0-4a45-a008-ddfbe282a123/300x300.jpg",
        "currency": "GBP",
        "price": 2.65,
        "unit_price": 1.33,
        "availability": true,
        "rating": 4.5,
        "review_count": 335,
        "guaranteed_product_life": {
          "quantity": 2,
          "unit": "WEEK"
        }
      },
      {
        "id": "30568011",
        "product_uuid": "c05873ac-d00c-45db-9703-36d96fe2823e",
        "name": "Yeo Valley Organic Fresh Semi Skimmed Milk",
        "brand": "Yeo Valley",
        "size": "2L",
        "url": "https://www.ocado.com/products/30568011",
        "image": "https://www.ocado.com/images-v3/eafa5127-d256-497b-9609-4869092accd6/b84fb9e5-a887-484b-b054-366cf96d3923/300x300.jpg",
        "currency": "GBP",
        "price": 3.15,
        "unit_price": 1.58,
        "availability": true,
        "rating": 3.8,
        "review_count": 228,
        "guaranteed_product_life": {
          "quantity": 6,
          "unit": "DAY"
        }
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_2c2de860eab342a7b3015925f9a446e9",
    "credits_charged": 9,
    "credits_remaining": 4823
  }
}
200 OKJSONX-Credits-Used: 9
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 9 credits per successful call; failed calls are free.

Response fields

Each item in data.items has these 14 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
product_uuidstring
namestring
brandstring
sizestring
urlurl
imageurl
currencystring
pricenumber
unit_pricenumber
availabilityboolean
ratingnumber
review_countinteger
guaranteed_product_lifeobject