ajio.com APIajio.com ↗
Search and browse Ajio.com products via API. Get pricing, ratings, size variants, brand listings, new arrivals, and sale products across all categories.
curl -X GET 'https://api.parse.bot/scraper/403a6af9-bd94-47a3-a922-1ea3484b2be8/search_products?page=0&size=5&sort=relevance&query=shoes&page_size=3' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for products by keyword on Ajio.com. Returns paginated results with product listings, facets, and sorting options.
| Param | Type | Description |
|---|---|---|
| page | integer | Zero-based page number for pagination. |
| size | integer | Number of results per page. |
| sort | string | Sort order: 'relevance', 'discount-desc', 'prce-asc', 'newn', 'prce-desc'. |
| queryrequired | string | Search keyword (e.g. 'shoes', 'puma', 'running shoes'). |
{
"type": "object",
"fields": {
"products": "array of product listing objects with code, name, price, images, url, brandTypeName, discountPercent",
"pagination": "object containing pageSize, sort, currentPage, totalResults, totalPages",
"totalResults": "integer total number of matching products (inside pagination)"
},
"sample": {
"data": {
"products": [
{
"url": "/u-s-polo-assn--men-low-top-lace-up-sneakers/p/469696402_white",
"code": "469696402001",
"name": "Men Low-Top Lace-Up Sneakers",
"price": {
"value": 2352,
"currencyIso": "INR",
"displayformattedValue": "Rs.2,352"
},
"brandTypeName": "u-s-polo-assn-",
"discountPercent": "51% off"
}
],
"pagination": {
"sort": "relevance",
"pageSize": 5,
"totalPages": 275,
"currentPage": 0,
"totalResults": 12345
}
},
"status": "success"
}
}About the ajio.com API
The Ajio.com API provides 6 endpoints covering product search, category browsing, brand listings, new arrivals, sale products, and full product detail. The get_product_detail endpoint returns over a dozen fields per product including size-level variant stock, aggregated ratings breakdowns, color options, and promotional pricing — all keyed by the product option code returned from search and listing endpoints.
Search and Browse
The search_products endpoint accepts a query string (e.g. 'puma running shoes') and returns an array of product listing objects alongside a pagination object. Each listing includes code, name, price, images, brandTypeName, and discountPercent. The sort parameter accepts 'relevance', 'discount-desc', 'prce-asc', 'prce-desc', and 'newn'. Pagination is zero-based via the page parameter, with totalResults and totalPages in the response. get_category_products and get_brand_products follow the same pagination and sort interface but scope results to a specific Ajio category brick code or brand name respectively.
Product Detail
get_product_detail takes a product_id in the format '469696402_white' — the code field from any listing endpoint — and returns the full product record. The price object includes value, currencyIso, displayformattedValue, and discountPercent. The variantOptions array enumerates available sizes with individual stock status, priceData, and scDisplaySize. The baseOptions array covers color variants. The ratingsResponse object includes averageRating, numUserRatings, and percentage breakdowns by star tier.
New Arrivals and Sale Products
get_new_arrivals returns products sorted newest-first and accepts an optional query to filter by keyword within new arrivals; pass 'all' to retrieve across all categories. get_sale_products returns listings ordered by highest discountPercent descending, also filterable by keyword. The sale listing response additionally includes a wasPriceData field not present on standard listing endpoints, which exposes the original pre-discount price for each product.
- Track discount percentages across brand or category pages to monitor sale depth on Ajio
- Build a size availability checker using
variantOptions[*].stockfromget_product_detail - Aggregate
averageRatingandnumUserRatingsfrom ratings responses for product comparison tools - Compile new-arrival feeds filtered by keyword using
get_new_arrivalswith aqueryparam - Power a brand catalog page by paginating through
get_brand_productsfor a given brand name - Compare current price against
wasPriceDatafromget_sale_productsto calculate actual savings - Monitor category-level inventory by iterating
get_category_productswith a known brick code
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Ajio have an official public developer API?+
How do I get a product option code to use with `get_product_detail`?+
search_products, get_category_products, get_brand_products, get_new_arrivals, or get_sale_products — returns a code field on each product object (e.g. '469696402_white'). Pass that value as the product_id parameter to get_product_detail to retrieve full details including variants and ratings.Does the API return customer review text or only aggregate ratings?+
ratingsResponse object from get_product_detail covers aggregate data: averageRating, numUserRatings, and percentage breakdowns by star tier. Individual written review text is not included in the current endpoints. You can fork the API on Parse and revise it to add an endpoint that retrieves per-review content.Are wishlist, order history, or account-level features accessible?+
Is there a limit to how many results pagination can return per request?+
size parameter controlling results per page and a zero-based page parameter. The pagination response object returns totalResults and totalPages so you can iterate through the full result set. Very large size values may return fewer results than requested if the source caps the page size.