x402 Micro-Pay Marketplace
Pay-per-call APIs · USDC on Base · no signup, no API key

← All services

UN Comtrade Preview

$0.02015 USDC per call

UN Comtrade public preview trade data. New trade.

Endpoint
POST https://x402-v2-mint-un-comtrade-preview.vercel.app/v1/un-comtrade-preview
Payment
USDC on Base (x402). No account or API key.
Pays to
0xc22f9CAEBAc37fE72D5142f35f21f6696Ea9Ef69
Hosted on
its own isolated endpoint

Try it

Send the request below. Without payment it answers 402 Payment Required with the exact price. An x402 client or agent wallet pays and retries automatically.

OpenAPI spec →
curl -i -X POST 'https://x402-v2-mint-un-comtrade-preview.vercel.app/v1/un-comtrade-preview' \
  -H 'content-type: application/json' \
  -d '{"cmdCode":"TOTAL","flowCode":"M","maxRecords":2,"partnerCode":"0","period":"2022","reporterCode":"842"}'
Technical notes

UN Comtrade public preview trade data; unpaid empty→402; after settle empty/invalid→400 charged:false; new trade

Questions or a problem with this service? Email nicsins@gmail.com.