# Ajio Premium Product Scraper (`scrapeai/ajio-premium-product-scraper`) Actor

AJIO Premium Product Scraper that retrieves full product details from AJIO API. Fetch products by category with pagination support. Collects complete product information including name, price, images, ratings, brand, and more. Perfect for e-commerce analysis, price monitoring, and product research.

- **URL**: https://apify.com/scrapeai/ajio-premium-product-scraper.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.49 / 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 Full Details Scraper

This Apify actor retrieves full product details from AJIO API. Fetch products by category with pagination support. Collects complete product information including name, price, images, ratings, brand, and more. Perfect for e-commerce analysis, price monitoring, and product research.

### Ô£à Use Cases

- ­ƒôè E-commerce product analysis and price monitoring
- ­ƒöì Competitive analysis and market research
- ­ƒôê Price comparison and tracking
- ­ƒÅÀ´©Å Product catalog building
- ­ƒôï Fashion trend analysis

### ­ƒôÑ Input Configuration

You can customize the actor using the following input fields:

```json
{
    "searchText": "Women - Shirts",
    "sort": "relevance",
    "startPage": 0,
    "endPage": 0,
    "pageSize": 45
}
```

#### ­ƒº¥ Fields Explained

| Field | Type | Description |
|-------|------|-------------|
| `searchText` | string | Search query or category (e.g., "Women - Shirts", "Men - Jeans") |
| `sort` | string | Sort order: relevance, discount-desc, prce-asc, newn, prce-desc, rating |
| `startPage` | number | Starting page number (0-indexed) |
| `endPage` | number | Ending page number (0 = scrape all pages) |
| `pageSize` | number | Number of products per page (max 60) |

### ­ƒôñ Output

The actor returns a dataset containing full product details. Each record includes comprehensive product information suitable for analysis, monitoring, and research.

#### ­ƒº® Sample Output

```json
{
  "code": "443090680006",
  "couponStatus": "Coupon Applicable",
  "fnlColorVariantData": {
    "brandName": "AVAASA MIX N' MATCH",
    "outfitPictureURL": "https://assets.ajio.com/medias/sys_master/...",
    "allPromotions": false,
    "colorGroup": "443090680_black"
  },
  "averageRating": 3.7,
  "images": [
    {
      "altText": "AVAASA MIX N' MATCH Black Women Printed Straight Kurta",
      "format": "product",
      "imageType": "PRIMARY",
      "url": "https://assets.ajio.com/medias/sys_master/..."
    }
  ],
  "extraImages": [
    {
      "model": "model1",
      "images": [
        {
          "format": "product",
          "url": "https://assets.ajio.com/medias/sys_master/..."
        }
      ]
    }
  ],
  "fnlProductData": {
    "planningCategory": "Clothing"
  },
  "discountPercent": "49% off",
  "price": {
    "currencyIso": "INR",
    "formattedValue": "Rs.152.00",
    "displayformattedValue": "Rs.152",
    "value": 152
  },
  "wasPriceData": {
    "currencyIso": "INR",
    "formattedValue": "Rs.299.00",
    "displayformattedValue": "Rs.299",
    "value": 299
  },
  "name": "Women Printed Straight Kurta",
  "brickName": "830303011",
  "verticalName": "830303",
  "segmentName": "8303",
  "catalogName": "trendsProductCatalog",
  "brandTypeName": "avaasa-mix-n-match",
  "url": "/avaasa-mix-n-match-women-printed-straight-kurta/p/443090680_black",
  "offerPrice": {
    "currencyIso": "INR",
    "value": 152,
    "formattedValue": "Rs. 152.00",
    "displayformattedValue": "Rs. 152",
    "priceReveal": {},
    "giftAvailable": false
  },
  "ratingCount": "126",
  "segmentNameText": "Women",
  "verticalNameText": "Ethnic Wear",
  "brickNameText": "Kurtas",
  "tags": {
    "optionCode": "443090680_black",
    "categoryTags": [
      {
        "category": "URGENCY",
        "primary": {
          "name": "SELLINGFAST",
          "value": "Selling Fast"
        }
      }
    ]
  }
}
```

#### ­ƒôï Output Fields

| Field | Type | Description |
|-------|------|-------------|
| `code` | string | Unique product code/SKU |
| `name` | string | Product name |
| `fnlColorVariantData.brandName` | string | Brand name |
| `price.value` | number | Current price |
| `wasPriceData.value` | number | Original price before discount |
| `discountPercent` | string | Discount percentage |
| `averageRating` | number | Product average rating |
| `ratingCount` | string | Number of ratings |
| `images` | array | Product images |
| `extraImages` | array | Additional model images |
| `url` | string | Relative product URL |
| `segmentNameText` | string | Segment (Women, Men, etc.) |
| `verticalNameText` | string | Category vertical (Ethnic Wear, etc.) |
| `brickNameText` | string | Product type (Kurtas, etc.) |
| `tags` | object | Product tags and badges |
| `couponStatus` | string | Coupon applicability |

### ­ƒÜÇ How to Run

1. Go to the Input tab
2. Configure pagination with `startPage`, `endPage`, and `pageSize`
3. Click "Run"
4. Wait for the actor to finish
5. Download results from the Dataset tab

### ­ƒÆí Tips

- Set `endPage` to 0 to scrape all available pages
- Use `pageSize` of 60 for maximum efficiency
- Use `sort` parameter to order results (relevance, discount-desc, prce-asc, newn, prce-desc, rating)
- Use `searchText` to filter products by category or search term

### ­ƒôØ License

ISC

# Actor input Schema

## `searchQuery` (type: `string`):

Search query for products (e.g., 'Women - Shirts', 'Men - T-Shirts')

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

Sort products by the selected option

## `startPage` (type: `integer`):

Starting page number (0-indexed). Set to 0 to start from the first page.

## `endPage` (type: `integer`):

Ending page number (0-indexed). Set to 0 to scrape all available pages.

## `pageSize` (type: `integer`):

Number of products to fetch per page (max 45)

## `customProxyUrl` (type: `string`):

Optional: Custom proxy URL for local testing (e.g., 'http://user:pass@proxy:port'). Leave empty to use Apify Residential Proxy.

## Actor input object example

```json
{
  "searchQuery": "Women - Shirts",
  "sort": "relevance",
  "startPage": 0,
  "endPage": 0,
  "pageSize": 45,
  "customProxyUrl": ""
}
```

# Actor output Schema

## `dataset` (type: `string`):

Structured records produced by this Actor.

# 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 = {
    "searchQuery": "Women - Shirts",
    "sort": "relevance",
    "startPage": 0,
    "endPage": 0,
    "pageSize": 45,
    "customProxyUrl": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/ajio-premium-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 = {
    "searchQuery": "Women - Shirts",
    "sort": "relevance",
    "startPage": 0,
    "endPage": 0,
    "pageSize": 45,
    "customProxyUrl": "",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/ajio-premium-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 '{
  "searchQuery": "Women - Shirts",
  "sort": "relevance",
  "startPage": 0,
  "endPage": 0,
  "pageSize": 45,
  "customProxyUrl": ""
}' |
apify call scrapeai/ajio-premium-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeai/ajio-premium-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/rJDCl9gTNGnyGswP5/builds/HEiYAw3kMfb7lLYeN/openapi.json
