FreightUtils MCP Server
v2.34.6Neutral freight reference + validation layer for AI agents: ADR, HS, UN/LOCODE, freight math
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cbm_calculator
Cubic metres (CBM) of a shipment from per-piece dimensions in cm and a piece count, with cubic feet, litres and cubic inches. Volume only: for air billing weight from the same dimensions use chargeable_weight_calculator, for multi-line totals consignment_calculator, for one unit conversion unit_converter, for a full composite analysis shipment_summary. Deterministic; totals are computed from unrounded figures and rounded only for display. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets.
| Parameter | Type | Description |
|---|---|---|
height_cm * | number | Height of one piece, cm. |
length_cm * | number | Length of one piece, cm. |
width_cm * | number | Width of one piece, cm. |
pieces | integer | Number of identical pieces. Default 1. |
chargeable_weight_calculator
Air freight chargeable weight — the greater of actual gross weight and volumetric weight, which is what airlines bill. The dimensions are per piece and gross_weight_kg is the TOTAL for all pieces; factor is the volumetric divisor (default 6000, the IATA standard; express integrators typically use 5000). Air only: sea W/M is consignment_calculator with mode=sea; volume alone is cbm_calculator; multi-line loads in any mode consignment_calculator; the equipment the freight flies in uld_lookup. Deterministic; totals are computed from unrounded figures and rounded only for display. Rate-limited:…
| Parameter | Type | Description |
|---|---|---|
gross_weight_kg * | number | Gross weight of the WHOLE shipment (all pieces), kg. |
height_cm * | number | Height of one piece, cm. |
length_cm * | number | Length of one piece, cm. |
width_cm * | number | Width of one piece, cm. |
factor | integer | Volumetric divisor, cm³/kg. Default 6000. |
pieces | integer | Number of identical pieces. Default 1. |
ldm_calculator
Loading metres (LDM) for European road freight — how much trailer length a pallet load occupies (1 LDM = 1 linear metre of a 2.4 m-wide trailer; a standard artic is 13.6 LDM) — and whether it fits. Provide a pallet preset OR custom length_mm + width_mm; omitting both errors. fits is true only when the load fits the vehicle's length, its pallet floor positions and, when weight_kg is given, its max payload; without weight_kg the payload is not checked. For the trailer specs behind the presets use vehicle_lookup; for boxes onto one pallet pallet_fitting_calculator; for mixed lines consignment…
| Parameter | Type | Description |
|---|---|---|
length_mm | number | Custom pallet length, mm (with width_mm, instead of a preset). |
pallet | string | Pallet preset (euro 1200x800, uk 1200x1000, half 800x600, quarter 600x400 mm). Provide this OR length_mm + width_mm. |
quantity | integer | Number of pallets. Default: 1. |
stack_height | integer | Stack height when stackable: 2 or 3. Default: 2. |
stackable | boolean | Pallets can be stacked (2 or 3 high). Default false. |
vehicle | string | Vehicle preset (default artic = 13.6m curtainsider; rigid75 = 7.5t rigid; luton = 3.5t Luton van; us53 / us48 = US trailers; custom needs vehicle_length_m). rigid10 is DEPRECATED (removal in 3.0.0). |
vehicle_length_m | number | Custom vehicle load length in metres (required when vehicle=custom). |
weight_kg | number | Weight per pallet in kg — enables the payload side of the fits check. |
width_mm | number | Custom pallet width in millimetres. Example: 980. |
adr_lookup
Look up the full European road dangerous-goods (ADR 2025) Table A entry for a substance — all 20 columns, from class, packing group and labels through special provisions, limited/excepted quantities, packing instructions, tank codes, carriage provisions, transport category, tunnel restriction code and hazard identification number — and what each of those codes means (resolved_codes). 2,939 entries across all 9 classes, from UNECE ADR 2025. Provide exactly ONE of: un_number (every packing-group variant of it; "1203", "UN1203" and "un 1203" are equivalent; explosives keep their leading zero)…
| Parameter | Type | Description |
|---|---|---|
as_of | string | The date the answer is for, YYYY-MM-DD (default today, UTC). |
edition | string | ADR edition; wins over as_of. Omitted: as_of picks it. |
hazard_class | string | All entries in an ADR class (Table A column (3a)), e.g. "3", "6.1", "1" (explosives; "1.4S" is a classification_code). |
include_codes | string | What each Table A code means (resolved_codes): compact, full or none. Default compact for un_number, none otherwise. |
include_statements | boolean | true adds plain-word statements[] to every row. Default false. |
limit | integer | search / hazard_class only: rows per page (default and max 50 for a search, 100 for a class). |
offset | integer | search / hazard_class only: rows to skip (default 0). The response gives total and next_offset. |
search | string | Case-insensitive partial match on the proper shipping name (min 2 characters). Example: "acetone". |
un_number | string | Exact UN number, 4 digits, optionally "UN"-prefixed ("0004" keeps its zero). |
un_numbers | array | Batch: up to 50 UN numbers. Send alone. |
adr_exemption_calculator
ADR 1.1.3.6 "small load" exemption points for a dangerous-goods road load, and whether it qualifies; points = quantity x the transport category multiplier. The rule (1.1.3.6.2), for dangerous goods carried in packages: goods of ONE transport category qualify when their TOTAL on the transport unit stays within that category's 1.1.3.6.3 column (3) maximum (category 1: 20, 2: 333, 3: 1,000 kg or L; 4 unlimited; 0: 0); goods of DIFFERENT categories qualify when the 1.1.3.6.4 points sum does not exceed 1,000. Transport category 0 can never use the exemption. For limited/excepted quantity relief use…
| Parameter | Type | Description |
|---|---|---|
as_of | string | The date the answer is for, YYYY-MM-DD (default today, UTC). |
basis | string | net or gross; a gross mass is only an upper bound of the net (send the net quantity). Single-substance form only. |
consignment | object | The consignment object, instead of the other arguments. Send it alone. |
edition | string | ADR edition; wins over as_of. Omitted: as_of picks it. |
icao_limited_quantity | boolean | ID-prefixed un_number only: true states the packages are ICAO Technical Instructions limited quantities (the 3.4.8 mark, or 3.4.10). |
items | array | Mixed-load items, INSTEAD of un_number/quantity. |
packing_group | string | Packing group, to pin one row of a multi-row UN. Single-substance form only. |
quantity | number | Quantity in kg or litres per the substance's ADR unit. Single-substance form only. |
un_number | string | UN number (4 digits, optionally "UN"-prefixed) or an ID-prefixed air-only number ("ID8000"). Single-substance form only. |
unit | string | The dimension quantity is stated in, checked against the one ADR 1.1.3.6.3 counts for the row (a mismatch gives no points). Omitted: taken as already on that basis. Single-substance form only. |
variant_index | integer | ADR Table A variant index (from adr_lookup), to pin one row. Single-substance form only. |
adr_lq_eq_check
Whether dangerous goods qualify for ADR Limited Quantity (LQ, ADR 3.4) or Excepted Quantity (EQ, ADR 3.5) relief, item by item. Send mode ("lq" or "eq") and 1-20 items, each with un_number, quantity per INNER packaging (not the whole load) and unit (ml or L for liquids, g or kg for solids); inner_packaging_qty adds the EQ per-outer check. A mass against a volume limit (or the reverse) cannot be compared: that item is inconclusive — send the unit given by lq_limit_unit. A UN number whose Table A rows disagree needs packing_group or variant_index, else no verdict for it (AMBIGUOUS_UN_VARIANT w…
| Parameter | Type | Description |
|---|---|---|
items * | array | Items to check (1-20 per call). |
mode * | string | lq (Limited Quantity, ADR 3.4) or eq (Excepted Quantity, ADR 3.5). |
as_of | string | The date the answer is for, YYYY-MM-DD (default today, UTC). |
edition | string | ADR edition; wins over as_of. Omitted: as_of picks it. |
airline_lookup
Find airlines (6,356) by name, IATA code, ICAO code, AWB prefix (the first 3 digits of an air waybill number, e.g. 176 = Emirates) or country. Provide ONE parameter: query is a ranked fuzzy search; iata / icao / prefix / country are exact filters. Searches carriers, not airports — for airports use airport_lookup; to check an AWB number's check digit use validate. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Provenance pending independent verification — confirm operationally critical codes with IATA/ICAO or the carrier.
| Parameter | Type | Description |
|---|---|---|
codes | array | Batch: up to 50 airline codes (IATA, ICAO or AWB prefix). Send alone. |
country | string | Country name filter. |
full | boolean | Lists only: true returns full records instead of summary rows. |
iata | string | Exact 2-character IATA code. |
icao | string | Exact 3-letter ICAO code. |
limit | integer | Lists only: rows per page. |
offset | integer | Lists only: rows to skip (default 0). |
prefix | string | Exact AWB prefix, 3 digits. |
query | string | Ranked fuzzy search across names and codes. |
container_lookup
ISO shipping-container specifications for 10 types (20ft/40ft standard, 40ft and 45ft high-cube, reefer, open-top and flat-rack), with optional load-fit maths. type (a slug such as "40ft-high-cube", the ISO size-type code "45G1" or the short form "40HC") gives one record; omit it to list all 10; add item dimensions to compute how many items fit. For a container NUMBER's check digit use validate; for the air-freight equivalent uld_lookup; for the cargo volume cbm_calculator / consignment_calculator. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Manufacturer-ty…
| Parameter | Type | Description |
|---|---|---|
full | boolean | Lists only: true returns full records instead of summary rows. |
item_height_cm | number | Item height in cm. |
item_length_cm | number | Item length in cm — provide all three item dims to get a load-fit calculation. |
item_quantity | integer | Number of items to check against the container. |
item_weight_kg | number | Weight of ONE item, kg; caps the fit by max payload. |
item_width_cm | number | Item width in cm. |
limit | integer | Lists only: rows per page. |
offset | integer | Lists only: rows to skip (default 0). |
type | string | Container slug ("40ft-high-cube"), ISO code or short form. Omit to list all. |
hs_code_lookup
Search the 6,936 codes of the WCO Harmonized System (HS 2022), the 6-digit international customs classification (2 digits chapter, 4 heading, 6 subheading). Provide ONE of: query (free-text description), code (2-6 digits, dots or spaces ignored; returns the code with its hierarchy) or section (Roman numeral I-XXI). Behavior: read-only; description search runs first against the HS 2022 descriptions (UN Comtrade H6), on whole words only (a word inside a longer word never matches); when none contains the words, or the best match is weak, it asks the UK Trade Tariff search references (HMRC's index…
| Parameter | Type | Description |
|---|---|---|
code | string | HS code or prefix, 2, 4 or 6 digits; dots and spaces ignored ("8471.30"). |
codes | array | Batch: up to 50 HS codes. Send alone. |
query | string | Search words, matched against the HS descriptions, then HMRC everyday goods names. |
section | string | A section, Roman numeral I-XXI. |
incoterms_lookup
The 11 Incoterms 2020 rules — who pays for transport, insurance and customs clearance, and where risk transfers from seller to buyer. code gives one rule; category (any_mode | sea_only) filters; neither lists all 11. An unknown code errors with the valid list; DAT names its successor, DPU. Related: uk_duty_calculator (takes an incoterm when composing the CIF value), shipment_summary. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Summarised guidance; the ICC publication is the binding text.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter the list: any_mode (7 rules) or sea_only (4 rules). |
code | string | Three-letter Incoterms 2020 code. |
full | boolean | Lists only: true returns full records instead of summary rows. |
limit | integer | Lists only: rows per page. |
offset | integer | Lists only: rows to skip (default 0). |
pallet_fitting_calculator
How many identical boxes fit on one pallet: boxes per layer (trying 90-degree rotation when allowed), layers within the max height, totals, footprint and volume utilisation (volume_utilisation_percent), capped in whole layers by max_payload_kg. One box size in aligned rows — no interlocked or mixed patterns. For pallets into trailer length use ldm_calculator; pallet capacity per vehicle vehicle_lookup; pallets into containers container_lookup. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. A theoretical best-effort fit — carton strength, overhang and load…
| Parameter | Type | Description |
|---|---|---|
box_height_cm * | number | Box height in cm. |
box_length_cm * | number | Box length in cm. |
box_width_cm * | number | Box width in cm. |
pallet_length_cm * | number | Pallet length, cm. |
pallet_max_height_cm * | number | Maximum stack height in cm INCLUDING the pallet deck. |
pallet_width_cm * | number | Pallet width, cm. |
allow_rotation | boolean | Try 90-degree box rotation for the best layer fit. Default: true. |
box_weight_kg | number | Weight per box in kg — enables the weight-capping check. |
max_payload_kg | number | Maximum pallet payload in kg. Example: 1000. |
pallet_deck_height_cm | number | Pallet deck height in cm. Default: 15. |
unit_converter
Convert freight weight, volume and length units, plus chargeable_kg (air volumetric weight at the IATA 6,000 divisor) and freight_tonnes (sea W/M, 1 CBM = 1 freight tonne), both only FROM cbm. Cross-dimension conversions (e.g. kg to litres) and a negative value are refused. For dimensions to volume use cbm_calculator; for air billing weight with pieces and a custom divisor chargeable_weight_calculator. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets.
| Parameter | Type | Description |
|---|---|---|
from * | string | Source unit; the same dimension as "to". |
to * | string | Target unit; chargeable_kg and freight_tonnes only from cbm. |
value * | number | The value to convert, 0 or more. |
consignment_calculator
Per-line and grand totals for a multi-item mixed consignment: CBM, loading metres, volumetric weight and the mode's chargeable figure (air chargeable weight, sea revenue tonnes, road LDM), plus advisory flags (implausible density, mode/option mismatch, dangerous goods by UN number, container/AWB check digits). Send mode (sea | air | road, default road) and lines[] (each line with its own dimension and weight units), or the legacy flat items[] in cm and kg. For a vehicle/container suggestion and duty estimates use shipment_summary; for one figure cbm_calculator / chargeable_weight_calculator /…
| Parameter | Type | Description |
|---|---|---|
as_of | string | The date the answer is for, YYYY-MM-DD (default today, UTC). |
consignment | object | The consignment object, instead of the other arguments. Send it alone. |
edition | string | ADR edition; wins over as_of. Omitted: as_of picks it. |
items | array | Legacy flat alias — dimensions in cm, weight in kg. Prefer lines. |
lines | array | Canonical consignment lines (preferred, 1-50). Provide lines OR items. |
mode | string | Transport mode: sea | air | road. Default: road. |
options | object | Optional settings. |
unlocode_lookup
Search 116,086 UN/LOCODE transport locations — ports, airports, rail and road terminals, inland container depots and border crossings (5 characters: country + location, e.g. NLRTM = Rotterdam; "GB LHR" reads as GBLHR). code gives an exact record; query searches names, narrowed by country and function_type; an unknown code errors. For airport records with ICAO codes use airport_lookup; for airports near a coordinate nearest_airport. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. An administrative code list — confirm operational status and coordinates with t…
| Parameter | Type | Description |
|---|---|---|
code | string | Exact UN/LOCODE, 5 characters, optionally spaced ("GB LHR"). |
codes | array | Batch: up to 50 UN/LOCODEs. Send alone. |
country | string | 2-letter ISO country filter. |
function_type | string | Filter by location function. |
limit | integer | Maximum results. Default: 20, max: 100. |
query | string | Location name search. |
uk_duty_calculator
Estimate UK import duty and VAT for a commodity code from the LIVE GOV.UK Trade Tariff: CIF = customs_value + freight_cost + insurance_cost (GBP); duty = CIF x the rate for the origin country; VAT on the duty-inclusive value. commodity_code must be the declarable 10 digits: a 6- or 8-digit code is refused — never padded with zeros — with the declarable codes beneath it. To find the code first use hs_code_lookup; for who pays these costs incoterms_lookup. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. An estimate, not a customs ruling — confirm with a cus…
| Parameter | Type | Description |
|---|---|---|
commodity_code | string | Required unless lines[] is sent. The declarable 10-digit UK commodity code, e.g. "8471300000". |
customs_value | number | Goods value, GBP. Required unless lines[] is sent. |
freight_cost | number | Freight cost in GBP, 0 or more — added to the CIF value. Default: 0. |
incoterm | string | Incoterms 2020 basis of the customs_value — documents which costs are already included. |
insurance_cost | number | Insurance cost in GBP, 0 or more — added to the CIF value. Default: 0. |
lines | array | Batch: up to 10 lines, each { commodity_code, origin_country, customs_value, freight_cost?, insurance_cost?, incoterm? }. Send alone. |
origin_country | string | Required unless lines[] is sent. ISO 2-letter country of origin. |
shipment_summary
Composite shipment analysis in one call: volume (CBM), gross and chargeable weight, and by mode road LDM with pallet floor positions and a suggested vehicle, air volumetric weight, or sea revenue tonnes with a suggested container; plus dangerous-goods presence for items with un_number and UK duty estimates for items with hs_code + customs_value. weight and customs_value are PER ITEM; adr_quantity is the TOTAL for the dangerous-goods line, all pieces together. An item with no stackable flag is not stacked. Sections that cannot run surface in warnings instead of failing the call. Its result uses…
| Parameter | Type | Description |
|---|---|---|
as_of | string | The date the answer is for, YYYY-MM-DD (default today, UTC). |
consignment | object | The consignment object, instead of the other arguments. Send it alone. |
destination | object | Destination — ISO country code and optional UN/LOCODE. |
edition | string | ADR edition; wins over as_of. Omitted: as_of picks it. |
freight_cost | number | Freight cost in GBP for the duty calculation, 0 or more. Default: 0. |
incoterm | string | Incoterms 2020 three-letter code. |
insurance_cost | number | Insurance cost in GBP for the duty calculation, 0 or more. Default: 0. |
items | array | Required unless consignment is sent. Shipment items with dimensions, weight and optional HS/UN codes. |
mode | string | Transport mode — selects the mode-specific section of the result. Required unless consignment is sent. |
origin | object | Origin — ISO country code and optional UN/LOCODE. |
uld_lookup
Air-cargo ULD (unit load device) specifications — 16 types: lower-deck containers (AKE/LD3 and family), main-deck pallets (PMC, PAG and family) and temperature-controlled units. type as an IATA code ("AKE"), slug ("ake-ld3") or the record's own name ("LD3" → AKE) gives one record; omit it to list all 16; category and deck filter. Pallet records have no internal dimensions — read max_build_up_height_cm, and do not multiply dimensions for a volume. For the sea-freight equivalent use container_lookup; for what the cargo inside is billed at chargeable_weight_calculator; for whose aircraft it…
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by ULD category. |
deck | string | Filter by deck position. |
full | boolean | Lists only: true returns full records instead of summary rows. |
limit | integer | Lists only: rows per page. |
offset | integer | Lists only: rows to skip (default 0). |
type | string | IATA ULD code ("AKE") or slug. Omit to list all. |
vehicle_lookup
Road-freight vehicle and trailer specifications — 17 types: EU articulated trailers, US 53ft/48ft dry vans, rigid trucks (7.5-26 t) and vans; internal dimensions, payload and gross weights, pallet capacity, axles. slug gives one record; omit it to list all 17; category (articulated | rigid | van) and region (EU | US) filter. For whether a pallet load fits use ldm_calculator; also pallet_fitting_calculator and consignment_calculator. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Typical specs, provenance pending — legal payload is set by the vehicle's plat…
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by vehicle category. |
full | boolean | Lists only: true returns full records instead of summary rows. |
limit | integer | Lists only: rows per page. |
offset | integer | Lists only: rows to skip (default 0). |
region | string | Filter by region. |
slug | string | Vehicle slug ("standard-curtainsider"). Omit to list all. |
emissions_calculator
Estimate freight transport greenhouse-gas emissions (kgCO2e) for one shipment leg, per ISO 14083:2023 / GLEC Framework v3.2: mass x distance x a published emission-intensity factor (DEFRA, EPA or ADEME by region). Pass ACTUAL GROSS MASS, not chargeable/volumetric weight, and a distance you provide — this tool does NOT route, geocode or compute distances. The fleet-average factor already includes average empty running: do not add an empty-return leg. An unknown mode/sub_mode/region returns available:false with the covered options. Distinct from cbm_calculator / ldm_calculator / chargeable_wei…
| Parameter | Type | Description |
|---|---|---|
distance_km * | number | Transport distance, km (you provide it). |
mass * | number | Actual gross shipment mass, in mass_unit. |
mode * | string | Transport mode. |
basis | string | wtw = well-to-wheel (default), ttw = tank-to-wheel. |
mass_unit | string | Unit for mass. Default: kg. |
region | string | Factor source: uk = DEFRA, us = EPA, fr = ADEME. Default per mode. |
sub_mode | string | Sub-mode / vehicle class (e.g. "articulated"); omit for the representative default. |
validate
Validate freight identifiers by their public check-digit algorithms: shipping container numbers (ISO 6346), air waybill numbers (IATA modulus-7) and IMO ship numbers. text finds and validates every identifier in a string; value + type validates one (value without type is refused); type "consignment" with consignment validates a consignment object. An AWB names its airline only when one record holds the prefix; otherwise airline_candidates[] lists every holder, never a guessed carrier. AWB: airline prefix + the airline from the AWB-prefix dataset when ONE record holds the prefix — when severa…
| Parameter | Type | Description |
|---|---|---|
consignment | object | With type "consignment": the consignment object to validate. |
text | string | Free text to scan for container / AWB / IMO identifiers. Provide this OR value + type. |
type | string | Type of value: container (ISO 6346), awb, imo; or consignment with the consignment argument. |
value | string | One identifier to validate; requires type. |
ics2_check
Check a goods description against the official EU ICS2 stop-words list — terms too vague or generic for an entry summary declaration (ENS) goods description. A standalone stop-word means automatic rejection, an embedded one means make the description more specific; clean=true means no listed term matched, not that it will be accepted. The Commission's whitelist of accepted goods descriptions (ICS2 Common Repository, from 17 November 2026) is applied first: a whole description that is a whitelist entry is not flagged, even when it contains a stop-word, and the answer carries whitelist_match n…
| Parameter | Type | Description |
|---|---|---|
description * | string | The goods description to check. |
airport_lookup
Look up an airport by IATA code ("LHR"), ICAO code ("EGLL") or free-text name/city search (OurAirports, public domain). Covers 86,281 airports worldwide (OurAirports, public domain, cross-checked vs OpenFlights + Wikidata). Provide ONE of iata, icao or query; ambiguous name searches return ranked candidates; an unknown code errors. For airports near a coordinate use nearest_airport; for carriers and AWB prefixes airline_lookup; for general transport locations unlocode_lookup. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. Reference data only — not for naviga…
| Parameter | Type | Description |
|---|---|---|
codes | array | Batch: up to 50 airport codes (IATA or ICAO). Send alone. |
iata | string | Exact 3-letter IATA code. |
icao | string | Exact 4-character ICAO code / ident. |
query | string | Name or city search. |
type | string | Optional filter by airport type. |
nearest_airport
The airports nearest a latitude/longitude you provide, sorted by great-circle distance (distance_km on each). Searches 86,281 airports (OurAirports, public domain). By default only airports with scheduled airline service and an IATA code are ranked — never a heliport or a closed field; include_all: true ranks every type except closed fields. Does NOT geocode place names — pass coordinates you already hold; nothing is stored. For an exact code or name lookup use airport_lookup; for named transport locations unlocode_lookup. Rate-limited: a limit error carries reset_at, the UTC time the allo…
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude, decimal degrees. |
longitude * | number | Longitude, decimal degrees. |
include_all | boolean | true: every airport type except closed fields. Default false (scheduled service with an IATA code). |
max_results | integer | Maximum results (1-50). Default: 10. |
radius_km | number | Maximum distance in kilometres — omit for no radius cap. |
type | string | Optional filter by airport type. Example: "large_airport". |
resolve_reference
Resolve an arbitrary freight identifier — one opaque string in, typed and cited candidates out. Use when you hold one identifier-ish token ("176", "UN1845", "NLRTM", "FOB", "22G1", "MSKU1100810", "D/E", "TU9") and do not know what kind of identifier it is: each candidate names its entity type and carries the api_url and canonical_url of its full record. q is ONE identifier (max 32 chars), or an fu: identifier (fu_id or fu_version_id, up to 200 chars), which resolves to exactly its one record or to none. Colliding grammars return several ranked candidates, never a silent guess; zero candidate…
| Parameter | Type | Description |
|---|---|---|
q * | string | One freight identifier, or an fu: identifier from an answer (e.g. "fu:adr:un:1203:II:F1@2025"). |
adr_consignment_check
One call on the consignment object for the ADR picture of a road load: the 1.1.3.6 small-load verdict, the limited / excepted quantity check of each line, the tunnel restriction code of the whole load against the tunnels on the route, each line's transport-document entry, mixed loading (7.5.2, with the foodstuffs precautions of 7.5.4), and the vehicle side — orange-coloured plates and placards (5.3), the documents, fire extinguishers and equipment on the transport unit (8.1), and driver training (8.2); and the UN packaging mark of each line (6.1.3.1). The rules are page-cited to the free UNE…
| Parameter | Type | Description |
|---|---|---|
lines * | array | The lines of the load (1–50). Required. |
as_of | string | The date the answer is for, YYYY-MM-DD (default today, UTC). |
crew | object | The crew, for the driver-training and document checks. Facts only — no name. |
edition | string | ADR edition; wins over as_of. Omitted: as_of picks it. |
journey | object | |
options | object | The consignment object's options; not read by this check. |
vehicle | object | The vehicle-side inputs (ADR 5.3, 7.5.4, 8.1). |
eu_tariff_lookup EU Tariff Lookup (TARIC)
Look up an EU tariff code: give a CN (8-digit) or TARIC (10-digit) code and as_of (YYYY-MM-DD, mandatory), optionally origin (ISO country or TARIC country-group code) and direction (import, default, or export). It returns whether the code exists and is declarable on that date (with the declarable codes below it when it is not), and every measure that applies by TARIC's cascade from its parent lines: measure type and name, the duty as published and parsed, origin or destination with its name, exclusions, additional codes (codes only), quota order numbers, legal base, start and end. For the duty…
| Parameter | Type | Description |
|---|---|---|
as_of | string | Date the measures are read for, YYYY-MM-DD. Required; must be the reference date of the TARIC extraction the answers come from (a refusal names it). |
code | string | CN code (8 digits) or TARIC code (10 digits); spaces and dots allowed. Required. |
direction | string | Optional: import (default) or export. |
origin | string | Optional: ISO 3166 country code (e.g. CN) or a 4-digit TARIC country-group code (e.g. 1011). Without it every measure on the code is listed. |
eu_duty_calculator EU Duty Calculator (TARIC)
Compute EU import duty from TARIC for a declarable 10-digit code, as_of (YYYY-MM-DD, mandatory), origin (ISO country) and customs_value in EUR, with quantities by TARIC unit code (e.g. {"DTN": 12.5}) where a specific duty needs them. Every measure on the code for that origin gets a state: computed, insufficient_data (condition, quota balance, additional code, Meursing, entry price, MIN / MAX, or a quantity named in missing_inputs) or not_applicable. Third-country duty first; each other rate is its own line saying what it requires; no total. Trade-defence duties are listed, never computed. For…
| Parameter | Type | Description |
|---|---|---|
as_of | string | Date the duty is computed for, YYYY-MM-DD. Required; must be the reference date of the TARIC extraction (a refusal names it). |
code | string | Declarable TARIC code, 10 digits (an 8-digit CN code is read as its 10-digit form). Required. |
currency | string | EUR (the default and the only one accepted: no currency is converted). |
customs_value | number | string | Customs value in EUR, a positive number. Required. |
origin | string | Country of origin, ISO 3166 alpha-2 (e.g. CN, US, TR). Required. |
quantities | object | Quantities by TARIC unit code for specific or compound duties, e.g. {"DTN": 12.5} (12.5 × 100 kg), {"HLT": 4}, {"NAR": 100}, {"DTN/E": 3}. A specific duty without its quantity is listed as insufficie… |
code_list_lookup Code List Lookup
Look up a code in a published code list. list (required) is one of: cds-procedure-codes-imports and cds-procedure-codes-exports (HMRC CDS requested and previous procedure codes, DE 1/10, e.g. 4000, 1040); cds-additional-procedure-codes-imports and cds-additional-procedure-codes-exports (HMRC CDS additional procedure codes, DE 1/11, e.g. C07, 1RV). With code it returns the code's name as published, the heading it is listed under, its status and the list's edition; with q it searches that one list (exact code, code prefix, then name); with neither, the list itself, paged. Use it to read what a U…
| Parameter | Type | Description |
|---|---|---|
code | string | One code, as published (e.g. 4000, C07). Leave out to search or to list. |
full | boolean | Full rows (heading and edition on each) instead of summary rows, five per page by default. |
include_deprecated | boolean | Also list and search codes the publisher marks as no longer to be used (a direct lookup always returns them, with the status). No list served today marks one. |
limit | integer | Page size: summary rows 1-200 (default 50), full rows 1-25 (default 5). |
list | string | The code list, e.g. cds-procedure-codes-imports (the lists are named in the description). Required: a lookup or a search runs within one list. |
offset | integer | Page start for a list or a search (default 0). |
q | string | Search within the list: exact code first, then codes starting with q, then names containing it. |