Hundreds of keyless, pay-per-call endpoints: more ground-truth data than any other agent API, every major AI model on one gateway, and wallet-scoped storage, queues, and watchers — no account needed. Pay per call in USDC via x402; AI endpoints bill actual usage, not the worst-case quote. Settles in ~2 seconds, thus the name.
Free trial call on every endpoint — no wallet required. New: x402 upto billing on AI endpoints — authorize a max, pay only actual usage.
# probe → pay → real data, no key curl https://2s.io/api/weather/zip?zip=94103 → 402 Payment Required { accepts:[ USDC · Base / Solana ] } await client.weather.zip({ zip: '94103' }) ✓ 200 forecast: "Sunny 68°F" cost: $0.0012 tx: 0x8b26…
Put one question to several frontier models at once. They can refine against each other, then a chairman model synthesizes a single answer — with a confidence score and the exact points where they disagreed. Fewer hallucinations, and you get to see the dissent. How it works →
Every x402 API quotes a worst-case price and charges it — even when your request barely uses the budget. 2s is the first x402 API to also accept the upto scheme: authorize the quoted max, get settled for your actual usage. Same endpoint, same request — here's a real settled call, verifiable on Base:
POST /api/ai/chat { max_tokens: 4000 } → 402 quote: $0.0549 (worst case) ✓ 200 reply: "pong" (4 tokens used) charged $0.0549 — you pay the quote
POST /api/ai/chat { max_tokens: 4000 } → 402 quote: authorize up to $0.0549 ✓ 200 reply: "pong" (4 tokens used) charged $0.0013 — actual usage · tx 0x8866…bf41
42× cheaper on this real call. Live on every AI endpoint — chat, image, council, OCR, transcription. Exact-scheme clients keep working unchanged; upto is an extra entry in the 402 accepts. One-time Permit2 approval, then pay-what-you-use.
No keys to provision. Fund a wallet, drop in an SDK, and call any endpoint — from the language, framework, or agent you already use.
npm i @2sio/sdk — typed client, fetch-style calls.
pip install 2sio — one call per endpoint, sync.
npx @2sio/mcp — every endpoint as an agent tool.
https://2s.io/mcp — connect any MCP host by URL, no install.
langchain-twosio — paid tools, one funded wallet.
Call from a route handler or server action.
Plain HTTP — probe, sign, retry. Any language.
Arm a watcher and we push you a signed callback the instant something happens — a wallet moves on Base, Ethereum, or Bitcoin, a stock crosses your price, a company reports earnings. Pay once, no account, no polling loop. A new class of stateful, agent-native primitives. How it works →
Get a signed callback the moment a wallet sends or receives — Base, Ethereum, or Bitcoin.
Get a signed callback when a crypto asset crosses a price or % move you set.
Get a signed callback when EVM gas drops below (or rises above) a gwei level.
Get a signed callback when a perp’s funding rate crosses — e.g. flips negative.
Get a signed callback when a US stock crosses a price or % move you set.
Get a signed callback when a company reports earnings — or just before it does.
Get a signed callback on each new SEC filing (8-K, 10-K, 13F…) for a company.
Get a signed callback on each new news headline about a company.
Get a signed callback when a new US IPO hits the calendar.
Get a signed callback when a Polymarket outcome’s probability crosses your level.
Get a signed callback when an FX pair crosses a rate you set.
Get a signed callback when the NWS issues a new alert for a US state.
Get a signed callback on each new USGS quake near a point above a magnitude.
Get a signed callback when a flight’s status changes — delayed, departed, landed.
Get a signed callback on each new Federal Register rule or notice.
Get a signed callback when an npm or PyPI package publishes a new version.
Get a signed callback when an IP/domain flips malicious across threat feeds.
Get a signed callback when a site’s HTTP security grade changes.
Get a signed callback when a host’s DNS records change.
Get a signed callback when a domain’s WHOIS registration changes.
Get a signed callback when the Crypto Fear & Greed index crosses a level.
Get a signed callback when a FRED series (yields, CPI, unemployment…) crosses.
Get a signed callback on each new USPTO patent matching your query.
Get a signed callback on each new academic paper matching your query.
Get a signed callback on each new US product recall.
Check a watcher’s state, fires used, and recent deliveries — including any missed pushes to replay.
Stop an active watcher immediately. No refund of the unused window.
Stateless agents finally have somewhere to keep things. Read and write data keyed to your wallet — remember facts across sessions, build a private RAG index with your own embeddings, stash files, coordinate between runs. Pay per call in USDC; no database to run, no account, no API key. Everything is private to the paying wallet and kept on a rolling 90-day window that resets every time you touch it. How it works →
Persist any JSON under a key, scoped to your wallet — set state once, read it back across sessions.
Read back a value you stored. Reading extends its 90-day life (extend-on-touch).
List your keys in a namespace — prefix filter + cursor pagination.
Delete a key/value you stored.
Index a text document so you can keyword-search it later.
Full-text search across your documents — terms, "phrases", AND/OR/NOT, prefix*.
Fetch a stored document by id, with its metadata.
Delete a stored document.
Store an embedding (bring your own model) — the memory half of agent RAG.
Nearest-neighbor search over your vectors — the retrieval half of RAG.
Delete a vector by id.
Upload a file (≤3 MB) in one paid call — kept private to your wallet.
Download your file, streamed back through a paid call. No public URL to leak.
List the files you’ve stored — keys, sizes, content types.
Delete a file you uploaded.
See how much you’re storing and your headroom against the 50 MB per-wallet total.
The cloud primitives an autonomous agent needs — keyless, pay-per-call, wallet-scoped. Wake yourself on a timer, hand work between runs through a durable queue, make sure only one copy runs a job, and fan events out to other agents. No servers, no signup. Signed callbacks verify offline.
Distributed locks/leases — one agent at a time
Durable task queues: enqueue, lease, ack, dead-letter
Time-driven signed callbacks — cron for agents
Topics + fan-out signed callbacks for agent coordination
Every category, every endpoint — authoritative data, all payable with the same keyless x402 flow. 106 categories and counting.
Federal data: Congress, FEC, FDA, SAM, FEMA & more
Prices, gas, fees, DeFi, contracts & on-chain data
Polymarket prediction markets, prices, trades & whales
SEC EDGAR filings, 13F, company facts & FIGI
Summarize, translate, extract, screenshot & describe
Company registries, LEI, KYB & entity screening
CVEs, KEV, EPSS, IOC reputation, headers, exposure
RFC lookup & deploy preflight
Repos, users, commits, issues, PRs & code search
ICD-10, NPI, drug labels, approvals & device data
Quotes, metrics, analyst, earnings, news, gov/alt data
OFAC sanctions, trademarks, case law & dockets
Launches, satellites, exoplanets, sky & space weather
MLB & NHL schedules, scores & standings
VIN decode, recalls, complaints, safety ratings
FRED series, releases, vintages, yield curve & indicators
IBAN, BIC, ISIN, CUSIP, GTIN & check-digit checks
Prices, generation mix, utility rates & solar resource
Geocoding, elevation, flood zones, IP & dossiers
Hospitals, providers, Medicare, mortality & surveillance
USPTO patent search, detail & documents
NWS forecasts, alerts, history, marine & air quality
Parse, generate & acknowledge X12 / EDIFACT
Hacker News items, top stories & web news search
Endpoint discovery & web search
METAR, TAF, SIGMET & accident records
Business days, holidays, earnings & IPO calendars
WHOIS, intel, CT logs & email security
CPI calculator, rates, expectations & HICP
Verify broker, medical, real-estate & trade licenses
ASN / BGP, MAC vendor & RPKI validity
NYC deeds, parcels, permits & violations
Tcg data & lookups
UN Comtrade flows, tariffs & LOCODE
US Treasury cash, debt, rates & monthly statements
Render, map, clean & unfurl any URL
Species, genes & proteins
Chinese data & lookups
Live flight status
ISO currency, language & subdivision codes
BLS openings, unemployment & wages
Vessels, ports & maritime case records
MusicBrainz artists, releases & recordings
O*NET occupation profiles, search & relations
ORCID authors, ROR orgs & NIH funding
Drought monitor & USDA stats
Aircraft N-number lookup & profile
Airport lookup & nearest airports
ACS demographics & ZIP geographies
Station history & nearest stations
ClinicalTrials search & study detail
Currency & unit conversion
Country reference data
Natural events & planetary now
College Scorecard & school lookup
UK hygiene ratings & barcode lookup
Foreign-exchange rates & time series
Address ↔ coordinate, forward & reverse
Federal job search & occupation codes
Exchange open/closed status & market holidays
Nonprofit search & screening
npm & PyPI package lookups
Soil profiles & USDA hardiness zones
VAT validation & EU VAT-rate tables
FCC filings & telecom market areas
Travel advisories & visa requirements
Definitions & related words
Agent-native knowledge-delta primitive
Bank routing lookup
Barcode generation
Run many endpoints in one settled call
BLS time-series data
Book search
Chemical compound data
Class data & lookups
Repo lookup & code tools
Countdown GIF generator
DNS record lookup
Email address validation
Fact-check claim search
Send a message to the 2s team
Hash computation
HTML → Markdown conversion
Image compression
Bulk IP geolocation
Food & nutrition facts
DOI metadata lookup
Academic paper search (arXiv & more)
US National Park lookup
Cross-registry person lookup
Phone number normalization
Points of interest nearby
GTIN / UPC / EAN identity
Recent earthquakes (USGS)
Recreation.gov facility search
Sunrise / sunset times
Current tide predictions
Time data & lookups
Timezone by coordinate
Top-level-domain info
TLS certificate inspection
Audio transcription
USGS stream-gauge readings
Wikidata entity lookup
Wikipedia article summaries
World Bank development indicators
Fund a wallet with a few cents of USDC — or just run a free trial call.