x402 Directory

Verifiable Randomness · Rand

Cryptographically-secure randomness with a receipt. GET ?bytes= returns hex (1-256 bytes); add ?min=&max= for a uniform integer in an inclusive range. Each response carries a request_id and timestamp — unbiased entropy an agent can cite to a counterparty, not a seeded PRNG. Need provable fairness over time? /rand/commit does commit-reveal (commitment now, value later).

How to call it

curl -i -X GET https://x402.shizu.me/rand

# It answers 402 Payment Required, with the price and where to pay.
# Pay with any x402 client, then send the same request again.

Uptime, grade and call counts come from other directories, not from us. A blank means nobody has measured it. It does not mean it is safe.

More from x402.shizu.me

Stablecoin Circulating Supply · Llama Stablecoins

Stablecoin Circulating Supply · x402.shizu.me

Every tracked stablecoin with circulating supply (USD), peg type, peg mechanism, and current price. Ranked by circulating. Query: limit (1-200).

$0.005 Base 100% up

DeFi Protocol TVL (filtered) · Llama Protocols

DeFi Protocol TVL (filtered) · x402.shizu.me

Every DefiLlama protocol with current TVL, filtered server-side (the raw index is 8.5MB). Query: chain, category (Lending, Dexes, ...), min_tvl (USD), sort (tvl|change_1d|change_7d), limit (1-100). Each: name, slug, chain, category, tvl_usd, change_1d, change_7d, mcap. Use the slug with /llama/tvl for a live single-number poll.

$0.008 Base 100% up

Code Sandbox · Sandbox

Code Sandbox · x402.shizu.me

Run code in an isolated cloud sandbox and get its output — agents can't self-host this. POST {code, language?}. language: python (default), javascript, bash, r, java. Returns stdout, stderr, results, error. Hard-capped: 25s wall-clock, 100KB code, 64KB output, fully isolated.

$0.02 Base 100% up

DeFi Yield Screener · Yields

DeFi Yield Screener · x402.shizu.me

DeFi yield opportunities across chains and protocols (DefiLlama data): pool, project, chain, TVL, and APY, ranked by APY. Query: chain (e.g. Ethereum, Base), project, min_tvl (USD, default 10000000), limit (1-100, default 20). Use to screen for yield, monitor rates, and route capital.

$0.005 Base 100% up

DeFi TVL by Chain · Llama Chains

DeFi TVL by Chain · x402.shizu.me

Total DeFi TVL for every chain DefiLlama tracks, ranked. Query: limit (1-500). Each: name, tvl_usd, token.

$0.004 Base 100% up

Web Page Scraper · Scrape

Web Page Scraper · x402.shizu.me

Fetch any public web page and return clean main content as JSON: title, author, publish date, hostname, excerpt, full text, and word_count. Boilerplate (nav, ads, footers) is stripped. Input: url (public http/https). Use to read articles, docs, or pages and feed clean text to an LLM.

$0.006 Base 100% up