Dangerous Goods Classification
Look up dangerous-goods reference data by UN number or substance name. Returns hazard class, packing group and required labels where available.
Pay by wallet (x402)
dangerous-goods-classify Example
Input
{
"substance": "acid"
} Answer
{
"error": "No dangerous goods found matching \"test\". Try a UN number (e.g. 'UN1203') or substance name (e.g. 'Gasoline', 'Lithium', 'Acid').",
"query": "test",
"matches": [],
"total_matches": 0
} Inputs
| Field | Type | Required | What it is |
|---|---|---|---|
substance | string | Yes | Substance name or UN number (e.g. UN1203, Gasoline) |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
error | string | Sometimes (present only for some inputs) |
query | string | Always (present in every successful answer) |
matches | array | Always (present in every successful answer) |
total_matches | integer | Always (present in every successful answer) |
How to call it
The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.
# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
-H "Authorization: Bearer $STRALE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"capability_slug": "dangerous-goods-classify",
"inputs": {
"substance": "acid"
},
"max_price_cents": 2
}' {
"tool": "strale_execute",
"arguments": {
"slug": "dangerous-goods-classify",
"inputs": {
"substance": "acid"
},
"max_price_cents": 2
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "dangerous-goods-classify",
inputs: {
"substance": "acid"
},
max_price_cents: 2,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="dangerous-goods-classify",
inputs={
"substance": "acid",
},
max_price_cents=2,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/dangerous-goods-classify?substance=acid' Limitations
Classification requires certified confirmation
AI-based classification guidance — official dangerous goods classification requires certified testing and documentation
What to do instead: Use as a preliminary screen and confirm the UN number and packing group with your certified DG adviser
Related tools
- Address Geocoding €0.02
- Barcode Lookup €0.05
- Container Tracking €0.05
- Country Lookup €0.02
- Country Tax Rates €0.02
- Country Trade Data €0.20