# Invoket Chemical Substance Batch Classification

> Invoket Chemical Substance Batch Classification is a paid API for AI agents from api.invoket.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Batch-classifies chemical substances by CAS number, EC number, or name against regulatory/hazard labels as of a specified date, returning provenance-backed results for each item.

## Facts

- Endpoint: POST https://api.invoket.com/label/chem/classify/batch
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/invoket-chemical-substance-batch-classification-7fe0f128
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jP-VYYWDQuGtHCJw2QBDC

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 invoket-chemical-substance-batch-classification-7fe0f128 -d '<json body>'
```

Example prompt: Can you screen these 15 chemicals by their CAS numbers — 67-64-1, 7732-18-5, 71-43-2, and 12 others from our BOM — and tell me their regulatory classification labels as of 2024-06-01?

## When to prefer this

Choose this endpoint when you need to classify multiple chemical substances in a single API call, especially when working with bills of materials or supplier lists. It is ideal when you need point-in-time regulatory classification (specifying a date) with official provenance. Prefer it over single-item lookups when screening more than one substance to reduce cost and round-trips. Best suited for compliance workflows, pre-procurement checks, and EHS screening pipelines.

## Known failure modes

- Batch exceeds 200 items → 400 error
- Empty batch submitted → 400 error
- Malformed CAS or EC checksum → INVALID_INPUT at that position, rest of batch continues
- Unknown substance identifier → no match result for that item
- Invalid date format for 'at' field → validation error
- Multiple keys provided per item (e.g. both cas and name) → validation error

## How this service works

The checks your agent runs before it acts: verify a bank account, a phone number, a law in force, the weather or a vehicle — computed from official sources, with provenance in every response. You only pay for answers.

## Output

An object containing per-item classification results for each substance submitted, including regulatory/hazard label, provenance information sourced from official databases, and any per-item INVALID_INPUT errors for malformed identifiers — without failing the rest of the batch.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "at",
  "items"
 ],
 "properties": {
  "at": {
   "type": "string",
   "description": "Optional date (YYYY-MM-DD, default today) the whole batch is evaluated at - a BOM is assessed at a single date"
  },
  "items": {
   "type": "array",
   "description": "Array of substance keys screened in one settlement. Its length is priced per unit (base + N x unit), capped at 200; an empty or oversized batch = 400. Each item takes exactly ONE key among cas, ec, name (checksum-validated for cas/ec); a malformed item yields an INVALID_INPUT error at its position without failing the batch"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/invoket-chemical-substance-batch-classification-7fe0f128/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.invoket.com](https://www.zero.xyz/host/api.invoket.com/llms.txt)
