Skip to main content
POST
Reference codes

Request contract

  • Method and path: POST /apis/v1/comtradeplus-un-org/trade-statistics/reference-codes
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/comtradeplus-un-org/trade-statistics/reference-codes
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
table
string
required

Table name as listed above (case-sensitive, as the file is named). Pattern: ^[A-Za-z0-9]{1,32}$.

limit
number
default:200

Maximum rows returned after filtering (HS has 8262 rows).

Provider reference: minimum 1; maximum 2000; default 200.

query
string

Keep rows whose id or text contains this (case-insensitive).

Response

A UN Comtrade reference code table (GET /files/v1/app/reference/{table}.json): Reporters, partnerAreas, HS (all editions combined), H0-H6, S1-S4, SS, B4, B5, EB, EB02, EB10, EB10S, tradeRegimes (flows), ModeOfTransportCodes, CustomsCodes, QuantityUnits, ModeOfSupply, Frequency, TradeDataItems. Optional case-insensitive substring filter on code and text; rows pass through with the table's own columns. An unknown table name is not_found.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.