# Toolsmith Chemical Compatibility Checker

> Toolsmith Chemical Compatibility Checker 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).

Checks whether two chemicals are safe to mix by returning a compatibility verdict, reason, confidence score, and expected effects

## Facts

- Endpoint: GET https://toolsmith-api.dassad10.workers.dev/t/chem/compatibility
- 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/toolsmith-chemical-compatibility-checker-4a04605a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tf56bvhap0JccW0hic03j

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 toolsmith-chemical-compatibility-checker-4a04605a
```

Example prompt: Are sodium hypochlorite and ammonia safe to mix? Give me the compatibility verdict and explain what could happen if they're combined.

## When to prefer this

Choose this endpoint when you need a quick, automated chemical compatibility check without setting up accounts or API keys — ideal for AI agents performing safety screening, lab workflows, industrial process validation, or compliance checks. Prefer this over general chemical databases when you need a binary verdict plus confidence score in a single call, paid per-use with USDC on Base.

## Known failure modes

- Unrecognized chemical name or CAS number returns an error or low-confidence result
- Ambiguous chemical name with multiple matches may reduce accuracy
- Very obscure or novel chemicals may lack training data, yielding low confidence
- Missing required query parameters a or b returns a 400-level error
- Network or worker timeout on the Cloudflare edge returns a 5xx error

## How this service works

Can chemical A be safely mixed or stored with chemical B? Pass two CAS numbers or names. Returns a verdict (incompatible / caution / no_known_hazard), the reason, expected effects (gas evolution, heat, fire, toxic fumes) and confidence, from expert reasoning over PubChem GHS data and CAMEO-derived reactivity profiles. JSON response. $0.03 USDC per call, pay via x402, no API key.

## Output

Returns a JSON object with the resolved names of both chemicals, a verdict ('compatible' or 'incompatible'), a plain-language reason explaining the interaction, a confidence score between 0 and 1, and a list of expected effects such as 'toxic fumes' or 'exothermic reaction'.

## 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",
     "required": [
      "a",
      "b"
     ],
     "properties": {
      "a": {
       "type": "string",
       "description": "First chemical: CAS number or name"
      },
      "b": {
       "type": "string",
       "description": "Second chemical: CAS number or name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "a": {
   "name": "Sodium Hypochlorite"
  },
  "b": {
   "name": "Ammonia"
  },
  "reason": "Forms toxic chloramine gases",
  "verdict": "incompatible",
  "confidence": 0.95,
  "expectedEffects": [
   "toxic fumes"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toolsmith-chemical-compatibility-checker-4a04605a/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)
