{"name":"Foil Ledger API","what":"Condition-aware Pokémon TCG market prices (TCGplayer-based, refreshed daily) for the cards a working card shop actually tracks and sells. Not the whole market: the live shelf of one seller. Pay per call with USDC via x402.","network":"eip155:8453","endpoints":{"GET /v1/cards":{"price":"$0.005","desc":"All tracked cards with current market price and 7-day change"},"GET /v1/card/:id":{"price":"$0.002","desc":"One card by id"},"GET /v1/search?q=":{"price":"$0.005","desc":"Search by card name / set"},"GET /v1/movers?n=10":{"price":"$0.01","desc":"Biggest 7-day movers, up and down"},"GET /v1/sold?q=&n=":{"price":"$0.005","desc":"Realized sales: what this shop actually got per card, with the market price at the time (q filters by name/set/number)"},"GET /v1/comp?q=":{"price":"$0.01","desc":"Comp one card: live market price for matching cards next to this shop's realized sales of them"},"GET /v1/sample":{"price":"free","desc":"Three real cards and one real sale so you can see the response shapes"},"GET /v1/health":{"price":"free","desc":"Freshness + card count"},"GET /v1/stats":{"price":"free","desc":"Calls and USDC earned today / last 7 days (no addresses)"},"GET /v1/referrals/:address":{"price":"free","desc":"Referral earnings for a wallet"}},"mcp":{"url":"https://foil-ledger-api.lazylucariospokemart28.workers.dev/mcp","transport":"streamable-http","tools":{"get_all_cards":"$0.005","get_card_price":"$0.002","search_cards":"$0.005","get_movers":"$0.01","get_sold_prices":"$0.005","comp_card":"$0.01","get_sample":"free","health":"free"},"note":"Same data as the REST routes, as MCP tools with x402 payment per call"},"groundTruth":"Realized sales from one working card shop (Lazy Lucario Vault): the price the seller actually got, next to the TCGplayer-based market price at the time. priceBasis: desk = entered by the seller, ask = the listed asking price, market = no asking price on file so market value is used. soldAt is null for sales logged before the log existed (backfilled: true). Small dataset, verified provenance; not a market average.","referrals":"Add ?ref=0xYourWallet to any paid call. You earn 10% of every call you bring, paid out weekly in USDC. One level, sales only.","docs":"https://docs.x402.org","discovery":{"openapi":"https://foil-ledger-api.lazylucariospokemart28.workers.dev/openapi.json","llms":"https://foil-ledger-api.lazylucariospokemart28.workers.dev/llms.txt","x402":"https://foil-ledger-api.lazylucariospokemart28.workers.dev/.well-known/x402","agent":"https://foil-ledger-api.lazylucariospokemart28.workers.dev/.well-known/agent.json"},"owner":"Lazy Lucario — lazylucariospokemart.github.io/lazy-lucario-vault"}