← Back to marketplace

X402stock — US stock market data for AI agents

external

US stock prices, snapshots, OHLC bars, fundamentals, corporate actions, technical indicators and news for AI agents. No API keys. No accounts. Pay per request in USDC via x402.

by Vercel23 endpoints100% uptime398ms avg

Price

from $0.0100

up to $0.0300 per request

Network

base

Category

ai

On-chain txns

124

Uptime

100%

Avg latency

398ms

Checks

88

Status

Healthy

Base URL

https://x402stock.vercel.app

Endpoints (23)

Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.

GET/api/v1/aggregates/%7Bticker%7D
base$0.0200
GET/api/v1/conditions
base$0.0100
GET/api/v1/dividends/%7Bticker%7D
base$0.0200
GET/api/v1/events/%7Bticker%7D
base$0.0100
GET/api/v1/exchanges
base$0.0100
GET/api/v1/financials/%7Bticker%7D
base$0.0300
GET/api/v1/gainers
base$0.0200
GET/api/v1/grouped-daily
base$0.0300
GET/api/v1/indicators/ema/%7Bticker%7D
base$0.0200
GET/api/v1/indicators/macd/%7Bticker%7D
base$0.0200
GET/api/v1/indicators/rsi/%7Bticker%7D
base$0.0200
GET/api/v1/indicators/sma/%7Bticker%7D
base$0.0200
GET/api/v1/losers
base$0.0200
GET/api/v1/news
base$0.0200
GET/api/v1/open-close/%7Bticker%7D
base$0.0100
GET/api/v1/prev-close/%7Bticker%7D
base$0.0100
GET/api/v1/quote/%7Bticker%7D
base$0.0100
GET/api/v1/related/%7Bticker%7D
base$0.0100
GET/api/v1/snapshot/%7Bticker%7D
base$0.0100
GET/api/v1/splits/%7Bticker%7D
base$0.0200
GET/api/v1/ticker-types
base$0.0100
GET/api/v1/ticker/%7Bticker%7D
base$0.0100
GET/api/v1/tickers
base$0.0100

Payment

Protocolx402 (direct payment, USDC)
Networkbase

How to call

Via APIHub (recommended)No wallet · pay with credits · gasless
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call it
npx @apihubio/cli call https://x402stock.vercel.app \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://x402stock.vercel.app
APIHub pays the provider on your behalf and debits your credit balance for the exact amount. No wallet setup, no gas, no per-call signing.
Via direct x402 (advanced)Bring your own wallet
import { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);

const res = await x402Fetch("https://x402stock.vercel.app", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();
Requires USDC on Base and gas on each call. The @x402/fetch client signs EIP-3009 transferWithAuthorization for each 402 response and retries.

This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.