# TradeIndia Scraper (`tortuga/tradeindia-scraper`) Actor

TradeIndia products and suppliers by keyword, category or city: product id, URL, name, price and unit, MOQ, specs, supplier name, city, state, trust and verified badges, years on TradeIndia, response rate and images. No login.

- **URL**: https://apify.com/tortuga/tradeindia-scraper.md
- **Developed by:** [Trevor Ortega](https://apify.com/tortuga) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.76 / 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

## TradeIndia Scraper

Scrape TradeIndia products and the suppliers behind them. Search by keyword or category, optionally narrow to one or more Indian cities, and get one flat record per product: price and unit, minimum order quantity as shown, specifications, supplier name, city, state, trust and verified badges, years on TradeIndia, response rate and images. No login and no cookies needed.

### What data you get

| Field | Example |
|---|---|
| productId, url, name, fullName | `6823179`, `https://www.tradeindia.com/products/solar-led-street-light-c6823179.html` |
| price, priceValue, currency, unit | `2,800 INR`, `2800`, `INR`, `Piece/Pieces` |
| moq, moqValue | `10 Piece/Pieces`, `10` |
| category, parentCategory, brand | `Solar LED Street Light`, `Solar Products & Equipment` |
| description, specs, tradeInfo | text, `{"Color": "Gray", "Warranty": "1 Year"}`, delivery time and supply ability |
| images, videoUrl | product image URLs |
| supplierName, supplierUrl, supplierType | `ZARAL ELECTRICALS`, `Manufacturer | Supplier` |
| city, state, country, supplierAddress | `Vadodara`, `Gujarat`, `India` |
| yearsOnTradeIndia, yearEstablished | `11`, `1985` |
| isTrustStamp, isTiVerified, isPaidMember, badges | verification and membership badges |
| responseRate, buyerFeedbackScore | supplier response figure and buyer feedback score when shown |

Fields the listing does not show are `null`.

### Input example

```json
{
  "searchTerms": ["led lights"],
  "city": ["Mumbai"],
  "maxItems": 100,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

You can also paste TradeIndia category or search URLs into `startUrls`, for example `https://www.tradeindia.com/products/led-lights.html` or `https://www.tradeindia.com/search.html?keyword=solar+panel`.

### Output example

```json
{
  "productId": "6823179",
  "url": "https://www.tradeindia.com/products/solar-led-street-light-c6823179.html",
  "name": "Solar LED Street Light",
  "price": "2,800 INR",
  "priceValue": 2800,
  "unit": "Piece/Pieces",
  "moq": "10 Piece/Pieces",
  "supplierName": "ZARAL ELECTRICALS",
  "city": "Vadodara",
  "state": "Gujarat",
  "yearsOnTradeIndia": 11,
  "isTrustStamp": true,
  "images": ["https://cpimg.tistatic.com/06823179/b/4/Solar-LED-Street-Light.jpg"]
}
```

### Pricing

| Event | Price |
|---|---|
| Product saved to the dataset | $0.0022 (about $2.20 per 1,000 products) |
| Run start | $0.00005 |

Apify platform usage is included in the price. Volume discounts apply on higher Apify plans.

### Proxy note

TradeIndia's search data loads through Apify datacenter proxy, so no residential traffic is used. Measured platform usage is about $0.004 per 1,000 products, which is included in the event price.

### Monitor changes on a schedule

Turn on "Only new or changed items" and save the run as a Task with a Schedule. Each run compares the products with what the previous runs of the same search saw and outputs only new products and products whose price or minimum order quantity changed. Unchanged products are not charged. Items then carry `changeType` (`new` or `changed`) and `previousValues`. Use "Monitoring key" to keep several schedules on the same search apart.

### FAQ

**How do I scrape TradeIndia products by keyword?** Put the keywords in `searchTerms`. Each keyword is paged through until `maxItems` or `maxPagesPerSearch` is reached (up to 50 products per page).

**Can I scrape suppliers in one city?** Yes, set `city` (for example `Mumbai`). Only suppliers located there are returned.

**Does it need a login or API key?** No. It reads the public search data the logged-out TradeIndia website loads.

**Does it return phone numbers or emails?** No. TradeIndia masks them on public pages, so this Actor does not collect them.

**Is it legal?** It collects public business listing data only: products, prices and company details that TradeIndia shows to any visitor.

# Actor input Schema

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

Keywords or product categories to search on TradeIndia, one per line (e.g. "led lights", "cotton fabric"). A single text value also works.

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

TradeIndia search or category URLs, for example https://www.tradeindia.com/products/led-lights.html or https://www.tradeindia.com/search.html?keyword=solar+panel. Used instead of, or together with, search terms.

## `city` (type: `array`):

Optional Indian city (or several) to keep only suppliers located there, e.g. Mumbai or New Delhi. Leave empty for all of India. A single text value also works.

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

Stop after this many products in total across all searches. Keeps cost predictable.

## `maxPagesPerSearch` (type: `integer`):

Result pages to read per search term and city. Each page holds up to 50 products.

## `onlyNewOrChanged` (type: `boolean`):

Remember what earlier runs of this search returned and output only new items or items whose price/status changed. Use with a Schedule; unchanged items are not charged. With this on, Max items is the number of products checked each run (the watched window). The price and the minimum order quantity are compared.

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

Name for this watch, so several schedules on the same search stay separate; defaults to a key derived from the search input.

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

Apify datacenter proxy works for TradeIndia's search data. Residential is not needed.

## Actor input object example

```json
{
  "searchTerms": [
    "led lights"
  ],
  "startUrls": [],
  "maxItems": 100,
  "onlyNewOrChanged": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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": [
        "led lights"
    ],
    "startUrls": [],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tortuga/tradeindia-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 = {
    "searchTerms": ["led lights"],
    "startUrls": [],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("tortuga/tradeindia-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 '{
  "searchTerms": [
    "led lights"
  ],
  "startUrls": [],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call tortuga/tradeindia-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tortuga/tradeindia-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/eJrVgipnmlWkl1U7X/builds/aIzgohJX5aEBB2x59/openapi.json
