# OSF Public Record Purchase

> OSF Public Record Purchase 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).

Purchases and retrieves a single verified OSF public record with a provenance URL linking back to the authoritative U.S. government or scientific primary source.

## Facts

- Endpoint: GET https://api.osf-master-server.com/x402/buy/standard/:record_id
- 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-public-record-purchase-205c79df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jCYncryiw6tMd1W_Lf3Ld

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-public-record-purchase-205c79df
```

Example prompt: Can you purchase and retrieve OSF public record number 4821 in JSON format so I can see the full data along with its provenance link back to the original government or scientific source?

## When to prefer this

Use this endpoint when you need a single verified public record from OSF with a direct provenance link back to a U.S. government or authoritative scientific source, particularly when auditability and source verification matter. Best suited for per-record, pay-as-you-go access at $0.05 per lookup without requiring a subscription.

## Known failure modes

- Invalid or non-existent record_id returns a 404 or error status
- Payment failure or insufficient USDC balance prevents record retrieval
- Missing required 'format' query parameter causes a validation error
- Network timeout or server unavailability returns a 5xx error
- Malformed record_id path parameter returns a 400 bad request

## How this service works

Purchase one verified OSF record ($0.05 tier) - returns the full record with a provenance URL back to its authoritative U.S. government or scientific primary source. OSF spans security, sanctions/compliance, SEC filings, economic, legal/regulatory, procurement, research, geospatial, and AI/ML data.

## Output

Returns a JSON object containing the record status, the record ID (integer), the full record data object, and a provenance_url pointing to the authoritative U.S. government or scientific primary source from which the record originates.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "pathParams": {
   "record_id": "4821"
  },
  "queryParams": {
   "format": "json"
  }
 }
}
```

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "format"
     ],
     "properties": {
      "format": {
       "type": "string",
       "description": "Response format (json)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "record_id",
      "data",
      "provenance_url"
     ],
     "properties": {
      "data": {
       "type": "object"
      },
      "source": {
       "type": "string"
      },
      "status": {
       "type": "string"
      },
      "data_type": {
       "type": "string"
      },
      "record_id": {
       "type": "integer"
      },
      "provenance_url": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/osf-public-record-purchase-205c79df/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)
