Get the current stock price for S&P Global (SPGI) via a pay-per-call x402 endpoint on Base.
What it does
This endpoint returns the current stock price for S&P Global Inc. (ticker: SPGI) as a JSON response, gated behind an x402 micropayment of $0.02 per request settled in USDC on the Base network. It is part of a broader suite of pay-per-use APIs offered by lowpaymentfee.com covering finance, AI/ML, data analytics, and utility services.
The endpoint uses the x402 protocol: callers receive a 402 Payment Required challenge containing payment details (payTo address, asset contract, max amount). Once the caller submits a valid X-PAYMENT header with a signed USDC transaction, the server processes the request and returns the stock price data. No API keys, accounts, or rate limits are required — access is purely payment-gated.
The specific endpoint path `/api/v1/stocks/SPGI/price` suggests a RESTful pattern where the ticker symbol is a path parameter, meaning similar endpoints likely exist for other stock tickers under `/api/v1/stocks/{ticker}/price`. However, only the SPGI endpoint was directly probed and confirmed live. Documentation on the site is extremely sparse — the docs, pricing, and API pages all render only a "Connect wallet" prompt with no additional technical detail.
Capabilities
Use cases
- —Retrieve the latest stock price for S&P Global (SPGI) in an automated trading or analytics pipeline
- —Agent-driven portfolio monitoring that pays per data fetch without managing API keys
- —On-demand equity price lookups from smart contracts or crypto-native applications
Fit
Best for
- —Crypto-native agents needing stock price data without traditional API key management
- —Low-volume, on-demand stock price queries where per-call pricing is economical
- —Developers experimenting with x402 payment-gated API patterns
Not for
- —High-frequency trading requiring sub-millisecond latency and bulk data feeds
- —Users who need historical OHLCV data, fundamentals, or full market depth
- —Anyone without a Base-network USDC wallet to settle payments
Quick start
curl -X POST https://lowpaymentfee.com/api/v1/stocks/SPGI/price \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <signed-x402-payment-header>"Endpoint
Quality
The endpoint is confirmed live via a valid 402 challenge with clear pricing and payment details, but there is no OpenAPI schema, no response examples, no documentation beyond a wallet-connect prompt, and no information about the response format or supported tickers. Effectively a stub listing.
Warnings
- —No documentation available — docs, pricing, and API pages all show only 'Connect wallet' with no technical content
- —No response schema or example response is available; the actual data format returned is unknown
- —Only the SPGI ticker endpoint was probed; availability of other tickers is unconfirmed
- —The provider site lists many diverse API categories (AI, analytics, finance, utilities) all at $0.02 — quality and reliability of underlying data sources is unclear
Citations
- —The endpoint returns HTTP 402 with an x402 challenge requiring USDC payment on Base networkhttps://lowpaymentfee.com/api/v1/stocks/SPGI/price
- —The maxAmountRequired is 20000 base units of USDC (6 decimals) = $0.02 per requesthttps://lowpaymentfee.com/api/v1/stocks/SPGI/price
- —The site advertises $0.02/request pricing with no API keys, no rate limits, and instant access on Base networkhttps://lowpaymentfee.com
- —The USDC asset contract on Base is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913https://lowpaymentfee.com/api/v1/stocks/SPGI/price