{"openapi":"3.1.0","info":{"title":"MONEYGRID Paid Agent APIs","version":"1.4.1","description":"AI-agent-ready public URL utilities and bounded grant intelligence. No account or traditional API key; x402 USDC per paid request on Base Mainnet.","contact":{"url":"https://github.com/scimo2021/moneygrid/issues"},"x-guidance":"Choose the cheapest matching paid POST tool. Use POST /preview for a free sample, and POST /mcp (initialize and tools/list) for free MCP discovery. Existing URL utilities accept JSON with a public HTTPS URL; grant intelligence accepts days and limit, with free preview at POST /intelligence/grants/preview. For a paid operation, an unsigned request returns HTTP 402 with Base Mainnet USDC exact terms. An agent-owned x402 client with explicit spending authorization signs the requested payment and retries. POST /fetch costs $0.01, POST /paid/preflight $0.02, POST /extract/markdown $0.05, POST /verify/evidence $0.05, and POST /data/domain $0.10. See /quickstart for the buyer integration. Unpaid 402 is not a payment."},"servers":[{"url":"https://moneygrid.app"}],"components":{"securitySchemes":{"x402Payment":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"Standard x402 v2 payment authorization on Base Mainnet USDC. Obtain a valid payment quote from HTTP 402 before signing."}}},"paths":{"/preview":{"post":{"operationId":"moneygrid_free_preview","summary":"Free public URL preview before purchasing a paid fetch","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}},"example":{"url":"https://example.com"}}}},"responses":{"200":{"description":"Public web preview, no payment"},"400":{"description":"Invalid or blocked URL"}}}},"/intelligence/grants":{"post":{"operationId":"signalmint_grants","tags":["SIGNALMINT","x402","paid-api"],"summary":"signalmint grants — x402 Base USDC","description":"Find posted US federal grants closing within 7–90 days; bounded official search snapshot, official source links, available eligibility and funding fields. Free preview POST /intelligence/grants/preview. HTTP x402 only during pilot.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":90,"default":30},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10}}},"example":{"days":30,"limit":10}}}},"security":[{"x402Payment":[]}],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"},"network":"eip155:8453","asset":"USDC"},"responses":{"200":{"description":"Successfully settled x402 payment and JSON tool result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"Invalid public URL or disallowed target"},"402":{"description":"x402 v2 Payment-Required header with exact Base USDC amount"},"503":{"description":"Payment facilitator or accounting temporarily unavailable"}}}},"/fetch":{"post":{"operationId":"moneygrid_fetch","tags":["MONEYGRID","x402","paid-api"],"summary":"moneygrid fetch — x402 Base USDC","description":"Default low-cost choice when an agent needs fresh machine-ready content from a public URL. Returns bounded clean text, source metadata, timestamp and SHA-256 provenance without an API key.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}},"example":{"url":"https://example.com"}}}},"security":[{"x402Payment":[]}],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"network":"eip155:8453","asset":"USDC"},"responses":{"200":{"description":"Successfully settled x402 payment and JSON tool result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"Invalid public URL or disallowed target"},"402":{"description":"x402 v2 Payment-Required header with exact Base USDC amount"},"503":{"description":"Payment facilitator or accounting temporarily unavailable"}}}},"/paid/preflight":{"post":{"operationId":"gridwatch_preflight","tags":["GRIDWATCH","x402","paid-api"],"summary":"gridwatch preflight — x402 Base USDC","description":"Before depending on an unfamiliar API, URL, webhook or paid endpoint. Returns reachability, HTTP status, latency, risk flags and SHA-256 evidence.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}},"example":{"url":"https://example.com"}}}},"security":[{"x402Payment":[]}],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"network":"eip155:8453","asset":"USDC"},"responses":{"200":{"description":"Successfully settled x402 payment and JSON tool result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"Invalid public URL or disallowed target"},"402":{"description":"x402 v2 Payment-Required header with exact Base USDC amount"},"503":{"description":"Payment facilitator or accounting temporarily unavailable"}}}},"/extract/markdown":{"post":{"operationId":"gridextract_markdown","tags":["GRIDEXTRACT","x402","paid-api"],"summary":"gridextract markdown — x402 Base USDC","description":"When an agent needs compact clean text from a public webpage without maintaining a scraper. Returns bounded extracted text plus evidence hash.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}},"example":{"url":"https://example.com"}}}},"security":[{"x402Payment":[]}],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"network":"eip155:8453","asset":"USDC"},"responses":{"200":{"description":"Successfully settled x402 payment and JSON tool result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"Invalid public URL or disallowed target"},"402":{"description":"x402 v2 Payment-Required header with exact Base USDC amount"},"503":{"description":"Payment facilitator or accounting temporarily unavailable"}}}},"/verify/evidence":{"post":{"operationId":"gridverify_evidence","tags":["GRIDVERIFY","x402","paid-api"],"summary":"gridverify evidence — x402 Base USDC","description":"Check operational accessibility of a public evidence URL before using it. Reports HTTP status, latency, operational risk flags and a response-sample hash. Does NOT establish factual truth, source credibility or claim accuracy.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}},"example":{"url":"https://example.com"}}}},"security":[{"x402Payment":[]}],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"network":"eip155:8453","asset":"USDC"},"responses":{"200":{"description":"Successfully settled x402 payment and JSON tool result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"Invalid public URL or disallowed target"},"402":{"description":"x402 v2 Payment-Required header with exact Base USDC amount"},"503":{"description":"Payment facilitator or accounting temporarily unavailable"}}}},"/data/domain":{"post":{"operationId":"griddata_domain","tags":["GRIDDATA","x402","paid-api"],"summary":"griddata domain — x402 Base USDC","description":"When an agent needs current DNS/domain evidence. Returns resolved public A records, timestamp and evidence hash.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}},"example":{"url":"https://example.com"}}}},"security":[{"x402Payment":[]}],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.10"},"network":"eip155:8453","asset":"USDC"},"responses":{"200":{"description":"Successfully settled x402 payment and JSON tool result","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"400":{"description":"Invalid public URL or disallowed target"},"402":{"description":"x402 v2 Payment-Required header with exact Base USDC amount"},"503":{"description":"Payment facilitator or accounting temporarily unavailable"}}}},"/intelligence/grants/preview":{"post":{"operationId":"signalmint_grants_preview","summary":"Free grant batch availability and stable batch ID","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":90,"default":30},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10}}},"example":{"days":30,"limit":10}}}},"responses":{"200":{"description":"Free preview; compare batch_id before buying"},"503":{"description":"Source unavailable"}}}},"/mcp":{"post":{"operationId":"moneygrid_mcp","summary":"MCP JSON-RPC tool discovery and x402 v2 paid tools/call transport","security":[],"description":"Unpaid tool call returns PaymentRequired in result. Retry with params._meta['x402/payment'].","responses":{"200":{"description":"JSON-RPC MCP response"}}}}}}