Docs / API reference

POST/v1/data/zepto/product

Zepto Product

Return one Zepto product with price, stock, rating and details at a delivery location.

Execution model

Live request

Runtime depends on endpoint, target, pagination, rendering mode, and active plan limits.

Credit weight

Live catalog

Current weights are managed from the Data API Weights admin table and shown on pricing before use.

Zepto Product Endpoint

Return one Zepto product with price, stock, rating and details at a delivery location.

Getting Started

Send your API key as a bearer token. Start with the smallest request below.

Run Zepto Product

Send the smallest useful request and read the structured response.

curl -X POST "https://api.datablue.dev/v1/data/zepto/product" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f"
}'
Example response
{
  "success": true,
  "source": "zepto",
  "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f",
  "location_key": "blr_koramangala",
  "requested_location": "Koramangala Bangalore",
  "city": "Bangalore",
  "latitude": 12.9352,
  "longitude": 77.6245,
  "store_id": "5ec071fd-78df-41f6-b3ae-7298d9f96a3d",
  "serviceable": true,
  "captured_at": "2026-11-15T08:58:53.049295Z",
  "time_taken": 0.07,
  "product": {
    "product_id": "62253912-474c-4fca-98d8-486d2817fdda",
    "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f",
    "store_product_id": "00e807e2-f858-54cf-995d-5f8f40984ff0",
    "title": "Amul Taaza Toned Fresh Milk | Pouch",
    "brand": "Amul",
    "url": "https://www.zepto.com/pn/amul-taaza-toned-fresh-milk-pouch/pvid/9d447ba5-1d35-46e1-bc64-e932135d026f",
    "unit": "1 pack (500 ml)",
    "price": 28,
    "mrp": 30,
    "discount_percentage": 6,
    "in_stock": true,
    "availability": "in_stock",
    "available_quantity": 18,
    "rating": 4.7,
    "rating_count": 1253923,
    "images": [
      "https://cdn.zeptonow.com/production/cms/product_variant/2e8a0f88-1038-4fd3-8093-7085a49b473c.jpeg",
      "https://cdn.zeptonow.com/production/cms/product_variant/a9ca6093-5be5-405b-95a0-5d97167f8b92.jpeg"
    ],
    "category": "Dairy, Bread & Eggs",
    "sub_category": "Milk",
    "highlights": [
      "Pasteurized and homogenized for safety, rich in essential nutrients and calcium, perfect for tea and..."
    ],
    "description": "Amul is one of the best brands in the Indian food industry known for its dairy\" | \"confectionary and...",
    "details": [
      {
        "name": "Brand",
        "value": "Amul",
        "section": "Highlights"
      },
      {
        "name": "Product Type",
        "value": "Toned Milk",
        "section": "Highlights"
      }
    ],
    "store_id": "5ec071fd-78df-41f6-b3ae-7298d9f96a3d"
  },
  "credits_used": 1
}

Options

Location and Language

Localize results with country, language, coordinates, or delivery-location fields.

curl -X POST "https://api.datablue.dev/v1/data/zepto/product" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f",
  "location_key": "blr_koramangala",
  "location": "New York, NY",
  "city": "example",
  "latitude": 40.7128
}'
Example response
{
  "success": true,
  "source": "zepto",
  "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f",
  "location_key": "blr_koramangala",
  "requested_location": "Koramangala Bangalore",
  "city": "Bangalore",
  "latitude": 12.9352,
  "longitude": 77.6245,
  "store_id": "5ec071fd-78df-41f6-b3ae-7298d9f96a3d",
  "serviceable": true,
  "captured_at": "2026-11-15T08:58:53.049295Z",
  "time_taken": 0.07
}

Request Controls

Set device, timeout, and request-specific controls.

curl -X POST "https://api.datablue.dev/v1/data/zepto/product" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f",
  "timeout_ms": 20000
}'
Example response
{
  "success": true,
  "source": "zepto",
  "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f",
  "location_key": "blr_koramangala",
  "requested_location": "Koramangala Bangalore",
  "city": "Bangalore",
  "latitude": 12.9352,
  "longitude": 77.6245,
  "store_id": "5ec071fd-78df-41f6-b3ae-7298d9f96a3d",
  "serviceable": true,
  "captured_at": "2026-11-15T08:58:53.049295Z",
  "time_taken": 0.07
}

Additional Options

Set endpoint-specific options for this request.

curl -X POST "https://api.datablue.dev/v1/data/zepto/product" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "product_variant_id": "example"
}'
Example response
{
  "success": true,
  "source": "zepto",
  "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f",
  "location_key": "blr_koramangala",
  "requested_location": "Koramangala Bangalore",
  "city": "Bangalore",
  "latitude": 12.9352,
  "longitude": 77.6245,
  "store_id": "5ec071fd-78df-41f6-b3ae-7298d9f96a3d",
  "serviceable": true,
  "captured_at": "2026-11-15T08:58:53.049295Z",
  "time_taken": 0.07
}

Response

Read success first, then consume the endpoint-specific records and pagination fields shown below.

Error Handling

Handle 401 for authentication, 422 for invalid input, 429 for limits, and retry only transient failures.

Parameters

NameTypeRequirementDescription
product_variant_idstringRequiredZepto product variant ID.
location_keystringOptionalFixed launch location: blr_koramangala, mum_bandra, del_connaught_place. Used only when location, city and coordinates are empty.
locationstringOptionalArea name, address or 6-digit pincode, e.g. Koramangala or 560034. Wins over location_key; unknown areas return an error, never a default area.
citystringOptionalOptional city that narrows location. A city alone returns HTTP 422 with example areas.
latitude / longitudenumberOptionalExact delivery point. Send both; wins over location.
timeout_msnumberOptionalProvider deadline in milliseconds (3000-60000).

Response fields

FieldTypeDescription
successbooleanFalse when the product or location could not be served.
serviceableboolean | nulltrue when a store serves the location, false when it is outside the delivery area, null when the lookup did not answer.
location_key / requested_location / city / latitude / longitudestring | numberThe delivery location that was used.
store_idstringZepto store that served the request.
productobjectproduct_id, product_variant_id, title, brand, url, unit, price, mrp, discount_percentage, in_stock, availability, available_quantity, rating, rating_count, images, category, sub_category, highlights, description, and details.
credits_usednumberCredits charged for this request.
time_takennumberAPI response time in seconds.

Request and response

curl -X POST "https://api.datablue.dev/v1/data/zepto/product" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f"
}'
Example response
{
  "success": true,
  "source": "zepto",
  "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f",
  "location_key": "blr_koramangala",
  "requested_location": "Koramangala Bangalore",
  "city": "Bangalore",
  "latitude": 12.9352,
  "longitude": 77.6245,
  "store_id": "5ec071fd-78df-41f6-b3ae-7298d9f96a3d",
  "serviceable": true,
  "captured_at": "2026-11-15T08:58:53.049295Z",
  "time_taken": 0.07,
  "product": {
    "product_id": "62253912-474c-4fca-98d8-486d2817fdda",
    "product_variant_id": "9d447ba5-1d35-46e1-bc64-e932135d026f",
    "store_product_id": "00e807e2-f858-54cf-995d-5f8f40984ff0",
    "title": "Amul Taaza Toned Fresh Milk | Pouch",
    "brand": "Amul",
    "url": "https://www.zepto.com/pn/amul-taaza-toned-fresh-milk-pouch/pvid/9d447ba5-1d35-46e1-bc64-e932135d026f",
    "unit": "1 pack (500 ml)",
    "price": 28,
    "mrp": 30,
    "discount_percentage": 6,
    "in_stock": true,
    "availability": "in_stock",
    "available_quantity": 18,
    "rating": 4.7,
    "rating_count": 1253923,
    "images": [
      "https://cdn.zeptonow.com/production/cms/product_variant/2e8a0f88-1038-4fd3-8093-7085a49b473c.jpeg",
      "https://cdn.zeptonow.com/production/cms/product_variant/a9ca6093-5be5-405b-95a0-5d97167f8b92.jpeg"
    ],
    "category": "Dairy, Bread & Eggs",
    "sub_category": "Milk",
    "highlights": [
      "Pasteurized and homogenized for safety, rich in essential nutrients and calcium, perfect for tea and..."
    ],
    "description": "Amul is one of the best brands in the Indian food industry known for its dairy\" | \"confectionary and...",
    "details": [
      {
        "name": "Brand",
        "value": "Amul",
        "section": "Highlights"
      },
      {
        "name": "Product Type",
        "value": "Toned Milk",
        "section": "Highlights"
      }
    ],
    "store_id": "5ec071fd-78df-41f6-b3ae-7298d9f96a3d"
  },
  "credits_used": 1
}