# Legal & Regulatory Data API (SEC EDGAR, FDA, PACER, USPTO)

> Legal & Regulatory Data API (SEC EDGAR, FDA, PACER, USPTO) is a paid API for AI agents from web-production-60258.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Retrieves live legal and regulatory data including SEC EDGAR filings, FDA regulatory actions, and (in development) federal court case filings, USPTO patents, court dockets, and compliance checks.

## Facts

- Endpoint: GET https://web-production-60258.up.railway.app/legal
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-production-60258-up-railway-app-37f9f023
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0E4ro-jfeCMJQaGW1VfuK

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 web-production-60258-up-railway-app-37f9f023
```

Example prompt: Pull up the SEC filings for Tesla — I want to see their most recent EDGAR submissions. Also check if there are any FDA regulatory actions against them.

## When to prefer this

Use this endpoint when you need on-demand access to SEC EDGAR filings or FDA regulatory actions for a named company or entity, or when you want a single API that will eventually unify federal court, patent, and compliance data. Prefer this over scraping EDGAR or FDA websites directly. Note that only sec_filings and regulatory_actions are currently live; other types are in development.

## Known failure modes

- Missing or invalid 'type' query parameter — returns error or empty result
- Query string doesn't match any known entity — returns empty results
- Requested data type (case_filings, patents, court_docket, compliance_check) is still in development and may return stub or placeholder data
- Rate limiting or payment failure for $0.01 USDC per call via x402 protocol
- Network timeout if upstream regulatory data sources are slow

## How this service works

Legal and regulatory data on demand — SEC EDGAR filings and FDA regulatory actions are live. Federal court case filings (PACER), USPTO patents, court dockets, and compliance checks are in development. Pass ?type= to specify: case_filings, patents, sec_filings, regulatory_actions, court_docket, compliance_check.

## Output

Returns structured legal and regulatory data records matching the query, such as SEC EDGAR filing summaries, FDA action details, or court case information, depending on the requested type.

## 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": {
      "type": {
       "enum": [
        "case_filings",
        "patents",
        "sec_filings",
        "regulatory_actions",
        "court_docket",
        "compliance_check"
       ],
       "type": "string",
       "description": "Data type to retrieve"
      },
      "query": {
       "type": "string",
       "description": "Case number, company name, patent number, or entity name (e.g. \"Acme Corp\", \"1:24-cv-01234\")"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-production-60258-up-railway-app-37f9f023/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web-production-60258.up.railway.app](https://www.zero.xyz/host/web-production-60258.up.railway.app/llms.txt)
