# JioMart Keyword Rank Tracker (`ikmal_suzali_atr/jiomart-rank`) Actor

Full JioMart search results per keyword and pincode with position and sponsored flag — see where a brand ranks and who holds the paid (Moloco) slots. Pure HTTP on the Fynd catalog API. Dual-mode: the same code runs as an ATR BullMQ worker.

- **URL**: https://apify.com/ikmal\_suzali\_atr/jiomart-rank.md
- **Developed by:** [AtTheRate AI](https://apify.com/ikmal_suzali_atr) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## JioMart Keyword Rank Tracker

Tracks where any brand ranks for a keyword on JioMart, pincode by pincode, and which competitors hold the sponsored slots above it. Every result position comes back in order with price, stock and a sponsored flag, so you can measure organic and paid share of search from one run.

### What you get

- True ranking order: `keyword`, `page` and `position`, counted continuously across pages.
- A real sponsored flag: `is_sponsored`, with `ad_rank` and `ad_track_id` for the slots JioMart sells.
- Price economics on the result: `price`, `original_price`, `discount_percent` and `pack_size`.
- Identity and merchant signals: `id`, `item_code`, `sku_code`, `name`, `brand`, `image_url`, `product_url`, `in_stock` and `seller`, which separates first-party from third-party listings.
- Result-set size in `total_results`, so you can see how deep a keyword goes.
- Location honesty: every row carries its `pincode`, and an unserved pincode is skipped with a warning, never answered with another area's ranking.

### Input

Both `keywords` and `pincodes` are required.

```json
{
  "keywords": ["chips"],
  "pincodes": ["400001"],
  "pages": 2,
  "concurrency": 2,
  "delayMs": 600,
  "callsPerSession": 150,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "IN"
  }
}
```

- `keywords`: the search terms to rank. Duplicates are ignored.
- `pincodes`: 6-digit Indian pincodes, for example `400001`.
- `pages`: result pages per keyword, 1 to 10, at 12 results each. `concurrency` runs 1 to 4 keywords in parallel.
- `proxyConfiguration`: residential country IN is the default.

### Output

One row per result position, per keyword, per pincode. The verified run above returned 39 rows for `chips` at `400001` across 2 pages, 25 of them sponsored.

```json
{
  "pincode": "400001",
  "store_id": "13641",
  "keyword": "chips",
  "page": 1,
  "position": 1,
  "is_sponsored": true,
  "ad_rank": 1,
  "id": "491234567",
  "name": "Lay's American Style Cream & Onion Potato Chips 52 g",
  "brand": "Lay's",
  "pack_size": "52 g",
  "price": 20,
  "discount_percent": null,
  "rating": 4.3,
  "in_stock": true,
  "seller": "3p",
  "total_results": 486,
  "product_url": "https://www.jiomart.com/p/lays-american-style-cream-onion-potato-chips-52-g",
  "captured_at": "2026-09-12T10:21:44.902Z"
}
```

`rating_count` is always null: JioMart search results publish a rating but no count. `original_price` and `discount_percent` are null on undiscounted items, `ad_rank` and `ad_track_id` on organic rows.

### Use cases

- Share of search: count how many of the top 12 or 24 positions your `brand` holds, per pincode, daily.
- Paid share of voice from `is_sponsored` and `ad_rank`, where much of the category spend lands.
- Competitor watch: which brands outrank you, at what price, and how that changes once the serving store changes.
- Price-versus-rank correlation from `price` against `position`.

### Notes and limits

- 12 results per page and a hard cap of 10 pages per keyword, so 120 positions per keyword per pincode.
- A keyword that matches nothing returns zero rows and is counted as an empty capture, with a warning naming it. It is never padded with unrelated products.
- Sponsored density varies enormously by keyword. A verified run on `chips` returned 25 sponsored rows out of 39.
- Sponsored slots come from a separate ad request matched back to results. If it fails, the run continues and logs that the slots are unknown, so treat `is_sponsored` as unreliable for that capture.
- A pincode that is not 6 digits, or that JioMart does not serve, is reported and skipped. Sessions re-mint after 150 page fetches.

### FAQ

**Do I need a proxy?** A residential proxy in India is recommended and is the default. JioMart answers 403 to egress it dislikes, and the run stops with that message rather than returning partial rankings.

**How many results can I get?** Up to 10 pages of 12 results per keyword per pincode, so 120 ranked positions, with no cap on how many keywords or pincodes you submit.

**Does it need login or an API key?** No JioMart account or key of your own is required.

**Why do rankings differ between pincodes?** JioMart serves results through the stores covering your location, so assortment and sponsored slots both change with the delivery point. That is why the pincode is stamped on every row.

# Actor input Schema

## `keywords` (type: `array`):

Search keywords to rank. Duplicates are ignored.

## `pincodes` (type: `array`):

Indian 6-digit pincodes. Each is resolved to coordinates and JioMart's location headers are set from them; unresolvable or unserved pincodes are skipped with a warning. Every row carries its pincode.

## `pages` (type: `integer`):

Result pages to capture per keyword. Leave at 0 to capture every result page; the run stops as soon as the results end.

## `concurrency` (type: `integer`):

1–4.

## `delayMs` (type: `integer`):

Pause between page fetches.

## `callsPerSession` (type: `integer`):

Re-mint the session after this many page fetches.

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

On the Apify platform this decides egress; a residential proxy in India is recommended. On our own servers it is ignored and our residential proxy is used.

## Actor input object example

```json
{
  "keywords": [
    "chips"
  ],
  "pincodes": [
    "400001"
  ],
  "pages": 0,
  "concurrency": 2,
  "delayMs": 600,
  "callsPerSession": 150,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

# Actor output Schema

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

One row per search result position.

## `summary` (type: `string`):

Counts for the run: what was requested, captured, skipped and failed.

# 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 = {
    "keywords": [
        "chips"
    ],
    "pincodes": [
        "400001"
    ],
    "pages": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("ikmal_suzali_atr/jiomart-rank").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 = {
    "keywords": ["chips"],
    "pincodes": ["400001"],
    "pages": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("ikmal_suzali_atr/jiomart-rank").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 '{
  "keywords": [
    "chips"
  ],
  "pincodes": [
    "400001"
  ],
  "pages": 0
}' |
apify call ikmal_suzali_atr/jiomart-rank --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ikmal_suzali_atr/jiomart-rank"
        }
    }
}
```

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/V9VSHWKFoLrBvlEut/builds/QGKvf0hZapNhvRioP/openapi.json
