# Script Master Labs — x402 Grants Search API

> Script Master Labs — x402 Grants Search 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).

Search U.S. federal grants data by keyword or CFDA number, paid per-call in USDC via x402

## Facts

- Endpoint: GET https://mcp-x402.onrender.com/x402/grants
- 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-grants-search-api-ab8e5399
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5WScQTXEXhSebIHbs39_G

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-grants-search-api-ab8e5399
```

Example prompt: Search U.S. federal grants for 'renewable energy' and return the top 10 results — I want to see grant names, CFDA numbers, and funding agencies.

## When to prefer this

Use this endpoint when you need to search U.S. federal grant opportunities by topic keyword or CFDA number and are willing to pay $0.02 USDC per call via x402 on Base. Prefer this over web scraping when you need structured federal grant data programmatically and want a simple pay-per-call model without API key management.

## Known failure modes

- Missing required 'keyword' parameter returns a 400 or validation error
- Payment not settled in USDC via x402 results in 402 Payment Required
- Invalid CFDA number format may return zero results
- No matching grants found for obscure or misspelled keywords returns empty result set
- Service unavailable on Render free-tier cold start may cause timeout

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

A list of U.S. federal grant records matching the keyword or CFDA number, including grant program names, CFDA identifiers, sponsoring agencies, and descriptions. The number of returned rows is configurable.

## 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": [
      "keyword"
     ],
     "properties": {
      "rows": {
       "type": "integer",
       "default": 10,
       "maximum": 50,
       "minimum": 1
      },
      "keyword": {
       "type": "string",
       "description": "Search keywords or CFDA/assistance-listing number."
      }
     }
    }
   }
  },
  "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-grants-search-api-ab8e5399/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)
