Instamart Product Endpoint
Return one Swiggy Instamart product with price, stock, rating and pack variants at a delivery location.
Getting Started
Send your API key as a bearer token. Start with the smallest request below.
Run Instamart Product
Send the smallest useful request and read the structured response.
curl -X POST "https://api.datablue.dev/v1/data/instamart/product" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "945DNIVBP4"
}'{
"success": true,
"source": "instamart",
"product_id": "945DNIVBP4",
"location_key": "blr_koramangala",
"requested_location": "Koramangala Bangalore",
"city": "Bangalore",
"latitude": 12.9352,
"longitude": 77.6245,
"store_id": "1396284",
"serviceable": true,
"captured_at": "2026-11-15T09:41:17.414153Z",
"time_taken": 4.36,
"product": {
"product_id": "CCX1XWR7GN",
"spin_id": "945DNIVBP4",
"title": "Nandini Shubham Milk",
"brand": "Nandini",
"url": "https://www.swiggy.com/instamart/item/CCX1XWR7GN",
"unit": "500 ml x 4",
"price": 128,
"mrp": 128,
"price_per_unit": "6.4/100 ml",
"in_stock": true,
"availability": "in_stock",
"cart_allowed_quantity": 1,
"images": [
"https://media-assets.swiggy.com/swiggy/image/upload/NI_CATALOG/IMAGES/ciw/2025/12/17/02bfb139-2185-4...",
"https://media-assets.swiggy.com/swiggy/image/upload/jbgxpzc5wuvvcwyygeln"
],
"category": "Milk",
"sub_category": "Fresh Milk",
"super_category": "Dairy, Bread and Eggs",
"rating": 4.4,
"rating_count": 131700,
"short_description": "Fresh milk from Nandini’s trusted dairy network",
"highlights": [
"Box Contents: 1 x Milk",
"Pack Size: 4 x 500 ml"
],
"description": "Nourish your body and soul with Nandini Shubam Milk, the ultimate source of vitality and well-being....",
"details": [
{
"name": "Nutritional Information",
"value": "Energy: 71\nCarbohydrates: 5.1g\nFat: 4.1g\nProtein: 3.5g"
}
],
"variants": [
{
"spin_id": "945DNIVBP4",
"unit": "500 ml x 4",
"price": 128,
"mrp": 128,
"in_stock": true
},
{
"spin_id": "RIVPKH8WIP",
"unit": "500 ml x 2",
"price": 64,
"mrp": 64,
"in_stock": true
}
]
},
"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/instamart/product" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "945DNIVBP4",
"location_key": "blr_koramangala",
"location": "New York, NY",
"city": "example",
"latitude": 40.7128
}'{
"success": true,
"source": "instamart",
"product_id": "945DNIVBP4",
"location_key": "blr_koramangala",
"requested_location": "Koramangala Bangalore",
"city": "Bangalore",
"latitude": 12.9352,
"longitude": 77.6245,
"store_id": "1396284",
"serviceable": true,
"captured_at": "2026-11-15T09:41:17.414153Z",
"time_taken": 4.36
}Request Controls
Set device, timeout, and request-specific controls.
curl -X POST "https://api.datablue.dev/v1/data/instamart/product" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "945DNIVBP4",
"timeout_ms": 30000
}'{
"success": true,
"source": "instamart",
"product_id": "945DNIVBP4",
"location_key": "blr_koramangala",
"requested_location": "Koramangala Bangalore",
"city": "Bangalore",
"latitude": 12.9352,
"longitude": 77.6245,
"store_id": "1396284",
"serviceable": true,
"captured_at": "2026-11-15T09:41:17.414153Z",
"time_taken": 4.36
}Additional Options
Set endpoint-specific options for this request.
curl -X POST "https://api.datablue.dev/v1/data/instamart/product" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "example"
}'{
"success": true,
"source": "instamart",
"product_id": "945DNIVBP4",
"location_key": "blr_koramangala",
"requested_location": "Koramangala Bangalore",
"city": "Bangalore",
"latitude": 12.9352,
"longitude": 77.6245,
"store_id": "1396284",
"serviceable": true,
"captured_at": "2026-11-15T09:41:17.414153Z",
"time_taken": 4.36
}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.
