# AJIO Scraper & Price Tracker (Prices, Ratings, History) (`himanshu-data/ajio-scraper-price-tracker`) Actor

Scrape AJIO search results, categories and product pages: price, MRP, discount, coupon price, rating, ratings and reviews count, sizes in stock, seller and specs. Tracks every product's price over time and draws price charts.

- **URL**: https://apify.com/himanshu-data/ajio-scraper-price-tracker.md
- **Developed by:** [Himanshu Agrawal](https://apify.com/himanshu-data) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.10 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AJIO Scraper & Price Tracker (Prices, Ratings, History)

Get **AJIO product data and track prices over time**: price, MRP, discount, **best price with coupon**, rating, ratings count, **reviews count**, sizes in stock, category and images. Search by keyword, paste any category or search link (filters kept), or add product links. Every run also records each product's price, so a daily schedule gives you **price history, lowest and highest price, price-drop alerts and price charts**. No login.

### What you can use it for

- **Price tracking and deal alerts:** schedule it daily and see which products dropped in price, by how much, and whether today is the lowest price tracked.
- **Brands and sellers:** monitor your own and competitors' prices, discounts, coupons, ratings and stock per size.
- **Market research:** discount levels, bestsellers and wishlist demand by category or brand.
- **Affiliate and deal sites:** a fresh feed of the biggest discounts with coupon prices.
- **Analysts and AI:** clean JSON or CSV for Sheets, dashboards, Make, n8n, Zapier or the API.

### Input

| Field | What it does |
|---|---|
| Search keywords | What you would type in AJIO's search box, e.g. `levis jeans`, `puma sneakers`. |
| AJIO links | Search pages, category pages (`/c/...`, filters in the link are kept) and product pages or product codes. |
| Max products per keyword or list link | AJIO returns 45 per page. |
| Sort by | Relevance, discount, price low to high or high to low, what's new, customer rating. |
| Open each product page for full details | Adds reviews count, rating breakdown, fit feedback, description, specifications, units per size, coupon codes, bank offers, return window, COD and seller. |
| Track price history / Draw price charts | On by default. See below. |
| Price history name | Runs with the same name share one history. Use another name for a separate watchlist. |

```json
{
  "searchTerms": ["levis jeans"],
  "startUrls": ["https://www.ajio.com/men-shirts/c/830216013", "https://www.ajio.com/buda-jeans-co-men-checked-regular-fit-shirt/p/703846742_pink"],
  "maxItemsPerSearch": 60,
  "sort": "prce-asc"
}
```

### Output

One row per product (real output with full details, October 2026; shortened):

```json
{
  "productId": "703846742_pink",
  "url": "https://www.ajio.com/buda-jeans-co-men-checked-regular-fit-shirt/p/703846742_pink",
  "title": "Men Checked Regular Fit Shirt",
  "brand": "Buda Jeans Co",
  "price": 336,
  "mrp": 1399,
  "discountPercent": 76,
  "rating": 2.9,
  "ratingCount": 967,
  "reviewCount": 263,
  "ratingBreakdown": { "1": 362, "2": 80, "3": 119, "4": 147, "5": 259 },
  "fitFeedback": [{ "question": "How was the Product fit?", "answers": [{ "answer": "Perfect", "percent": 51 }] }],
  "category": "Shirts",
  "sizesInStock": ["S", "M", "L", "XL"],
  "coupons": [{ "code": "ONLYEXCLUSIVE20", "description": "Get 20% off on Min purchase of 1599.", "maxSaving": 279.8 }],
  "returnWindowDays": 10,
  "codAvailable": true,
  "wishlisted": "20K shoppers wishlisted in last 30 days",
  "tags": ["BESTSELLER"],
  "lowestPrice": 336,
  "trackedSince": "2026-10-18",
  "priceChartUrl": null
}
```

Rows from search and category pages (without full details) include price, MRP, discount, `bestPriceWithCoupon`, rating, ratings count, category, tags, images and `rank`.

### Price history and charts

AJIO does not publish price history, so this Actor builds it for you:

1. Every run saves each product's price for the day in a price history stored in **your own Apify account**.
2. From the second day on, each row shows `priceHistory` (date, price, MRP), `previousPrice`, `priceChange` and `priceChangePercent`, `lowestPrice` and `highestPrice` with dates, and `isLowestPrice`.
3. Each product with 2 or more days gets a **price chart** image (`priceChartUrl`), and every run creates one **HTML price report** with all products, biggest drops first (Output tab, "Price report").

Schedule the Actor daily (Apify Console > Schedules) with the same input to watch a list of products or searches.

### Pricing

Pay per product: **$1.50 per 1,000 products** from search and category pages, or **$3 per 1,000 with full details**, on paid Apify plans (less on Scale and Business). Price history, charts and the report are included. Products that fail to load are not charged.

### Tips

- Set filters (brand, size, price) on ajio.com and paste the link: they are kept.
- Use the same price history name in every scheduled run, or the history starts again.
- The Actor collects public product information only, no personal data.

# Actor input Schema

## `searchTerms` (type: `array`):

What you would type in AJIO's search box, e.g. men shirts, puma sneakers, kurta sets. One per line.

## `startUrls` (type: `array`):

Search pages (https://www.ajio.com/search/?text=shirt), category pages (https://www.ajio.com/men-shirts/c/830216013, filters in the link are kept) and product pages or product codes (e.g. 703846742_pink). One per line.

## `maxItemsPerSearch` (type: `integer`):

AJIO returns 45 products per page. Product links are always scraped in full.

## `sort` (type: `string`):

Order of the results. It also decides which products you get when a search has more products than your limit.

## `fullDetails` (type: `boolean`):

Adds reviews count, rating breakdown (1 to 5 stars), fit feedback, description, specifications, units in stock per size, coupons with codes, bank offers, return window, COD, seller and manufacturer. Slower, and charged as 'Product with details'.

## `trackPriceHistory` (type: `boolean`):

Remembers each product's price on every run (one point per day) and adds price history, lowest and highest price, and the change since the last run. Schedule the Actor daily to build the history.

## `priceCharts` (type: `boolean`):

Saves a price chart image for every product with at least 2 days of history, plus one HTML price report for the whole run.

## `historyName` (type: `string`):

Runs with the same name share one price history, stored in your own Apify account. Use a different name for a separate watchlist.

## `proxyConfiguration` (type: `object`):

Indian residential proxies are used by default, because AJIO is an Indian store and blocks most data-center traffic.

## Actor input object example

```json
{
  "searchTerms": [
    "levis jeans"
  ],
  "maxItemsPerSearch": 20,
  "sort": "relevance",
  "fullDetails": false,
  "trackPriceHistory": true,
  "priceCharts": true,
  "historyName": "ajio-price-history",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `report` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchTerms": [
        "levis jeans"
    ],
    "maxItemsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "IN"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("himanshu-data/ajio-scraper-price-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchTerms": ["levis jeans"],
    "maxItemsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "IN",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("himanshu-data/ajio-scraper-price-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "levis jeans"
  ],
  "maxItemsPerSearch": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}' |
apify call himanshu-data/ajio-scraper-price-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,himanshu-data/ajio-scraper-price-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/nAfK1MdcpxmTb8Or3/builds/BUIFWqheyq7U9OqNO/openapi.json
