# Script Master Labs x402 Web Fetch — U.S. Federal Data API

> Script Master Labs x402 Web Fetch — U.S. Federal Data API is a paid API for AI agents from mcp-x402.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Fetches a specified URL (primarily U.S. federal data sources) via a pay-per-call proxy settled in USDC on Base using the x402 payment protocol.

## Facts

- Endpoint: GET https://mcp-x402.onrender.com/x402/web-fetch
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/script-master-labs-x402-web-fetch-u-s-federal-data-api-892891ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zzsRcDpoVa61QKG2kXEwM

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 script-master-labs-x402-web-fetch-u-s-federal-data-api-892891ef
```

Example prompt: Can you fetch the U.S. federal data at https://api.data.gov/ed/collegescorecard/v1/schools.json?school.name=MIT using a GET request through the Script Master Labs x402 proxy?

## When to prefer this

Choose this endpoint when you need pay-per-call, micropayment-gated access to U.S. federal government data URLs without setting up your own HTTP client or API keys, especially when operating in a crypto-native or x402-enabled agent environment where USDC micropayments on Base are the preferred billing mechanism.

## Known failure modes

- Upstream federal URL is unavailable or returns an error (4xx/5xx from the target)
- Invalid or missing 'url' query parameter causes request failure
- Payment settlement failure on Base blockchain blocks the call
- Non-federal or disallowed URLs may be rejected by the proxy
- Rate limiting or access restrictions on the target federal API

## How this service works

Pay-per-call crypto, RWA, federal, SEC, Section 8/HUD housing, and compliance APIs via x402. Primary: USDC on Base (eip155:8453). Also accepts Global Dollar (USDG) on Robinhood Chain (eip155:4663) via sovereign X-PAYMENT-TX. Hyphen routes only (e.g. /x402/gas-tracker, /x402/pha-lookup, /x402/sec-8k). MARKETPLACE REVIEW: use free /x402/playground/* (no key, no payment). Production /x402/* returns 402 unless paid via x402 or X-Api-Market-Key / X-API-Key from seller dashboard.

## Output

Returns the raw HTTP response body from the requested URL — typically JSON or XML from U.S. federal data APIs — along with whatever status and content the upstream government endpoint provides. Each call costs $0.001 USDC settled on Base via x402.

## 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": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/script-master-labs-x402-web-fetch-u-s-federal-data-api-892891ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402.onrender.com](https://www.zero.xyz/host/mcp-x402.onrender.com/llms.txt)
