X402 · Grants
Returns real, current grant opportunities. Pay 0.001 USDC on Base using the fresh PAYMENT-REQUIRED challenge and caller-authorized PAYMENT-SIGNATURE.
price
0.0010 USDC
rail
Base
facilitator
OMNIGATE
method
GET
endpoint https://mcp-x402.onrender.com/x402/grants
payTo 0x5bbd32e0478e49a7540ef2d760e0b0f9aa6328b2
asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
indexed 2026-10-25T20:10:49.000Z
Live 402 challenge
Hits the real endpoint without paying and shows exactly what it demands. Nothing is charged.
Pay from your agent
import { wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const signer = privateKeyToAccount(process.env.BUYER_PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, { schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(signer) }] });
const res = await pay("https://mcp-x402.onrender.com/x402/grants", { method: "GET" });
console.log(await res.json(), res.headers.get("PAYMENT-RESPONSE"));Example input
{
"keyword": "climate research",
"rows": 10
}Example output
{
"source": "grants.gov/search2",
"total": 52,
"results": [
{
"id": "363898",
"number": "O-BJA-2026-172760",
"title": "BJA FY 2026 National Center for Veterans Justice",
"agencyCode": "USDOJ-OJP-BJA",
"agency": "Bureau of Justice Assistance",
"openDate": "09/21/2026",
"closeDate": "10/30/2026",
"oppStatus": "posted",
"docType": "synopsis",
"cfdaList": [
"…"
]
},
{
"id": "363900",
"number": "O-BJA-2026-172714",
"title": "BJA FY 2026 Veterans Treatment Court Program",
"agencyCode": "USDOJ-OJP-BJA",
"agency": "Bureau of Justice Assistance",
"openDate": "09/21/2026",
"closeDate": "10/29/2026",
"oppStatus": "posted",
"docType": "synopsis",
"cfdaList": [
"…"
]
}
]
}