Skip to documentation
Browse documentation
For AI agents

Connect your agent to live platform data.

Open in

Products search

Search JioMart’s national catalogue by query with product identity, price data and page continuation.

Capability ID jiomart.products.search
Maximum runtime 30 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

Provide a nonblank query. A top-level pincode must be a six-digit Indian PIN with a nonzero first digit; location may carry pincode, city and state. If both top-level and nested PINs are supplied, they must agree.

page is a native JioMart page number starting at 1. page_size accepts 1 to 100 and bounds the rows returned from that native page. Use returned page_id continuation to resume any unreturned rows.

sort_on is passed through to JioMart. Reuse a returned page_id only with the same query, PIN, sort and page_size.

location object optional
location.city string optional

City name.

location.pincode string optional

Postal code (PIN) that sets the delivery location.

location.state string optional

State or region name.

page integer optional

Native upstream page number. Use returned page_id continuation to consume every row when page_size is smaller than a native page. At least 1.

Example 1
page_id string optional

Use the returned pagination.next_cursor or page.next_id unchanged, with the same query, filter, collection, PIN, sort and page_size.

page_size integer optional

Maximum products returned from one native page. Returned continuation preserves any remaining rows; no additional native pages are scanned in this call. From 1 to 100.

Example 20
pincode string optional

Postal code (PIN) that sets the delivery location.

Example 400001
query string required

Search query.

Example rice
sort_on string optional

Passed unchanged to JioMart; results preserve JioMart's own order. price_asc is not guaranteed to be strictly ascending. No local page sorting.

Response

Successful output is returned in results[0].data.

Search is national-catalogue data. A returned product, price, sellable value or store ID does not by itself establish local quick-commerce stock or delivery to the requested PIN.

Use page.next_id or pagination.next_cursor unchanged to continue the same request context. Numeric page selects an upstream page rather than an offset derived from page_size.

price_asc preserves JioMart’s returned order but is not guaranteed to be strictly ascending within or across pages.

Illustrative sample The example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

PathObserved typeExample
items array 3 items
items array 3 items
page object 5 fields
page.has_next boolean true
page.has_previous boolean false
page.item_total integer 4610
page.next_id string 2
page.type string cursor
pagination object 3 fields
pagination.has_more boolean true
pagination.next_cursor string 2
pagination.total integer 4610

Execution behavior

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

Overview, pricing and sample data for every endpoint: JioMart API