# AJIO Product Scraper 🛍️ (`easyapi/ajio-product-scraper`) Actor

Extract detailed product information from AJIO's fashion marketplace. Get comprehensive data including prices, discounts, images, and categories. Perfect for price monitoring, market research, and competitive analysis in India's e-commerce fashion sector. 🛍️

- **URL**: https://apify.com/easyapi/ajio-product-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** E-commerce, Other
- **Features:** Limited permissions
- **Stats:** 85 total users, 1 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Product Scraper 🛍️

Scrape detailed product information from AJIO, India's leading fashion e-commerce platform. Extract product details including prices, discounts, images, and categories with ease.

### 🔥 Features

- Scrapes product listings from any AJIO search URL
- Extracts comprehensive product details including:
  - Product name, code, and brand
  - Current price, original price, and discount information
  - Product categories (segment, vertical, brick)
  - High-quality product images (primary + additional views)
  - Complete product URLs
  - Coupon applicability status
- Supports infinite scroll pagination
- Built-in proxy rotation support
- Randomized delays and user agents for reliable scraping
- Efficient handling of rate limits and blocking

### 🎯 Use Cases

- Price monitoring and competitive analysis
- Product catalog aggregation
- Fashion trend analysis
- Inventory tracking
- Market research and analysis

### 📝 Tips

- Use specific search URLs for targeted scraping
- Adjust maxItems to control the amount of data collected
- Consider using proxies for large-scale scraping

### 💡 Input Parameters

The actor accepts the following input parameters:

- `searchUrls`: Array of AJIO search URLs to scrape
- `maxItems`: Maximum number of items to scrape (optional)
- `proxyConfiguration`: Proxy settings (optional)

### 📊 Output

The actor outputs detailed product data in JSON format, including:

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "searchUrls": [
        "https://www.ajio.com/search/?query=%3Arelevance%3Al1l3nestedcategory%3AWomen%20-%20Maternity%20Wear&text=shirt&classifier=intent&gridColumns=3"
    ],
    "maxItems": 50
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "searchUrl": "https://www.ajio.com/search/?query=%3Arelevance%3Al1l3nestedcategory%3AWomen%20-%20Maternity%20Wear&text=shirt&classifier=intent&gridColumns=3",
        "productCode": "700098886005",
        "name": "Graphic Print Oversized Fit T-Shirt",
        "brand": "the-mom-store",
        "category": {
            "segment": "Women",
            "vertical": "Maternity",
            "brick": "Shirts,Tops&Tshirts"
        },
        "price": {
            "current": 802,
            "original": 1099,
            "currency": "INR",
            "discountPercent": "27% off",
            "offerPrice": 725
        },
        "images": {
            "primary": "https://assets.ajio.com/medias/sys_master/root/20240617/xu43/667022da1d763220fac57ac4/the_mom_store_lavender_graphic_print_oversized_fit_t-shirt.jpg",
            "all": [
                "https://assets.ajio.com/medias/sys_master/root/20240617/xu43/667022da1d763220fac57ac4/-473Wx593H-700098886-lavender-MODEL.jpg",
                "https://assets.ajio.com/medias/sys_master/root/20240617/GCqf/667022da1d763220fac57a51/-473Wx593H-700098886-lavender-MODEL2.jpg",
                "https://assets.ajio.com/medias/sys_master/root/20240617/GATr/667022da1d763220fac57a56/-473Wx593H-700098886-lavender-MODEL3.jpg",
                "https://assets.ajio.com/medias/sys_master/root/20240617/0CQJ/667022da1d763220fac57a57/-473Wx593H-700098886-lavender-MODEL4.jpg",
                "https://assets.ajio.com/medias/sys_master/root/20240617/htGY/667022da1d763220fac57a54/-473Wx593H-700098886-lavender-MODEL5.jpg",
                "https://assets.ajio.com/medias/sys_master/root/20240617/X4VH/667022e01d763220fac57b0b/-473Wx593H-700098886-lavender-MODEL6.jpg"
            ]
        },
        "productUrl": "https://www.ajio.com/the-mom-store-graphic-print-oversized-fit-t-shirt/p/700098886_lavender",
        "planningCategory": "Clothing",
        "couponStatus": "Coupon Applicable"
    },
    ...
]
```

### Related Actors

- 🛍️ [Flipkart Product Scraper](https://apify.com/easyapi/flipkart-product-scraper) - Extract product data from India's leading e-commerce platform with comprehensive details
- 🛍️ [Myntra Product Scraper](https://apify.com/easyapi/myntra-product-scraper) - Get detailed fashion product information from Myntra's marketplace
- 🛍️ [Meesho Product Search Scraper](https://apify.com/easyapi/meesho-product-search-scraper) - Scrape product listings from Meesho search results with detailed information
- 🛍️ [Zara Product Scraper](https://apify.com/easyapi/zara-product-scraper) - Extract detailed product information from Zara's online store
- 🛒 [Costco Product Search Scraper](https://apify.com/easyapi/costco-product-search-scraper) - Scrape product data with prices and descriptions from Costco.com
- 🛍️ [Nike Product Scraper](https://apify.com/easyapi/nike-product-scraper) - Extract product data from Nike.com including prices and detailed information
- 🛍️ [Hobby Lobby Products Scraper](https://apify.com/easyapi/hobby-lobby-products-scraper) - Scrape product data with prices and descriptions from Hobby Lobby
- 🛍️ [Lidl Product Scraper](https://apify.com/easyapi/lidl-product-scraper) - Extract product data from Lidl's online store with comprehensive details
- 🛍️ [Tokopedia Product Scraper](https://apify.com/easyapi/tokopedia-product-scraper) - Scrape product data from one of Southeast Asia's largest marketplaces
- 🛍️ [Jumia Product Scraper](https://apify.com/easyapi/jumia-product-scraper) - Extract product listings from Jumia e-commerce platform
- 🛍️ [AppSumo Product Scraper](https://apify.com/easyapi/appsumo-product-scraper) - Scrape products and deals from AppSumo marketplace
- 🏥 [Netmeds Product Scraper](https://apify.com/easyapi/netmeds-product-scraper) - Extract detailed product information from Netmeds.com
- 🛍️ [TeePublic Scraper](https://apify.com/easyapi/teepublic-scraper) - Scrape product listings from TeePublic.com with comprehensive details
- 🛍️ [TradeIndia Product Scraper](https://apify.com/easyapi/tradeindia-product-scraper) - Extract B2B product listings with detailed information
- 🛒 [Woolworths Product Scraper](https://apify.com/easyapi/woolworths-product-scraper) - Get detailed product data from Woolworths Australia's online store

# Actor input Schema

## `searchUrls` (type: `array`):

List of AJIO search URLs to scrape

## `maxItems` (type: `integer`):

Maximum number of items to scrape (default: unlimited)

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

Proxy settings for the crawler

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.ajio.com/search/?query=%3Arelevance%3Al1l3nestedcategory%3AWomen%20-%20Maternity%20Wear&text=shirt&classifier=intent&gridColumns=3"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/ajio-product-scraper").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/ajio-product-scraper").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 '{}' |
apify call easyapi/ajio-product-scraper --silent --output-dataset

```

## MCP server setup

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

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/Zy4Zaho5EFXPY62j5/builds/hG8UEBG7tQvlpgpwg/openapi.json
