Zero Data Resale Pledge: Caller payloads, regulatory queries, and audit logs are never sold or used for external training. $0 billed on empty results or upstream errors.
devour-fin.fastmesh.dev › FinGov Guides › entities_trade_customs
25 Verified Endpoints · 0-LLM Deterministic Runtime · 7d-30d Cache · Decimal Precision

UN Comtrade Public Trade Data Preview (un_comtrade_preview): Deterministic MCP & Cached JSON Guide

Connect AI agents and backend pipelines to UN Comtrade Public Trade Data Preview (https://comtradeapi.un.org) via https://devour-fin.fastmesh.dev/v1/organs/un_comtrade_preview/invoke and https://mcp.fastmesh.dev/mcp. Upstream JSON payloads are parsed deterministically with a 30-day cross-tenant cache.

Runtime Engine
0-LLM Stdlib
Numeric Precision
decimal.Decimal
Archive Cache
7d - 30d TTL
Empty / Error Bill
$0.00 Guaranteed

1. Direct REST & MCP Invocation

curl -fsSL -X POST "https://devour-fin.fastmesh.dev/v1/organs/un_comtrade_preview/invoke" \
  -H "Content-Type: application/json" \
  -d '{"params": {"reporter": "842", "period": "2022", "cmd": "8542", "flow": "M"}}'

JSON-RPC 2.0 MCP call via https://devour-fin.fastmesh.dev/mcp or SuperBus https://mcp.fastmesh.dev/mcp (local upstream port 9053):

{
  "jsonrpc": "2.0",
  "id": 20,
  "method": "tools/call",
  "params": {
    "name": "un_comtrade_preview",
    "arguments": {
      "reporter": "842",
      "period": "2022",
      "cmd": "8542",
      "flow": "M"
    }
  }
}

2. Deterministic Normalized Output Contract

{
  "ok": true,
  "slug": "un_comtrade_preview",
  "superbus_id": "fingov:un_comtrade_preview",
  "hand_id": "fingov_un_comtrade_preview_v1",
  "source": "UN Comtrade Public Trade Data Preview",
  "verified": true,
  "auth_mode": "public_no_auth",
  "response_format": "json",
  "cache_ttl_days": 30,
  "cache_hit": true,
  "upstream_calls": 0,
  "charged_micros": 0,
  "zero_charge_on_empty": true,
  "decimal_fields": [
    "primaryValue",
    "fobvalue",
    "cifvalue",
    "netWgt",
    "qty"
  ],
  "receipt_sha256": "sha256_verified_evidence_digest",
  "sample_schema_fields": [
    "count",
    "data[].typeCode",
    "data[].freqCode",
    "data[].refYear",
    "data[].reporterCode",
    "data[].partnerCode",
    "data[].cmdCode",
    "data[].primaryValue",
    "data[].fobvalue",
    "data[].cifvalue"
  ]
}

3. Covered Official Endpoints & Cache Policy

Organ SlugOfficial SourceFormatCache TTLDecimal Fields
un_comtrade_previewUN Comtrade Public Trade Data PreviewJSON30 daysprimaryValue, fobvalue, cifvalue, netWgt

4. Engineering Guarantees & Anti-Fake-200 Controls

5. Prepaid Credit Tiers (Never Expire) & Agent Manifests

Start with the 5-second Try-Now explorer at devour-fin.fastmesh.dev or unlock high-volume cached throughput with Starter ($19), Pro ($79), or Scale ($249) prepaid packs.

skill.md · llms.txt · openapi.json · GET /v1/organs · sitemap.xml

Related FinGov & Regulatory MCP Guides

FastMesh FinGov Deterministic Engine (devour-fin.fastmesh.dev) · SuperBus: https://mcp.fastmesh.dev/mcp · Support: ops@fastmesh.dev