fourzerotwo-si Uk Trade Stats API
UK Trade Statistics: HMRC Overseas Trade Statistics: what the UK imports and exports of any product, from and to which countries, by month or year.
UK Trade Statistics: HMRC Overseas Trade Statistics: what the UK imports and exports of any product, from and to which countries, by month or year.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/fourzerotwo-si:fourzerotwo-si-uk-trade-stats-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Fourzerotwo Si Uk Trade Stats API
version: 1.1.0
contact:
url: https://fourzerotwo.si
description: 'Operations tagged uk-trade-stats across 2 of this provider''s published API definitions: openapi.json, fourzerotwo-si-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://fourzerotwo.si
tags:
- name: uk-trade-stats
description: 'UK Trade Statistics: HMRC Overseas Trade Statistics: what the UK imports and exports of any product, from and to which countries, by month or year.'
paths:
/v1/uk-trade-stats/commodity:
get:
operationId: uk_trade_stats__commodity
summary: 'UK Trade Statistics: Trade in a product'
description: 'UK imports and exports of one product (HS2, HS4, HS6 or CN8 code) for a month or year: totals and top partner countries with share. Price: $0.003 USDC per call via x402. 3 free calls/day with a free key.'
tags:
- uk-trade-stats
externalDocs:
url: https://fourzerotwo.si/apis/uk-trade-stats/commodity
parameters:
- name: code
in: query
required: true
description: 'Commodity code: 2, 4, 6 or 8 digits'
schema:
type: string
maxLength: 8
example: 09012100
- name: period
in: query
required: false
description: YYYY, YYYY-MM or "latest" (default latest month)
schema:
type: string
maxLength: 7
example: '2025'
- name: top
in: query
required: false
description: Partner countries to list (default 15, max 50)
schema:
type: integer
responses:
'200':
description: The data (paid, or free tier).
content:
application/json: {}
'402':
$ref: '#/components/responses/PaymentRequired'
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
security:
- {}
- freeKey: []
x-price-usd: '0.003000'
x-free-tier: sample
x-mcp-tool: uk-trade-stats__commodity
servers:
- url: https://fourzerotwo.si
/v1/uk-trade-stats/country:
get:
operationId: uk_trade_stats__country
summary: 'UK Trade Statistics: Trade with a country'
description: 'UK imports from and exports to one country for a month or year: totals and top HS2 product chapters. Price: $0.003 USDC per call via x402. 3 free calls/day with a free key.'
tags:
- uk-trade-stats
externalDocs:
url: https://fourzerotwo.si/apis/uk-trade-stats/country
parameters:
- name: country
in: query
required: true
description: Partner country, ISO alpha-2
schema:
type: string
maxLength: 2
example: CN
- name: period
in: query
required: false
description: YYYY, YYYY-MM or "latest" (default latest month)
schema:
type: string
maxLength: 7
example: '2025'
- name: top
in: query
required: false
description: Chapters to list (default 15, max 50)
schema:
type: integer
responses:
'200':
description: The data (paid, or free tier).
content:
application/json: {}
'402':
$ref: '#/components/responses/PaymentRequired'
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
security:
- {}
- freeKey: []
x-price-usd: '0.003000'
x-free-tier: sample
x-mcp-tool: uk-trade-stats__country
servers:
- url: https://fourzerotwo.si
/v1/uk-trade-stats/latest:
get:
operationId: uk_trade_stats__latest
summary: 'UK Trade Statistics: Latest month'
description: 'The most recent month HMRC has published trade statistics for. Price: $0.0005 USDC per call via x402. 3 free calls/day with a free key.'
tags:
- uk-trade-stats
externalDocs:
url: https://fourzerotwo.si/apis/uk-trade-stats/latest
responses:
'200':
description: The data (paid, or free tier).
content:
application/json: {}
'402':
$ref: '#/components/responses/PaymentRequired'
'400':
$ref: '#/components/responses/Error'
'404':
$ref: '#/components/responses/Error'
'502':
$ref: '#/components/responses/Error'
security:
- {}
- freeKey: []
x-price-usd: '0.000500'
x-free-tier: sample
x-mcp-tool: uk-trade-stats__latest
servers:
- url: https://fourzerotwo.si
components:
responses:
PaymentRequired:
description: x402 payment required. The body (also base64 in the PAYMENT-REQUIRED header) lists accepted payments.
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64 JSON x402 v2 PaymentRequired
content:
application/json:
schema:
type: object
properties:
x402Version:
type: integer
error:
type: string
accepts:
type: array
items:
type: object
Error:
description: 400 = invalid input, 404 = not found at the source, 502 = the source failed. Never charged.
content:
application/json:
schema:
type: object
properties:
error:
type: string
charged:
type: boolean
securitySchemes:
freeKey:
type: apiKey
in: header
name: X-API-Key
description: Optional free key (fzt_…) for the free tier.
x-refined-from:
- openapi.json
- fourzerotwo-si-openapi.json