# India Price Comparison — Amazon & Flipkart (`mechniverse/india-price-comparison`) Actor

Find the cheapest price on Amazon India & Flipkart in one search. Enter a product name or paste a link — get live prices from both marketplaces with the cheapest option, savings, ratings and buy links. Pay only for successful comparisons: $0.005 each. Up to 10 products per run.

- **URL**: https://apify.com/mechniverse/india-price-comparison.md
- **Developed by:** [Ganesh Chandak](https://apify.com/mechniverse) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 price compareds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

**Compare Amazon India & Flipkart prices in one search and always buy at the lowest price.**

Paste a **product name** — or an **Amazon.in / Flipkart product link** — and get live prices from **both** Indian marketplaces in seconds: cheapest option, how much you save, ratings, stock status, and direct buy links. No browser, no marketplace logins, no manual tab-hopping.

### What you get

- **Both marketplaces, one run** — Amazon.in and Flipkart prices for the *same* product, side by side
- **Same-product matching** — strict brand/model matching filters out sponsored lookalikes and wrong models
- **Cheapest option pre-computed** — know exactly where to buy and how much you save (₹)
- **Full product data** — price, MRP, discount %, rating, stock, and buy link per result
- **Link mode** — paste any Amazon.in or Flipkart product URL and find the same product on the other marketplace
- **Bulk search** — compare up to 10 products in a single run

### Sample output

Input: `{"type": "search", "query": "Samsung Galaxy S24 256GB"}`

```json
{
  "query": "Samsung Galaxy S24 256GB",
  "results": [
    {
      "platform": "flipkart",
      "product_name": "Samsung Galaxy S24 5G Snapdragon (Cobalt Violet, 256 GB)",
      "price": 55999,
      "original_price": 63999,
      "discount_percent": 12.5,
      "in_stock": true,
      "rating": 4.4,
      "url": "https://www.flipkart.com/..."
    },
    {
      "platform": "amazon",
      "product_name": "Galaxy S24 5G AI Smartphone (Amber Yellow, 8GB, 256GB Storage)",
      "price": 59449,
      "in_stock": true,
      "rating": 4.3,
      "url": "https://www.amazon.in/..."
    }
  ],
  "cheapest": { "platform": "flipkart", "price": 55999 },
  "savings_vs_most_expensive": 3450,
  "total_products_found": 2
}
```

Each comparison returns up to the **2 cheapest genuine matches per platform** — a clean answer, not a results dump.

### Pricing

| | |
|---|---|
| **1 comparison** — one search or one product link | **$0.005** |
| **1,000 comparisons** | **$5** |

- **No subscription** — pay as you go; Apify free-plan credits apply
- **Pay only for successful comparisons** — charged when both Amazon.in *and* Flipkart return the product. Partial or empty results are **free**
- Flat price per search — no per-result or per-platform fees

### How to use

1. Open the Actor in **Apify Console** (or call it via the [API](https://docs.apify.com/api/v2)).
2. Enter a product name — e.g. `iPhone 16 128GB` — **or** paste an Amazon.in / Flipkart product link. To compare several products at once, add up to 10 names to the **Search terms** list.
3. Download results as **JSON, CSV, or Excel**, or integrate via API, [schedules](https://docs.apify.com/platform/schedules), webhooks, or [Zapier / Make / n8n](https://docs.apify.com/platform/integrations).

### Who is this for?

- **Indian shoppers & deal hunters** — never overpay on Amazon or Flipkart again
- **Sellers & analysts** — monitor competitor pricing and market trends with clean, structured data
- **Developers & AI agents** — live Indian e-commerce price data as an API, no API keys or official access required

### FAQ

**Does it compare Amazon.com or Amazon.in?** Amazon **India** (amazon.in) and Flipkart — Indian prices, offers, and availability.

**Can I track price drops over time?** Yes — run the Actor on an Apify schedule and store results to build your own price history and drop alerts.

**How does Flipkart price scraping work without an API?** Flipkart has no public pricing API — this Actor reads publicly listed product pages directly and returns structured data.

**What can I search?** Anything listed on Amazon.in or Flipkart — mobiles, laptops, appliances, fashion, and more.

**What if one marketplace is temporarily unavailable?** You get the other platform's results with a clear note — and the comparison is **free**, because you only pay for a full two-marketplace result.

### Support

This Actor extracts **publicly listed product information** only (name, price, availability) — no personal or private data. Use results responsibly and respect Amazon.in and Flipkart's terms of service.

Questions or feature requests? Open an issue on the **Issues** tab — we read every one.

# Actor input Schema

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

search = compare by product name (one or many). url = paste an Amazon.in / Flipkart product link to compare the same product on the other marketplace.

## `query` (type: `string`):

One product to compare, e.g. 'iPhone 15 128GB'. Only the SAME product is compared across platforms — wrong models/brands are filtered out. Required when type=search and 'Search terms (bulk)' is empty.

## `queries` (type: `array`):

Compare several products in ONE run: one product name per line, max 10. Each term is priced separately ($0.005 per full comparison). Leave empty for a single search.

## `url` (type: `string`):

Full product link from Amazon.in or Flipkart.com. The same product is then looked up on the other marketplace. Required when type=url.

## Actor input object example

```json
{
  "type": "search",
  "query": "iPhone 15 128GB"
}
```

# Actor output Schema

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

Full comparison results (products, cheapest, savings)

# 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 = {
    "type": "search",
    "query": "iPhone 15 128GB"
};

// Run the Actor and wait for it to finish
const run = await client.actor("mechniverse/india-price-comparison").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 = {
    "type": "search",
    "query": "iPhone 15 128GB",
}

# Run the Actor and wait for it to finish
run = client.actor("mechniverse/india-price-comparison").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 '{
  "type": "search",
  "query": "iPhone 15 128GB"
}' |
apify call mechniverse/india-price-comparison --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mechniverse/india-price-comparison"
        }
    }
}

```

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/BQznF62AMU60qP93n/builds/13bwQufyLMhpqhfKv/openapi.json
