# OSF Open Source Filings — Law & Regulation Search

> OSF Open Source Filings — Law & Regulation 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-13).

Search US federal and state laws and regulations by keyword, returning provenance-stamped matching records from authoritative government sources

## Facts

- Endpoint: GET https://api.osf-master-server.com/x402/regulations/law/%7Bquery%7D
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/osf-open-source-filings-law-regulation-search-03876460
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aEj6a86DFnJzVTnxldO9l

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-open-source-filings-law-regulation-search-03876460
```

Example prompt: Search OSF's verified federal regulations database for rules about 'data privacy' — I need matching law and CFR entries with their source and record IDs.

## When to prefer this

Choose this endpoint when you need verifiable, provenance-stamped federal law and regulatory data from authoritative US government sources (eCFR, Federal Register, etc.) and require per-record traceability. Prefer it over web scraping or general search when compliance accuracy and source citation matter, or when operating in an autonomous agent context that can handle x402 micropayments on Base.

## Known failure modes

- No matches found for obscure or misspelled query terms
- Rate limiting or payment failure if x402 micropayment is not properly handled
- Query path parameter missing or malformed resulting in 400 error
- Source database temporarily unavailable causing incomplete results
- Overly broad queries may return too many records or truncated results

## How this service works

OSF is a live marketplace of provenance stamped public domain government and scientific data, built for autonomous agents that pay per record over x402 micropayments on Base. A paid MCP server in the official MCP Registry, discoverable on the Coinbase CDP Bazaar.

## Output

A JSON object with a result status (e.g. MATCHES_FOUND), a list of matching regulatory records each containing a title, source (e.g. ECFR), and record ID, plus a total match count. Each record is provenance-stamped and sourced from authoritative US government repositories.

## 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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "MATCHES_FOUND",
  "matches": [
   {
    "title": "40 CFR Part 60 Standards of Performance",
    "source": "ECFR",
    "record_id": 12345
   }
  ],
  "match_count": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/osf-open-source-filings-law-regulation-search-03876460/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)
