HM Revenue and Customs
HMRC uktradeinfo traders
hmrc_trade
The businesses HMRC lists as importing or exporting goods each month, with the commodity codes they trade in.
Licence: OGL v3.0. Attribution travels in every answer: Contains public sector information licensed under the Open Government Licence v3.0..
The API answers this reference with a JSON Schema and an example per field, to a key holder: GET https://api.atlas.oromiq.com/v1/layers/hmrc_trade/schema
Facts on the entity
One current value each, in the entity's facts list under its key. The name, address, postcode, status and identifiers reach you through the entity itself. Each field's full description comes with the layer's schema from the API (GET /v1/layers/{layer}/schema), for key holders.
| Client key | Label | Type | Search | Notes |
|---|---|---|---|---|
| hmrc_trade.importCodes | Commodity codes imported | a list of values | no | |
| hmrc_trade.importChapters | Commodity chapters imported | a list of values01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 | yes; can carry a search alone | |
| hmrc_trade.exportCodes | Commodity codes exported | a list of values | no | |
| hmrc_trade.exportChapters | Commodity chapters exported | a list of values01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 | yes; can carry a search alone |
How a change reaches you
Within a major version a layer only ever gains: a new key, a new option, a new list. A key, a type or an option is never taken away without a deprecation first: the catalogue and the layer schema mark it with the day it may go, the changelog records it, and every answer carries the surface version in x-atlas-surface so you know when your picture of the API is out of date.
GET /v1/entities/{entityId}?layers=hmrc_trade
Authorization: Bearer ck_…
{
"data": {
"facts": [
{ "layer": "hmrc_trade", "key": "hmrc_trade.importCodes", "value": "…" },
{ "layer": "hmrc_trade", "key": "hmrc_trade.importChapters", "value": "01" },
{ "layer": "hmrc_trade", "key": "hmrc_trade.exportCodes", "value": "…" }
]
}
}