Skip to main content
POST
World share

Request contract

  • Method and path: POST /apis/v1/comtradeplus-un-org/trade-statistics/world-share
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/comtradeplus-un-org/trade-statistics/world-share
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
period
string
required

Period(s) YYYY or YYYYMM, comma-separated, or recent. Pattern: ^(recent|\d{4}(\d{2})?(,\d{4}(\d{2})?)*)$.

reporter_code
string
required

UN M49 numeric reporter code(s), comma-separated (156 China, 842 USA, 276 Germany). Look codes up with reference_codes table=Reporters. Pattern: ^\d{1,4}(,\d{1,4})*$.

freq_code
string
default:A

Frequency: A annual (period YYYY), M monthly (period YYYYMM).

Provider reference: allowed values ["A", "M"]; default "A".

type_code
string
default:C

Type of trade: C commodities (goods), S services.

Provider reference: allowed values ["C", "S"]; default "C".

Response

A reporter's share of world trade for a period, including UN estimates where the reporter has not published (GET /public/v1/getWorldShare/{type}/{freq}), with availability and release dates.

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.