# Chemical Safety Profile by CAS Number or Name

> Chemical Safety Profile by CAS Number or Name is a paid API for AI agents from toolsmith-api.dassad10.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Returns a full chemical safety profile (GHS hazard, first-aid, fire-fighting, transport, PPE, CAMEO reactivity) for any chemical identified by CAS number or name, sourced from PubChem.

## Facts

- Endpoint: GET https://toolsmith-api.dassad10.workers.dev/t/chem/safety
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chemical-safety-profile-by-cas-number-or-name-8ab5bac2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eXz-aQ8ktGQ7apo_sufrL

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 chemical-safety-profile-by-cas-number-or-name-8ab5bac2
```

Example prompt: Can you pull the full safety profile for sodium hypochlorite (CAS 7681-52-9) — I need the GHS hazard classification, first-aid measures for skin and eye exposure, fire-fighting guidance, UN transport number, and required PPE.

## When to prefer this

Use this endpoint when you need authoritative, structured chemical safety data (GHS, first-aid, PPE, transport, reactivity) from the NIH PubChem database without managing an API key. Prefer this over scraping SDS sheets manually or querying PubChem directly, especially when you need a single normalized JSON response covering all safety dimensions in one call. Ideal for compliance tooling, lab safety agents, logistics apps handling hazardous goods, or any workflow that needs machine-readable hazard data on demand.

## Known failure modes

- Chemical not found in PubChem — returns empty or error if CAS/name is unrecognized or misspelled
- Neither 'cas' nor 'name' query param provided — likely returns a validation error
- PubChem upstream unavailable — live data fetch may fail with a 5xx or timeout
- Payment not provided or insufficient USDC — x402 payment required before data is returned
- Ambiguous chemical name matching multiple compounds — may return data for an unexpected compound

## How this service works

Full safety profile for any chemical by CAS number or name: GHS hazard classification (signal word, pictograms, H-statements, P-codes), first-aid measures for inhalation/skin/eye/ingestion, fire-fighting guidance, UN transport number, PPE, and CAMEO reactivity profile. Sourced live from PubChem (NIH) authoritative annotations. JSON response. $0.03 USDC per call, pay via x402, no API key.

## Output

A JSON object containing the chemical's GHS signal word, pictogram codes, H-statements, P-codes, inhalation/skin/eye/ingestion first-aid instructions, fire-fighting guidance, UN transport number, required PPE, and CAMEO chemical reactivity profile data — all sourced live from PubChem NIH annotations.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "cas": {
       "type": "string",
       "description": "CAS registry number, e.g. 7681-52-9"
      },
      "name": {
       "type": "string",
       "description": "Chemical name, alternative to cas"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cid": 23665760,
  "ghs": {
   "pictograms": [
    "Corrosive"
   ],
   "signalWord": "Danger",
   "hazardStatements": [
    "H314: Causes severe skin burns and eye damage"
   ]
  },
  "name": "Sodium Hypochlorite",
  "firstAid": {
   "skin": "Rinse with plenty of water..."
  },
  "transport": {
   "unNumber": "1791"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chemical-safety-profile-by-cas-number-or-name-8ab5bac2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toolsmith-api.dassad10.workers.dev](https://www.zero.xyz/host/toolsmith-api.dassad10.workers.dev/llms.txt)
