# OSF US Regulations & Law Search

> OSF US Regulations & Law Search is a paid API for AI agents from api.osf-master-server.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Search US regulations and law by keyword across eCFR, Federal Register, Regulations.gov, CourtListener, GovInfo, and congressional legislation

## Facts

- Endpoint: GET https://api.osf-master-server.com/x402/regulations/law/:query
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/osf-us-regulations-law-search-02d86dbb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bey1pr_0G0yy5aKzEfRAj

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 osf-us-regulations-law-search-02d86dbb
```

Example prompt: Can you search US federal regulations and law for 'data privacy' and pull back any matching CFR sections, Federal Register notices, court opinions, or congressional bills along with their citations and source URLs?

## When to prefer this

Use this endpoint when an agent needs to search across multiple US government legal and regulatory sources simultaneously with a single keyword query. Ideal for legal research, compliance checks, policy analysis, or any task requiring citations from eCFR, Federal Register, court opinions, or congressional legislation. Prefer over manual scraping of individual government sites or single-source legal databases when breadth of coverage and provenance stamping are required.

## Known failure modes

- No results found for obscure or misspelled query keywords
- Rate limit or payment failure returns 402 error requiring USDC payment
- Very broad single-word queries may return noisy or irrelevant matches across multiple sources
- Citation-format queries may not match free-text indexed records
- Network timeout if multiple government data sources are slow to respond

## How this service works

Search US federal regulations and rulemaking: the electronic Code of Federal Regulations, the Federal Register, congressional legislation from Congress.gov, Regulations.gov dockets and public comments, and GovInfo publications. Returns title, citation, agency, dates, and a provenance URL per match. For regulatory compliance, policy monitoring, and rulemaking research.

## Output

Returns a list of matching records per source, each containing title, citation, agency or court name, relevant dates, and a provenance URL linking back to the authoritative government source. Results span eCFR, Federal Register, Regulations.gov dockets, CourtListener opinions, congressional legislation, and GovInfo publications.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "description": "Keyword(s): topic, agency, bill, or citation. E.g. 'emissions rule' or 'data privacy act'."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/osf-us-regulations-law-search-02d86dbb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.osf-master-server.com](https://www.zero.xyz/host/api.osf-master-server.com/llms.txt)
