# Controlled Substances Compliance Digest

> Controlled Substances Compliance Digest is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Returns an LLM-generated brief summarizing recent DEA/FDA controlled substance scheduling changes and compliance deadlines within a configurable time window

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/reg-controlled-substances/brief
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/controlled-substances-compliance-digest-6eeaae3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JfpzyjtGfyIeBSiQQWnRj

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 controlled-substances-compliance-digest-6eeaae3b
```

Example prompt: Give me a quick compliance digest of controlled substance scheduling changes and deadlines from the past 30 days — just the ones that actually matter.

## When to prefer this

Choose this endpoint when you need a concise, human-readable summary of controlled substance scheduling changes rather than raw regulatory data. It is ideal for compliance officers, legal teams, or AI agents that need to surface actionable deadlines without parsing raw DEA/FDA filings. Prefer over raw data endpoints when the consumer needs narrative explanation, not structured records.

## Known failure modes

- Invalid 'since' date-time format returns a validation error
- No regulatory changes found in the specified window may return an empty or minimal brief
- LLM generation failure may fall back to template-based output (generatedBy: 'template')
- Payment of $0.25 USDC required via x402 protocol; unpaid requests return 402 Payment Required
- Very short time windows may yield insufficient data for a meaningful brief

## How this service works

LLM-written compliance digest of the controlled substances & scheduling rules in the window that actually matter (controlled substance, schedule, dea, quota, precursor) — issuing agency named, deadlines called out.

## Output

Returns a JSON object with a 'brief' field containing an LLM-written plain-language summary of the most important controlled substance scheduling changes and compliance deadlines in the requested window, along with a 'generatedBy' field ('llm' or 'template') and 'basedOnChanges' integer indicating how many underlying regulatory changes were analyzed.

## 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": {
      "since": {
       "type": "string",
       "format": "date-time",
       "description": "Window start (default: last 30 days)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "brief": {
       "type": "string"
      },
      "generatedBy": {
       "enum": [
        "llm",
        "template"
       ],
       "type": "string"
      },
      "basedOnChanges": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/controlled-substances-compliance-digest-6eeaae3b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracles-production.up.railway.app](https://www.zero.xyz/host/oracles-production.up.railway.app/llms.txt)
