{"version":"1.3","origin":"foil-ledger-api.lazylucariospokemart28.workers.dev","display_name":"Foil Ledger API","description":"Condition-aware Pokémon TCG market prices (TCGplayer-based, refreshed daily) plus realized sales from a working card shop. Pay per call with USDC on Base via x402; also available as paid MCP tools at /mcp.","payout_address":"0x3cA43880345E8C16Fd3A6F7aD48e2Db9595e4629","payments":{"x402":{"networks":[{"network":"base","asset":"USDC","contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]}},"intents":[{"name":"cards","description":"All tracked cards with current market price and 7-day change","endpoint":"/v1/cards","method":"GET","parameters":{},"price":{"amount":0.005,"currency":"USDC"},"bounty":{"type":"cpa","rate":0.0005,"currency":"USDC"}},{"name":"card_id","description":"One card by id (ids from /v1/cards, /v1/search or the free /v1/sample)","endpoint":"/v1/card/:id","method":"GET","parameters":{"id":{"type":"string","required":true,"description":"Path parameter id"}},"price":{"amount":0.002,"currency":"USDC"},"bounty":{"type":"cpa","rate":0.0002,"currency":"USDC"}},{"name":"search","description":"Search by card name / set","endpoint":"/v1/search","method":"GET","parameters":{"q":{"type":"string","required":false,"description":"Card name or set text"}},"price":{"amount":0.005,"currency":"USDC"},"bounty":{"type":"cpa","rate":0.0005,"currency":"USDC"}},{"name":"movers","description":"Biggest 7-day movers, up and down","endpoint":"/v1/movers","method":"GET","parameters":{"n":{"type":"string","required":false,"description":"How many each way (max 50)"}},"price":{"amount":0.01,"currency":"USDC"},"bounty":{"type":"cpa","rate":0.001,"currency":"USDC"}},{"name":"sold","description":"Realized sales: what this shop actually got per card, with the market price at the time","endpoint":"/v1/sold","method":"GET","parameters":{"q":{"type":"string","required":false,"description":"Filter by name/set/number"},"n":{"type":"string","required":false,"description":"Max results (max 500)"}},"price":{"amount":0.005,"currency":"USDC"},"bounty":{"type":"cpa","rate":0.0005,"currency":"USDC"}},{"name":"comp","description":"Comp one card: live market price for matching cards next to this shop's realized sales","endpoint":"/v1/comp","method":"GET","parameters":{"q":{"type":"string","required":false,"description":"Card name, set or number text"}},"price":{"amount":0.01,"currency":"USDC"},"bounty":{"type":"cpa","rate":0.001,"currency":"USDC"}},{"name":"root","description":"Landing: endpoints, prices, MCP, referral terms","endpoint":"/","method":"GET","parameters":{},"price":{"amount":0,"currency":"USDC"}},{"name":"sample","description":"Three real cards and one real sale so you can see the response shapes","endpoint":"/v1/sample","method":"GET","parameters":{},"price":{"amount":0,"currency":"USDC"}},{"name":"health","description":"Freshness + card count","endpoint":"/v1/health","method":"GET","parameters":{},"price":{"amount":0,"currency":"USDC"}},{"name":"stats","description":"Calls and USDC earned today / last 7 days (no addresses)","endpoint":"/v1/stats","method":"GET","parameters":{},"price":{"amount":0,"currency":"USDC"}},{"name":"referrals_address","description":"Referral earnings for a wallet","endpoint":"/v1/referrals/:address","method":"GET","parameters":{"address":{"type":"string","required":true,"description":"Path parameter address"}},"price":{"amount":0,"currency":"USDC"}}],"bounty":{"type":"cpa","rate":0.0002,"currency":"USDC"},"extensions":{"foilledger":{"referrals":{"pct":10,"how":"append ?ref=0xYourWallet to any paid call; the bounty is pct% of that call's price, settled weekly in USDC; free tally at /v1/referrals/:address"},"protocols":{"x402":"https://foil-ledger-api.lazylucariospokemart28.workers.dev/.well-known/x402","openapi":"https://foil-ledger-api.lazylucariospokemart28.workers.dev/openapi.json","mcp":"https://foil-ledger-api.lazylucariospokemart28.workers.dev/mcp","llms":"https://foil-ledger-api.lazylucariospokemart28.workers.dev/llms.txt"},"caip2":"eip155:8453","docs":"https://github.com/lazylucariospokemart/foil-ledger-api","updated":"2026-11-06T07:40:00Z"}}}