574+ live endpoints · 106+ categories · settles in ~2s

The (most) everything API for AI agents

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.

~/agent — x402 call
# 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…
574+
live endpoints
106+
categories
$0.001+
per call
~2s
settlement
NEWai.council

Ask a council, not one model.

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 →

POST /api/ai/council → { consensus, confidence, agreement, dissent[], models[] }
fast3 quick modelsbalanced3 strong + refinedeep5 models + refinecustompick 2–8 of 290+
NEWupto billing

Stop paying worst-case prices.

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:

exact billing — the x402 default
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
upto billing — now on 2s
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.

Works with your stack

Integrate in minutes

No keys to provision. Fund a wallet, drop in an SDK, and call any endpoint — from the language, framework, or agent you already use.

NEWWatchers

Don't poll. Get woken up.

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 →

POST /api/watchers/<type> → { watcherId } → signed callback when it fires

Crypto address activity $0.05

Get a signed callback the moment a wallet sends or receives — Base, Ethereum, or Bitcoin.

POST /watchers/crypto-address-activity

Token price $0.05

Get a signed callback when a crypto asset crosses a price or % move you set.

POST /watchers/token-price

Gas price $0.05

Get a signed callback when EVM gas drops below (or rises above) a gwei level.

POST /watchers/gas-price

Funding rate $0.05

Get a signed callback when a perp’s funding rate crosses — e.g. flips negative.

POST /watchers/funding-rate

Stock price $0.05

Get a signed callback when a US stock crosses a price or % move you set.

POST /watchers/stock-price

Business earnings $0.05

Get a signed callback when a company reports earnings — or just before it does.

POST /watchers/business-earnings

Sec filing $0.05

Get a signed callback on each new SEC filing (8-K, 10-K, 13F…) for a company.

POST /watchers/sec-filing

Company news $0.05

Get a signed callback on each new news headline about a company.

POST /watchers/company-news

Ipo $0.05

Get a signed callback when a new US IPO hits the calendar.

POST /watchers/ipo

Prediction market $0.05

Get a signed callback when a Polymarket outcome’s probability crosses your level.

POST /watchers/prediction-market

Fx rate $0.05

Get a signed callback when an FX pair crosses a rate you set.

POST /watchers/fx-rate

Weather alert $0.05

Get a signed callback when the NWS issues a new alert for a US state.

POST /watchers/weather-alert

Earthquake $0.05

Get a signed callback on each new USGS quake near a point above a magnitude.

POST /watchers/earthquake

Flight status $0.05

Get a signed callback when a flight’s status changes — delayed, departed, landed.

POST /watchers/flight-status

Federal register $0.05

Get a signed callback on each new Federal Register rule or notice.

POST /watchers/federal-register

Package release $0.05

Get a signed callback when an npm or PyPI package publishes a new version.

POST /watchers/package-release

Ioc reputation $0.05

Get a signed callback when an IP/domain flips malicious across threat feeds.

POST /watchers/ioc-reputation

Http headers $0.05

Get a signed callback when a site’s HTTP security grade changes.

POST /watchers/http-headers

Dns $0.05

Get a signed callback when a host’s DNS records change.

POST /watchers/dns

Whois $0.05

Get a signed callback when a domain’s WHOIS registration changes.

POST /watchers/whois

Fear greed $0.05

Get a signed callback when the Crypto Fear & Greed index crosses a level.

POST /watchers/fear-greed

Fred series $0.05

Get a signed callback when a FRED series (yields, CPI, unemployment…) crosses.

POST /watchers/fred-series

Patent $0.05

Get a signed callback on each new USPTO patent matching your query.

POST /watchers/patent

Paper $0.05

Get a signed callback on each new academic paper matching your query.

POST /watchers/paper

Product recall $0.05

Get a signed callback on each new US product recall.

POST /watchers/product-recall

Status $0.001

Check a watcher’s state, fires used, and recent deliveries — including any missed pushes to replay.

GET /watchers/status

Cancel $0.001

Stop an active watcher immediately. No refund of the unused window.

POST /watchers/cancel
NEWStore

Give your agent a memory.

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 →

POST /api/store/kv-put → store.kv-get · store.vector-query · store.doc-search · store.blob-get → your data back, keyed to your wallet
KV / JSON set · get · scanDocuments index · full-text searchVectors upsert · semantic recall (RAG)Files private upload · download

Kv put $0.002

Persist any JSON under a key, scoped to your wallet — set state once, read it back across sessions.

POST /store/kv-put

Kv get $0.002

Read back a value you stored. Reading extends its 90-day life (extend-on-touch).

POST /store/kv-get

Kv scan $0.002

List your keys in a namespace — prefix filter + cursor pagination.

POST /store/kv-scan

Kv delete $0.002

Delete a key/value you stored.

POST /store/kv-delete

Doc put $0.002

Index a text document so you can keyword-search it later.

POST /store/doc-put

Doc search $0.002

Full-text search across your documents — terms, "phrases", AND/OR/NOT, prefix*.

POST /store/doc-search

Doc get $0.002

Fetch a stored document by id, with its metadata.

POST /store/doc-get

Doc delete $0.002

Delete a stored document.

POST /store/doc-delete

Vector upsert $0.005

Store an embedding (bring your own model) — the memory half of agent RAG.

POST /store/vector-upsert

Vector query $0.01

Nearest-neighbor search over your vectors — the retrieval half of RAG.

POST /store/vector-query

Vector delete $0.002

Delete a vector by id.

POST /store/vector-delete

Blob put $0.01

Upload a file (≤3 MB) in one paid call — kept private to your wallet.

POST /store/blob-put

Blob get $0.01

Download your file, streamed back through a paid call. No public URL to leak.

POST /store/blob-get

Blob list $0.002

List the files you’ve stored — keys, sizes, content types.

POST /store/blob-list

Blob delete $0.002

Delete a file you uploaded.

POST /store/blob-delete

Usage $0.002

See how much you’re storing and your headroom against the 50 MB per-wallet total.

POST /store/usage
NEWAgent control plane

Coordinate, schedule & queue work.

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.

One API, every domain

Real data, not demos

Every category, every endpoint — authoritative data, all payable with the same keyless x402 flow. 106 categories and counting.

Gov 56

Federal data: Congress, FEC, FDA, SAM, FEMA & more

View all 56 endpoints →

Crypto 46

Prices, gas, fees, DeFi, contracts & on-chain data

View all 46 endpoints →

Predict 23

Polymarket prediction markets, prices, trades & whales

View all 23 endpoints →

Finance 17

SEC EDGAR filings, 13F, company facts & FIGI

View all 17 endpoints →

Ai 16

Summarize, translate, extract, screenshot & describe

View all 16 endpoints →

Business 16

Company registries, LEI, KYB & entity screening

View all 16 endpoints →

Security 16

CVEs, KEV, EPSS, IOC reputation, headers, exposure

View all 16 endpoints →

Dev 15

RFC lookup & deploy preflight

View all 15 endpoints →

Github 14

Repos, users, commits, issues, PRs & code search

View all 14 endpoints →

Medical 14

ICD-10, NPI, drug labels, approvals & device data

View all 14 endpoints →

Stocks 14

Quotes, metrics, analyst, earnings, news, gov/alt data

View all 14 endpoints →

Law 13

OFAC sanctions, trademarks, case law & dockets

View all 13 endpoints →

Space 11

Launches, satellites, exoplanets, sky & space weather

View all 11 endpoints →

Sports 11

MLB & NHL schedules, scores & standings

View all 11 endpoints →

Vehicle 11

VIN decode, recalls, complaints, safety ratings

View all 11 endpoints →

Econ 10

FRED series, releases, vintages, yield curve & indicators

View all 10 endpoints →

Validate 10

IBAN, BIC, ISIN, CUSIP, GTIN & check-digit checks

View all 10 endpoints →

Energy 8

Prices, generation mix, utility rates & solar resource

View all 8 endpoints →

Geo 7

Geocoding, elevation, flood zones, IP & dossiers

View all 7 endpoints →

Health 7

Hospitals, providers, Medicare, mortality & surveillance

View all 7 endpoints →

Patents 7

USPTO patent search, detail & documents

View all 7 endpoints →

Weather 6

NWS forecasts, alerts, history, marine & air quality

View all 6 endpoints →

Edi 5

Parse, generate & acknowledge X12 / EDIFACT

View all 5 endpoints →

News 5

Hacker News items, top stories & web news search

View all 5 endpoints →

Search 5

Endpoint discovery & web search

View all 5 endpoints →

Aviation 4

METAR, TAF, SIGMET & accident records

View all 4 endpoints →

Calendar 4

Business days, holidays, earnings & IPO calendars

View all 4 endpoints →

Domain 4

WHOIS, intel, CT logs & email security

View all 4 endpoints →

Inflation 4

CPI calculator, rates, expectations & HICP

View all 4 endpoints →

License 4

Verify broker, medical, real-estate & trade licenses

View all 4 endpoints →

Net 4

ASN / BGP, MAC vendor & RPKI validity

View all 4 endpoints →

Property 4

NYC deeds, parcels, permits & violations

View all 4 endpoints →

Tcg 4

Tcg data & lookups

View all 4 endpoints →

Trade 4

UN Comtrade flows, tariffs & LOCODE

View all 4 endpoints →

Treasury 4

US Treasury cash, debt, rates & monthly statements

View all 4 endpoints →

Url 4

Render, map, clean & unfurl any URL

View all 4 endpoints →

Bio 3

Species, genes & proteins

View all 3 endpoints →

Chinese 3

Chinese data & lookups

View all 3 endpoints →

Flight 3

Live flight status

View all 3 endpoints →

Iso 3

ISO currency, language & subdivision codes

View all 3 endpoints →

Labor 3

BLS openings, unemployment & wages

View all 3 endpoints →

Maritime 3

Vessels, ports & maritime case records

View all 3 endpoints →

Music 3

MusicBrainz artists, releases & recordings

View all 3 endpoints →

Occupation 3

O*NET occupation profiles, search & relations

View all 3 endpoints →

Research 3

ORCID authors, ROR orgs & NIH funding

View all 3 endpoints →

Agriculture 2

Drought monitor & USDA stats

View all 2 endpoints →

Aircraft 2

Aircraft N-number lookup & profile

View all 2 endpoints →

Airport 2

Airport lookup & nearest airports

View all 2 endpoints →

Census 2

ACS demographics & ZIP geographies

View all 2 endpoints →

Climate 2

Station history & nearest stations

View all 2 endpoints →

Clinical 2

ClinicalTrials search & study detail

View all 2 endpoints →

Convert 2

Currency & unit conversion

View all 2 endpoints →

Country 2

Country reference data

View all 2 endpoints →

Earth 2

Natural events & planetary now

View all 2 endpoints →

Edu 2

College Scorecard & school lookup

View all 2 endpoints →

Food 2

UK hygiene ratings & barcode lookup

View all 2 endpoints →

Fx 2

Foreign-exchange rates & time series

View all 2 endpoints →

Geocode 2

Address ↔ coordinate, forward & reverse

View all 2 endpoints →

Job 2

Federal job search & occupation codes

View all 2 endpoints →

Markets 2

Exchange open/closed status & market holidays

View all 2 endpoints →

Nonprofit 2

Nonprofit search & screening

View all 2 endpoints →

Registry 2

npm & PyPI package lookups

View all 2 endpoints →

Soil 2

Soil profiles & USDA hardiness zones

View all 2 endpoints →

Tax 2

VAT validation & EU VAT-rate tables

View all 2 endpoints →

Telecom 2

FCC filings & telecom market areas

View all 2 endpoints →

Travel 2

Travel advisories & visa requirements

View all 2 endpoints →

Word 2

Definitions & related words

View all 2 endpoints →

Agent 1

Agent-native knowledge-delta primitive

/api/agent/knowledge-delta

Bank 1

Bank routing lookup

/api/bank/lookup

Barcode 1

Barcode generation

/api/barcode/generate

Batch 1

Run many endpoints in one settled call

/api/batch/run

Bls 1

BLS time-series data

/api/bls/series

Book 1

Book search

/api/book/search

Chem 1

Chemical compound data

/api/chem/compound

Class 1

Class data & lookups

/api/class/industry-resolve

Code 1

Repo lookup & code tools

/api/code/repo-lookup

Countdown 1

Countdown GIF generator

/api/countdown/gif

Dns 1

DNS record lookup

/api/dns/lookup

Email 1

Email address validation

/api/email/validate

Factcheck 1

Fact-check claim search

/api/factcheck/search

Feedback 1

Send a message to the 2s team

/api/feedback/send

Hash 1

Hash computation

/api/hash/compute

Html 1

HTML → Markdown conversion

/api/html/to-markdown

Image 1

Image compression

/api/image/compress

Ipinfo 1

Bulk IP geolocation

/api/ipinfo/bulk

Nutrition 1

Food & nutrition facts

/api/nutrition/food

Paper 1

DOI metadata lookup

/api/paper/doi-lookup

Papers 1

Academic paper search (arXiv & more)

/api/papers/search

Park 1

US National Park lookup

/api/park/lookup

Person 1

Cross-registry person lookup

/api/person/cross-registry

Phone 1

Phone number normalization

/api/phone/normalize

Poi 1

Points of interest nearby

/api/poi/near

Product 1

GTIN / UPC / EAN identity

/api/product/gtin

Quakes 1

Recent earthquakes (USGS)

/api/quakes/recent

Recreation 1

Recreation.gov facility search

/api/recreation/search

Sunrise 1

Sunrise / sunset times

/api/sunrise/compute

Tides 1

Current tide predictions

/api/tides/now

Time 1

Time data & lookups

/api/time/parse

Timezone 1

Timezone by coordinate

/api/timezone/lookup

Tld 1

Top-level-domain info

/api/tld/info

Tls 1

TLS certificate inspection

/api/tls/cert-info

Transcribe 1

Audio transcription

/api/transcribe/audio

Water 1

USGS stream-gauge readings

/api/water/gauge

Wikidata 1

Wikidata entity lookup

/api/wikidata/entity

Wikipedia 1

Wikipedia article summaries

/api/wikipedia/summary

Worldbank 1

World Bank development indicators

/api/worldbank/indicator

Call a live x402 API right now

Fund a wallet with a few cents of USDC — or just run a free trial call.