Documentation

Tokenized stock NAV data with SingIt

Tokenized stock NAV reference data from public feeds on Base, paid in USDC on Base or Solana: free discovery, fixed prices, x402 calls, freshness flags, owner spending limits and receipts.

Owner-set spending limits are the point: on Base, the AgentAllowance contract enforces your agent's daily, per-purchase and expiry limits onchain for reads funded through that allowance. Revoke any time, Emergency stop (pause) on Base. On Solana, the SingIt server checks the daily and per-purchase limits and only the total is onchain via an SPL delegate; Revoke works on Solana too, Emergency stop is Base only. Stock NAV reads accept USDC on Base or Solana (x402 exact) - the payer picks the network from the 402's two accepts.

SingIt sells reference data for ten tokenized stocks: NAV values read from a public onchain NAV feed on Base, whichever network you pay on. Every value is a NAV reference, not a live execution price, and nothing here is investment advice. Feeds may freeze outside market hours or during corporate actions - always inspect ageSeconds, stale and readFailed.

Routes and prices

CallWhat it returnsPrice (Base / Solana)
GET https://ask.singitai.app/v1/stocksSupported symbols, company names, public feed proxies, precision (8 decimals), heartbeat (86,400 s), route list and the fixed prices belowFree
GET /v1/stocks/{ticker}/priceUSD NAV reference value, update time, ageSeconds, stale, readFailed, public feed proxy0.001 USDC on Base / 0.001 USDC on Solana
GET /v1/stocks/{ticker}/infoFeed reference details: USD denomination, precision, heartbeat, valueType: total_return_nav, multiplierIncluded0.002 USDC on Base / 0.002 USDC on Solana
GET /v1/stocks/compare?tickers=AAPLc,TSLAcTwo to ten unique symbols in one call, age/staleness per symbol; never a partial paid comparison0.003 USDC on Base / 0.003 USDC on Solana

Supported symbols (case insensitive): AAPLc, AMZNc, GOOGLc, METAc, MSFTc, MSTRc, NVDAc, SNDKc, SPCXc, TSLAc. Prices are fixed buyer totals, not additional charges, and are the same on both networks. Pay on Base or Solana: every paid route's 402 carries a Base exact accept followed by a Solana exact accept; sign whichever network your wallet funds and retry - the answer (and its Base onchain feed source) is identical either way.

Over MCP

Local stdio tools: singit_stocks_list (free), singit_stock_price (ticker), singit_stock_info (ticker), singit_stocks_compare (tickers: two to ten unique symbols). Paid tools take an optional network ("base" or "solana"; default SINGIT_NETWORK, else Base) and pay in USDC from the local wallet's Base key or its Solana key; both networks share the owner-set client per-call and per-day limits.

SINGIT_LIMITER adds an informative Base allowance check before signing; while it is set, Solana purchases are refused rather than skipping it. Direct wallet signatures are not automatically allowance-funded. See the MCP package guide for configuration; remote gateway integration is separate.

Settled stock results include payment.network, payment.paymentResponse and payment.receipt, with transaction and charged total. The remote key-billed MCP's get_receipts lists that key's charges, not local wallet payments.

The 402 flow with curl

# 1. Free discovery: symbols, feeds, prices
curl -s https://ask.singitai.app/v1/stocks | jq '.data[].symbol, .prices'

# 2. Unsigned GET -> 402 with the Base and Solana exact offers in the PAYMENT-REQUIRED header
curl -si https://ask.singitai.app/v1/stocks/TSLAc/price

# 3. Sign the 0.001 USDC offer on Base or Solana and retry the same GET with the
#    PAYMENT-SIGNATURE header -> 200 with the data and your receipt.

An unsigned GET or HEAD returns a discovery challenge without reading any price data; a bare comparison challenge uses the AAPLc,TSLAc example. Buying a comparison requires the explicit tickers query. Signed HEAD requests are refused (405) - use GET to purchase. With a paying client (@singitai/sdk, @x402/fetch) steps 2-3 are one call.

Paying from Solana. A Solana-capable x402 client decodes the same header, signs the Solana accept (a USDC transfer whose network fee SingIt's facilitator pays) and retries the same GET. The answer and receipt are identical; only the settlement network differs. The limit mechanics differ per network (see below).

Response fields

price and each compare entry include the NAV fields below. This is an illustrative price response, not a live quote; comparison billing is on the overall response.

{ "object": "stock_price", "symbol": "TSLAc", "name": "Tesla", "chainId": 8453,
  "quote": "USD", "price": 412.35, "updatedAt": "2026-11-19T14:30:00.000Z",
  "ageSeconds": 45, "stale": false, "readFailed": false,
  "feed": "0x…",                       // public NAV feed proxy on Base - verify the value onchain
  "disclaimer": "NAV reference value, not a live execution price. …",
  "billing": { "totalAtomic": "1000", "currency": "USDC" } }
  • chainId: 8453 - the data source is always Base, whichever network settled the payment.
  • ageSeconds - seconds since the feed's last onchain update; values older than the 24-hour heartbeat are flagged stale: true.
  • readFailed: true - the latest refresh failed and the last good value is being served, explicitly marked; a cold read with no good value answers 503 and charges nothing.
  • feed - the public feed proxy address, so any value can be verified against the onchain source yourself.
  • info answers feed reference facts only (precision, heartbeat, valueType, multiplierIncluded) - it is reference data about the feed, not company metadata.

Spend limits and receipts

On Base: send the X-SingIt-Limiter header (your owner's allowance contract) and the 402 answer includes the owner allowance snapshot; X-SingIt-Spend-Limit shows whether the quote fits your daily/per-purchase/expiry policy before you sign. This is an informative pre-signing check - enforcement happens onchain in the AgentAllowance contract (daily and per-purchase caps, expiry, pause, revoked allowance). Revoke any time and Emergency stop (pause) are available on Base.

On Solana: for SingIt's own agent, the SingIt server checks the daily and per-purchase limits; only the running total is onchain via an SPL delegate. Revoke works on Solana (the owner revokes the delegate); Emergency stop is Base only, and there is no X-SingIt-Limiter contract header on Solana.

On either network, a payment signed directly from your own wallet is not automatically covered by an owner contract or delegate; cap it by what you sign. Every settled call returns PAYMENT-RESPONSE and X-SingIt-Receipt. Payments carry Builder Code (ERC-8021) attribution on Base.

Rate limits and errors

60 stock requests per minute per visitor, 3,000 per minute process-wide; 429 answers carry Retry-After: 60. Responses and challenges are Cache-Control: no-store.

StatusMeaning
402Payment required - decode the offer, check network/asset/amount, sign, retry
404Unsupported symbol - see GET /v1/stocks
405Signed HEAD - purchase with GET
409This payment was already used
422Invalid query (e.g. fewer than two or duplicate tickers)
429Rate limit - retry after 60 s
503NAV data unavailable - nothing was charged

Disclaimers

NAV reference values, not live execution prices. Not investment advice. Feeds may freeze outside market hours or during corporate actions; a value inside its heartbeat is a reference-data check, not proof of a live market. No historical data, no trading or execution quotes, no voting or other rights in any company are provided or implied.