# Dangerous Goods Classifier by UN Number or Substance Name

> Dangerous Goods Classifier by UN Number or Substance Name is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-14).

Classifies dangerous goods by UN number or substance name, returning hazard class, packing group, required labels, and marine pollutant status.

## Facts

- Endpoint: GET https://api.strale.io/x402/dangerous-goods-classify
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-334af763
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iM3ez7fd4Z3nq67IFj01x

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-strale-io-334af763
```

Example prompt: What's the hazard class, packing group, and required labels for Gasoline — and is it a marine pollutant?

## When to prefer this

Use this endpoint when you need to quickly classify a specific dangerous good by name or UN number for shipping, compliance, or labeling purposes. Ideal for logistics automation, hazmat documentation, or regulatory compliance workflows where you need structured hazard data including packing group and marine pollutant status.

## Known failure modes

- Substance not found in the 200+ substance database — returns error or empty result
- Invalid UN number format — malformed input may return validation error
- Ambiguous substance name with multiple matches — may return incorrect or no classification
- Network or API gateway error — returns HTTP 4xx/5xx
- Payment not processed — returns HTTP 402 if x402 payment fails

## How this service works

Classify dangerous goods by UN number or substance name. Returns hazard class, packing group, labels, marine pollutant status. 200+ substances.

## Output

Returns the hazard class (e.g. Class 3 Flammable Liquid), packing group (I/II/III), required danger labels, and whether the substance is a marine pollutant, based on the queried substance name or UN number.

## Example request

```json
{
 "substance": "Gasoline"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "substance"
     ],
     "properties": {
      "substance": {
       "type": "string",
       "description": "Substance name or UN number (e.g. UN1203, Gasoline)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-334af763/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
