# OSF Open Source Filings — AI/ML Model Search

> OSF Open Source Filings — AI/ML Model 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 Hugging Face Hub AI/ML models by name, author, organization, task, library, or license and return provenance-stamped matching records

## Facts

- Endpoint: GET https://api.osf-master-server.com/x402/models/search/%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-ai-ml-model-search-ad4328c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_omAwqPvxszBChXg6c0RH3

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-ai-ml-model-search-ad4328c3
```

Example prompt: Can you search OSF for AI models related to 'image segmentation' on Hugging Face — I want to see what NVIDIA has published and how popular they are?

## When to prefer this

Choose this endpoint when you need to discover and compare AI/ML models indexed on Hugging Face Hub with provenance guarantees and structured metadata (author, task, downloads). Prefer it over direct Hugging Face API calls when you need verifiable, stamped records for audit trails or when operating in an agent pipeline that pays per record via x402 micropayments on Base.

## Known failure modes

- No matches found for the query keyword — result may be empty or return zero match_count
- Vague or misspelled query terms returning irrelevant models
- Payment failure over x402 micropayment channel blocking the request
- Query string URL encoding issues with special characters
- Rate limiting or server unavailability returning 402 or 5xx errors

## 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 ('MATCHES_FOUND' or similar), a list of matching model records each containing the model title, author, task type, source (e.g. HUGGINGFACE), download count, and a record ID, plus a total match count. Records are provenance-stamped and sourced from the Hugging Face Hub.

## 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): model name, author or org, task, library, or license. E.g. 'image segmentation' or 'nvidia'."
      }
     }
    },
    "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": [
   {
    "task": "image-segmentation",
    "title": "nvidia/segformer-b5-finetuned-cityscapes-1024-1024",
    "author": "nvidia",
    "source": "HUGGINGFACE",
    "downloads": 128429,
    "record_id": 12345
   }
  ],
  "match_count": 1
 }
}
```

## More

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