# OSF Open Source Filings — Consumer Protection Search

> OSF Open Source Filings — Consumer Protection 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-14).

Search US consumer protection data by keyword across CFPB financial complaints, NHTSA vehicle recalls, and related government datasets, returning matched records with provenance metadata

## Facts

- Endpoint: GET https://api.osf-master-server.com/x402/consumer/protection/%7Bquery%7D
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/osf-open-source-filings-consumer-protection-search-ed6f2d91
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8KbN3-JNDy-R8J7M5ahJf

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-consumer-protection-search-ed6f2d91
```

Example prompt: Search OSF's consumer protection database for 'airbag recall' and show me any matching CFPB or NHTSA government records with their source and record IDs.

## When to prefer this

Choose this endpoint when you need to search US government consumer protection records — specifically CFPB financial complaints or NHTSA vehicle recalls — by keyword, product, or company name. Prefer this over generic web search when you need provenance-stamped, verifiable public domain records from authoritative federal sources. This is the right choice when an agent needs structured government record metadata before deciding whether to purchase full records.

## Known failure modes

- No matches found for obscure or misspelled keywords — returns empty match array
- Query string missing or malformed path parameter returns 400-level error
- Payment not processed or insufficient USDC balance results in 402 Payment Required
- Rate limiting or server errors return 5xx responses
- Very broad single-word queries may return large match counts with limited utility

## 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

Returns a JSON object with a result status (e.g. MATCHES_FOUND), an array of matching records each containing a title, source agency (e.g. CFPB, NHTSA), and a record ID, plus a total match count. Full record details with provenance URLs are available via a separate paid record-retrieval endpoint.

## 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): product, company, or issue. E.g. 'airbag recall' or 'mortgage complaint'."
      }
     }
    },
    "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": "Incorrect information on your report",
    "source": "CFPB",
    "record_id": 12345
   }
  ],
  "match_count": 1
 }
}
```

## More

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