← All 30 APIs · Home · Swagger / OpenAPI · x402 Manifest
$0.005 USDC / callFinance/DataBase & Polygon x402 v2

GPU-x402 Global Stock, ETF, Index & Forex Quote

Sub-second live stock/ETF/index/forex price, 1d/5d/period return, 52-week range, volume, SMA-20 & OHLCV history ($0.005 USDC).

Endpoint & Settlement Specs

x402 Endpoint: POST https://agentx402.fyi/x402/finance/stock-quote
Remote MCP: POST https://agentx402.fyi/mcp (Streamable HTTP JSON-RPC 2.0)
PayTo Wallet (USDC): 0x71256BBb403B88A347E67b7ADad89ed28b4e16d6 (Gasless via Coinbase CDP Facilitator)

Quickstart (cURL — Returns x402 v2 Invoice + Bazaar Schema)

curl -i -X POST https://agentx402.fyi/x402/finance/stock-quote \
  -H 'Content-Type: application/json' \
  -d '{"symbol": "NVDA", "range": "1mo", "include_history": false}'

TypeScript Autonomous Agent (@x402/fetch)

import { wrapFetchWithPayment } from "@x402/fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const res = await fetchWithPay("https://agentx402.fyi/x402/finance/stock-quote", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"symbol": "NVDA", "range": "1mo", "include_history": false})
});
console.log(await res.json());

Example JSON Input

{
  "symbol": "NVDA",
  "range": "1mo",
  "include_history": false
}

Example JSON Output

{
  "symbol": "NVDA",
  "currency": "USD",
  "exchange": "NasdaqGS",
  "price": 138.45,
  "change_1d_pct": 2.14,
  "return_30d_pct": 8.62,
  "fifty_two_week_high": 152.89,
  "fifty_two_week_low": 75.61,
  "sma_20": 134.12
}