# OSF Open Source Filings — Environment Data Search

> OSF Open Source Filings — Environment Data 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 provenance-stamped public environmental and scientific government data (USGS streamflow, wildfire declarations, etc.) by keyword, returning verified record matches with source attribution

## Facts

- Endpoint: GET https://api.osf-master-server.com/x402/environment/data/%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-environment-data-search-2fe6b8b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_--96XfR15ri_Hf__-a5Cc

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-environment-data-search-2fe6b8b2
```

Example prompt: Search OSF for verified government records about Colorado River flow — I need provenance-stamped USGS streamflow data I can cite.

## When to prefer this

Use this endpoint when you need verifiable, provenance-stamped environmental or scientific government data (USGS, wildfire, hazard, species) and require a citable source URL. Prefer this over generic web search when auditability and official sourcing matter. Choose the companion purchase endpoint after finding a record ID to retrieve the full record.

## Known failure modes

- No matches found for the query keyword — result returns empty matches array
- Vague or misspelled query terms return zero or low-relevance results
- Payment failure via x402 micropayment prevents record retrieval
- Rate limiting or quota exhaustion returns 402 or 429 errors
- Query for non-environmental domains (e.g. financial data) returns no matches on this endpoint

## 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 containing a result status (e.g. MATCHES_FOUND), an array of matched records each with a title, source agency (e.g. USGS_WATER), and record ID, plus a total match count. Records include provenance URLs back to the originating government or scientific source.

## 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): location, station, species, or hazard. E.g. 'Colorado river flow' or 'wildfire declaration'."
      }
     }
    },
    "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": "Streamflow gage 09380000",
    "source": "USGS_WATER",
    "record_id": 12345
   }
  ],
  "match_count": 1
 }
}
```

## More

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