The AJIO scraper API for fashion search data
Send a search to get fashion products from AJIO as JSON, then add a price cap or sort order to narrow it.
AJIO Products API at a glance
This API returns AJIO search results as JSON when you send a POST request with a query or a category. Then read each item from the products array.
- Endpoint
POST /v1/data/ajio/products- Authentication
- API key as
Authorization: Bearer wh_… - Stage
- Stable
- Output
- A products array with product_id, title, brand, category, price, discount, images and URL
- Search input
- A query, or a category and subcategory
- Results per request
- 1 to 200 with num_results. The default is 20.
- Paging
- page from 1 to 20, with total_results and total_pages in the response
- Filters
- min_price and max_price in INR, plus sort_by
- Credit weight
- 1. See the pricing page for current rates.
One request, structured JSON.
This request caps the price on a running shoes search, and the response below shows 2 of the 3 products. It also trims each product to a subset of fields. Copy the request to try your own search.
curl -X POST "https://api.datablue.dev/v1/data/ajio/products" \
-H "Authorization: Bearer wh_..." \
-H "Content-Type: application/json" \
-d '{
"query": "running shoes",
"num_results": 3,
"max_price": 3000
}'{
"success": true,
"source": "ajio",
"query": "running shoes",
"max_price": 3000,
"page": 1,
"total_results": 18783,
"total_pages": 6261,
"pages_fetched": 1,
"time_taken": 1.3,
"products": [
{
"position": 1,
"product_id": "702253890001",
"sku": "5367889",
"title": "Kalenji - Men Jogflow Superior Grip Cushioned Running Shoes",
"brand": "Decathlon",
"category": "Footwear",
"subcategory": "Sports Shoes",
"segment": "Men",
"url": "https://www.ajio.com/decathlon-kalenji--men-jogflow-superior-grip-cushioned-running-shoes/p/702253890_white",
"image_url": "https://assets.ajio.com/medias/sys_master/root1/20250915/UoUJ/68c7fcfe3d468c61abf21466/decathlon__kalenji_-_men_jogflow_superior_grip_cushioned_running_shoes.jpg",
"price": 1699,
"price_text": "Rs.1,699",
"list_price": 2099,
"currency": "INR",
"discount": "19% off",
"discount_percent": 19,
"discount_amount": 400,
"coupon_applicable": true,
"is_best_seller": false,
"is_new": false,
"badges": [],
"tags": []
},
{
"position": 2,
"product_id": "703646389003",
"sku": "AEROFOAM-01cBLACKWHT-7",
"title": "Men Round-Toe Running Shoes with Lace Fastening",
"brand": "ASIAN",
"category": "Footwear",
"subcategory": "Sports Shoes",
"segment": "Men",
"url": "https://www.ajio.com/asian-men-round-toe-running-shoes-with-lace-fastening/p/703646389_black",
"image_url": "https://assets.ajio.com/medias/sys_master/root1/20260704/lOoo/6a4813760891cb3920f39a35/asian__men_round-toe_running_shoes_with_lace_fastening.jpg",
"price": 2000,
"price_text": "Rs.2,000",
"list_price": 3999,
"currency": "INR",
"discount": "50% off",
"discount_percent": 50,
"discount_amount": 1999,
"coupon_applicable": true,
"is_best_seller": false,
"is_new": false,
"badges": [],
"tags": []
}
]
}What an AJIO product returns.
Each product is one object in the products array.
Identity
Every product has a product_id and a sku, and the title field holds the full product name. Store the product_id to match the same item next run.
Brand and category
Each row names a brand and a brand_type slug, and the segment field holds values such as Men or Boys. Category data comes in layers with names and ids. Filter on category and subcategory to group your results.
Price and discount
Each product has a numeric price and a price_text string, and the list_price field holds the higher listed price. Fields named discount_percent and discount_amount report the gap, and the currency field reads INR in the example. Sort on the numbers rather than the text.
Coupons and flags
The coupon_applicable flag shows whether a coupon applies, and the is_best_seller and is_new flags hold true or false. Track them across runs to spot status changes.
Badges and tags
Each product has a badges list and a tags list. Both were empty for the products in our example. Run your own queries to see what they hold.
Images
Each product has a main image_url and an images list. A model_images list holds the on-model photos. Use these links to build a product gallery.
Product link
The url field links to the AJIO product page. The relative_url field holds the path without the domain. Open a link to confirm the price on the page.
Result counts
The response reports total_results and total_pages for the search, plus pages_fetched and the call time. Compare total_results with your num_results before you plan paging.
Options that shape your search.
Most requests need a query or a category. Add filters when you want a tighter list.
Query
Set query to a search term such as running shoes, and the alias search is also accepted by the API. Send query unless you set a category or subcategory.
Category and subcategory
Set category to a top-level group such as men, or set subcategory for a deeper refinement such as running shoes. Use them instead of query to browse a category.
Batch terms
The queries field accepts a list of terms, but this endpoint reads only the first term in that list. Loop over your terms and send one request for each.
Price range
Set min_price and max_price in INR for the payable price, and both fields are optional.
Sort order
The sort_by field accepts five documented values. Pick relevance for the standard search order, or pick discount to rank products by savings. Pick price_low or price_high to order by price, or pick newest to surface the latest arrivals. In our test, a discount sort put socks above shoes. Check category before you trust a sorted list.
Result count and paging
Set num_results from 1 to 200 for the product count, and expect 20 products per request by default. Set page from 1 to 20 to start deeper.
Timeout
Use timeout_ms to set the provider deadline in milliseconds, within a range of 3000 to 60000. Without a value the deadline is 20000 milliseconds. Check this value first when a deep request times out.
What teams build with it.
Search results carry price and category data. Pick the jobs that need both kinds of data.
Discount tracking
Run one query daily and store price and discount_percent, then chart which products drop deepest over a week.
Price band research
Search a category with min_price and max_price set. Compare which brands fill that band most often.
Catalogue matching
Match AJIO rows to your list by brand and title, then keep the product_id to track each match.
Category assortment checks
Read total_results while you page through a subcategory, then compare the totals from one week to the next.
Why call an API instead of scraping AJIO yourself.
Each test product carried a long list of fields. A scraper of your own must map each one and also track any change to the page structure.
DataBlue returns the same flat shape on every call, and prices arrive as numbers and as display text. You pass filters as plain fields, not search URLs.
This API covers AJIO search and category listings, and AJIO has no separate detail API in our catalogue today. Plan around that scope before you build.
Your first AJIO search in a minute.
Sign up, copy your key and send one search.
Create an account
Sign up to get your API key.
Send a search
POST a query and a result count to /v1/data/ajio/products with your Bearer key in the Authorization header.
Read the products
Loop over the products array in the response, then check total_results to see how deep the search goes.
AJIO scraper API questions.
Short answers about data and billing before you start.
It turns AJIO search results into structured JSON, and every result is one object with price and brand fields.
Still have a question?Ask us anything
It covers AJIO product data from search results, but it returns search rows and nothing deeper.
Send a POST request to /v1/data/ajio/products with a query field and add your API key as a Bearer token.
Each product has a price and a list_price, and discount fields report the percent and the amount. Our example reads INR in the currency field.
Set num_results to a value between 1 and 200, or send nothing to receive 20 products. Read total_results to see the full match count.
Yes, set min_price and max_price in INR. Both bounds apply to the payable price.
This endpoint reads only the first term in queries, so send one query per request and loop over your list.
All three return search results with prices, while AJIO Products covers fashion listings on AJIO. Pick the API that matches your marketplace.
This API is marked stable in our catalogue today. Build against the documented fields, then check the changelog before each upgrade you ship to production.
This API has a credit weight of 1. Check the pricing page for current rates.
Run an AJIO search in a minute.
Create an account to get your API key. Then paste the example into a terminal.
Start free
