India Export Data by HS Code and Country: Monthly TradeStat on the Apify Store →

How to get India export data by HS code and country, every month, in one sheet

Tutorial article for the Apify blog guest program, dev.to, Medium and Hashnode. Written from the Actor's real runs of 2026-11-22 to 2026-11-24 — every figure below is from those runs. When cross-posting, set the canonical URL to the Store page: https://apify.com/rich_minds/india-export-stats-ai

The problem: the numbers are public, the series is not

"How much ground chilli did India ship to Germany last month, and is it growing?" is the first question of every export plan, every buyer meeting and every consultant's monthly client note.

There are two free official answers, and both hurt:

A 13-month series of one product to four markets therefore means 36 form submits, 144 cells copied into Excel, a lookup of the month's exchange rate to make the rupee and dollar columns agree, and then someone has to write the trend sentence. When we did it by hand for 9 sample rows on 2026-11-22 it took about 4 minutes a row — for 100 rows that is ≈ 6.7 hours. For an export consultant with ten clients, that is the first week of every month.

What the Actor does

India Export Data by HS Code and Country submits the TradeStat form for you, on any Apify plan, two seconds apart, and returns one row per HS code × country × month with:

You type product words ("basmati rice", "frozen shrimp") or ITC-HS codes from 2 to 8 digits, and destination countries — or All countries.

Step by step

1. Open the Actor and click Try it

Open https://apify.com/rich_minds/india-export-stats-ai and click Try it. With an empty input the run is the free demo: 20 real rows of HS 090422 (crushed or ground chilli) — 13 months to the USA, plus September 2025 and September 2026 to the UAE, the UK and Germany, and one 0904 year. Nothing is charged.

2. Type your product and countries

Replace the sample with your own search. The prefilled live example is:

{"sourceMode": "live", "hsCodes": ["090422"], "countries": ["DE", "AE", "US", "GB"], "maxQualified": 50,
 "dedupeAcrossRuns": true}

On 2026-11-22 that run made 36 submits and returned 52 rows in about 90 seconds.

3. Open the Shortlist view

Best markets first. In that run the USA led with US$ 7.03 m in September 2026, +45.2 % on September 2025, while the UAE grew 10.7 % in the month but stood −22.1 % year to date. One real row (AI off) looks like this:

{"name": "090422 → Germany, 2026-09", "hsCode": "090422", "country": "DE", "countryName": "Germany",
 "period": "2026-09", "status": "final", "valueUsd": 250000, "valueUsdFromInr": 248252,
 "quantityMt": 53.426, "unitValueUsdPerMt": 4679.37, "yoyGrowthPct": 18.94, "ytdGrowthPct": -16.08,
 "ruleScore": 51, "score": 51, "label": "warm", "assessedBy": "rules"}

The rule note on that row reads: "Germany, 090422 — Sep 2026: US$ 250 k (+18.9 % on Sep 2025); 53.4 t at US$ 4,679/t; Jan–Sep US$ 1.18 m (-16.1 % year to date); final."

4. Turn the AI on (optional)

With the AI tier, one model call per HS × country series reads the 13 months plus the other markets' growth and unit value. On the AI run of 2026-11-24 the same German row got this next step:

"Price a shipment against the unit-value gap to the United States, targeting Germany's premium US$ 4,679.37/t price

point despite the YTD contraction."

Any number the model writes that is not in the row is dropped; if the call fails, the rule note stays. The AI runs on Apify Starter and up with no key, or on any plan with your own Gemini key.

5. Export to Excel or Google Sheets

Open the Monthly series view and export CSV, or read the dataset by API (below). Each row carries itemId, which stays the same across runs — the key to upsert on in a sheet or CRM.

Try it for your niche

The input form has ready searches, each measured live on 2026-11-22/23:

PresetResult
rice-gulf (100630 → SA, AE, IQ, KW, YE)65 rows in 80 s; top Saudi Arabia US$ 113.19 m
shrimp-top-markets (030617 → US, CN, JP, VN, BE)65 rows in 79 s; top USA US$ 158.49 m
pharma-africa (300490 → NG, KE, ZA, GH, TZ)65 rows in 79 s; top South Africa US$ 45.59 m
spices-annual (0904 → all countries, 3 calendar years)449 rows in 20 s; top China US$ 551.89 m

What a run costs

The first 50 export rows on your Apify account are free. After that it is $0.002 per export row with the AI off and $0.006 with it on, plus the AI's tokens. No start fee, no source fee, and nothing for months you already received.

The prefilled search — 090422 to four markets for 13 months — returns 52 rows: 50 free and 2 × $0.002 = $0.004 with the AI off. With the AI on it is 2 × $0.006 plus 52 rows × ≈ $0.0003 of tokens = $0.028. Each later month adds four rows (one per market): $0.008 rules only.

Automate it: the new month, every month

TradeStat adds a month around mid-month and finalises earlier ones. After a real run, the status links a ready task (OUTPUT.scheduleTaskUrl): open it, click Schedule, pick monthly, and put a Slack, Teams or Telegram link (or your e-mail) in Send alerts to. Keep "Never output the same export row twice" on: each scheduled run re-reads only the newest and still-provisional months — 9 submits in 27 seconds on 2026-11-24 — and delivers only new and newly final rows. Big moves (≥ +40 % or ≤ −30 % a year) lead the digest.

Call it from code

from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("rich_minds/india-export-stats-ai").call(
    run_input={"sourceMode": "live", "hsCodes": ["090422"], "countries": ["DE", "AE", "US", "GB"],
               "maxQualified": 50, "dedupeAcrossRuns": True},
    timeout_secs=1800,
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["period"], row["countryName"], row["valueUsd"], row["yoyGrowthPct"], row["status"])

AI agents can call it through Apify's MCP server: https://mcp.apify.com/?actors=rich_minds/india-export-stats-ai — then ask "How much ground chilli did India export to the UAE each month this year, and is it growing?"

When not to use it

For one number, once, the TradeStat form is free and fine. For importer names or shipment-level records you need a shipment database — this Actor reports India's official monthly totals per product and country, not who bought them.

Try the free demo: https://apify.com/rich_minds/india-export-stats-ai

India Export Data by HS Code and Country: Monthly TradeStat on the Apify Store →