Skip to documentation
Browse documentation

Autocomplete Search

Fetch JioMart search autocomplete suggestions.

Capability ID jiomart.autocomplete.search
Cost 1 credit per request
Maximum runtime 30 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

limit integer optional

Maximum number of results to return.

Example 10
location object optional

Location supplied for this request.

location.city string optional

City supplied for this request.

location.pincode string optional

Pincode supplied for this request.

location.state string optional

State supplied for this request.

pincode string optional

Pincode supplied for this request.

Example 400001
query string required

Search query.

Example rice

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
raw object 2 fields
raw.items array 3 items
raw.meta object 3 fields
suggestions array 3 items
suggestions array 3 items

Execution behavior

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