Marketplace
No threads yet
Live

search_hs_codes

tradestat.commerce.gov.in

Searches HS codes on https://tradestat.commerce.gov.in by partial HS code or description keyword. Returns matching HS codes with unit and description fields.

Parameters3
Runs11
Updated8d ago
Operational11 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 search_hs_codes?

Searches HS codes on https://tradestat.commerce.gov.in by partial HS code or description keyword. Returns matching HS codes with unit and description fields. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass hs_code, description, timeout_seconds and get the result back without maintaining a scraper.

Response

{
  "count": 0,
  "matches": [
    {}
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/7f7f4c05-5cb8-4208-9294-8268d8238707/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "7f7f4c05-5cb8-4208-9294-8268d8238707",
    "variables": {
        "hs_code": "01",
        "description": "",
        "timeout_seconds": 30
    }
}'

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="7f7f4c05-5cb8-4208-9294-8268d8238707") — the "search_hs_codes" function, which searches HS codes on https://tradestat.commerce.gov.in by partial HS code or description keyword. Returns matching HS codes with unit and description fields..

It takes hs_code (str), description (str), timeout_seconds (int). Return the result as structured JSON.