List Ads
zepto.ads
List current Zepto sponsored product, campaign, and banner placements for a location or page.
Request
curl -X POST https://data.upscrape.com/execute \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"latitude":12.96902,"limit":5,"longitude":77.75395,"page_type":"HOME"},"capability":"zepto.ads"}'
Input
| Field | Type | Required | Description |
|---|---|---|---|
category_id
| string | optional | Category ID (relevant when page_type is CATEGORY). |
latitude
| number | optional | Latitude for location-based store resolution. |
limit
| integer | optional | Maximum number of ad placements to return. |
longitude
| number | optional | Longitude for location-based store resolution. |
page_type
| string | optional | Type of page to fetch ads for. |
query
| string | optional | Search query (relevant when page_type is SEARCH). |
store_id
| string | optional | Zepto store ID. Defaults to the public Bangalore sample store. |
subcategory_id
| string | optional | Subcategory ID (relevant when page_type is CATEGORY). |
url
| string | optional | Direct URL to a Zepto page for ad context. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
count
| integer | optional | Total number of ad placements returned. |
location_eta_in_minutes
| integer | optional | |
location_eta_serviceable
| boolean | optional | |
location_is_nightly_store
| boolean | optional | |
location_latitude
| number | optional | |
location_longitude
| number | optional | |
location_secondary_store_ids
| array<string> | optional | |
location_serviceable
| boolean | optional | |
location_source_url
| string | optional | |
location_store_id
| string | optional | |
location_store_ids
| array<string> | optional | |
page_type
| string | optional | The page type that was queried. |
query
| string | optional | The search query used, if any. |
results
| array<object> | optional | List of ad placement objects. |
results[].ads_response_id
| string | optional | |
results[].brand
| string | optional | |
results[].campaign_name
| string | optional | |
results[].category_id
| string | optional | |
results[].category_name
| string | optional | |
results[].deeplink_url
| string | optional | |
results[].discount_percent
| integer | optional | |
results[].discounted_selling_price_paise
| integer | optional | |
results[].element_id
| string | optional | |
results[].element_name
| string | optional | |
results[].element_type
| string | optional | |
results[].formatted_pack_size
| string | optional | |
results[].image_url
| string | optional | |
results[].is_sponsored
| boolean | optional | |
results[].mrp_paise
| integer | optional | |
results[].page_type
| string | optional | |
results[].placement_type
| string | optional | |
results[].position_in_list
| integer | optional | |
results[].product_id
| string | optional | |
results[].product_name
| string | optional | |
results[].product_url
| string | optional | |
results[].product_variant_id
| string | optional | |
results[].rank
| integer | optional | |
results[].selling_price_paise
| integer | optional | |
results[].store_product_id
| string | optional | |
results[].subcategory_id
| string | optional | |
results[].subcategory_name
| string | optional | |
results[].widget_id
| string | optional | |
results[].widget_name
| string | optional | |
results[].widget_title
| string | optional | |
results[].widget_type
| string | optional | |
source_url
| string | optional | Source URL used to fetch ads. |