Marketplace
No threads yet
Live

fetch_india_trade_summary

tradestat.commerce.gov.in

Fetches India’s country-grouped export or import summary from https://tradestat.commerce.gov.in with consecutive-year values, shares, and growth. When given an HS code, it returns that commodity’s trade across all countries, including source-provided quantities and totals.

Parameters4
Runs12
Updated10d ago
Operational12 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is fetch_india_trade_summary?

Fetches India’s country-grouped export or import summary from https://tradestat.commerce.gov.in with consecutive-year values, shares, and growth. When given an HS code, it returns that commodity’s trade across all countries, including source-provided quantities and totals. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass financial_year, trade_type, hs_code, value_unit and get the result back without maintaining a scraper.

Response

{
  "count": 0,
  "report": {},
  "countries": [
    {}
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/485e0049-b543-413e-b6a0-7c445da4ee3d/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "485e0049-b543-413e-b6a0-7c445da4ee3d",
    "variables": {
        "financial_year": "2024-2025",
        "trade_type": "export",
        "hs_code": "",
        "value_unit": "usd_million"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="485e0049-b543-413e-b6a0-7c445da4ee3d") — the "fetch_india_trade_summary" function, which fetches India’s country-grouped export or import summary from https://tradestat.commerce.gov.in with consecutive-year values, shares, and growth. When given an HS code, it returns that commodity’s trade across all countries, including source-provided quantities and totals..

It takes financial_year (str), trade_type (str), hs_code (str), value_unit (str). Return the result as structured JSON.