# ScriptMasterLabs Federal Grants Search API

> ScriptMasterLabs Federal Grants Search API is a paid API for AI agents from mcp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Searches federal grant and assistance program listings by keyword or CFDA/assistance-listing number via pay-per-call x402 micropayment

## Facts

- Endpoint: GET https://mcp-x402-discovery.onrender.com/x402/grants
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-federal-grants-search-api-b52b921a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PDkF3-Ou6TYiY10EKs2aP

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 scriptmasterlabs-federal-grants-search-api-b52b921a
```

Example prompt: Search the federal grants database for assistance programs related to 'affordable housing' and return up to 20 results — I want the CFDA listing numbers and program names.

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to federal grant and assistance program data searchable by keyword or CFDA number, especially in crypto-native or x402 micropayment workflows. Prefer over manual Grants.gov searches when automating grant discovery pipelines or compliance lookups in agent-driven applications.

## Known failure modes

- 402 Payment Required if x402 payment or valid API key not provided
- Missing required 'keyword' query parameter returns validation error
- No results found for obscure or misspelled keywords
- Service unavailable if Render.com hosting is down
- Rate limits or payment verification failures on high-frequency calls

## 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 a list of federal grant and assistance program entries matching the keyword or CFDA number query, including program names, listing numbers, and funding details, up to the requested row count (max 50).

## 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/scriptmasterlabs-federal-grants-search-api-b52b921a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402-discovery.onrender.com](https://www.zero.xyz/host/mcp-x402-discovery.onrender.com/llms.txt)
