Skip to documentation
Browse documentation

List Ads

List current Zepto sponsored product, campaign, and banner placements for a location or page.

Capability ID zepto.ads
Cost 1 credit per request
Maximum runtime 180 seconds
View raw Get an API key

POST /execute Shared execution endpoint

Input parameters

FieldTypeRequiredDescription
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.

Response

Successful output is returned in results[0].data. Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The full redacted fixture is shown in the response panel.

Illustrative output fields

Derived from the sample above for orientation only. These observed fields are not a fixed response schema.

PathObserved typeExample
count integer 5
location_eta_in_minutes integer 4
location_eta_serviceable boolean true
location_latitude number 12.96902
location_longitude number 77.75395
location_secondary_store_ids array 1 items
location_secondary_store_ids array 1 items
location_serviceable boolean true
location_source_url string https://bff-gateway.zepto.com/lms/api/v2/get_page?latitude=12.96902&lon…
location_store_id string b4dc8d65-ed2e-4142-81b6-373982b13500
location_store_ids array 2 items
location_store_ids array 2 items
page_type string HOME
results array 3 items
results array 3 items
source_url string https://bff-gateway.zepto.com/lms/api/v2/get_page?enforce_platform_type…

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.

Resources