{"openapi":"3.1.0","info":{"title":"Tempo Wallet Snapshot","version":"1.0.0","description":"Paid API returning Tempo wallet stats: TIP-20 stablecoin balances, account type, nonce, and (in deep mode) 7-day activity. Charges USDC.e via MPP.","x-guidance":"Use npx mppx to call paid endpoints — it handles the MPP 402 payment challenge automatically. Basic snapshot: npx mppx 'https://tempocheck.xyz/api/snapshot?address=0xYOUR_ADDRESS' ($0.01). Deep snapshot adds ?deep=true ($0.02). Token list is free: curl https://tempocheck.xyz/api/tokens"},"servers":[{"url":"https://tempocheck.xyz"}],"x-service-info":{"categories":["data","blockchain"],"docs":{"homepage":"https://tempocheck.xyz","apiReference":"https://tempocheck.xyz/","llms":"https://tempocheck.xyz/llms.txt"}},"paths":{"/api/snapshot":{"get":{"summary":"Get Tempo wallet snapshot","description":"Returns a snapshot of a Tempo wallet. Basic tier ($0.01) returns balances, nonce, account type. Deep tier ($0.02, ?deep=true) additionally includes 7-day activity from getLogs.","parameters":[{"name":"address","in":"query","required":true,"description":"Checksummed Ethereum-style address on Tempo Mainnet","schema":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"}},{"name":"deep","in":"query","required":false,"description":"Set to true or 1 to request deep tier ($0.02)","schema":{"type":"boolean","example":false}}],"x-payment-info":{"intent":"charge","method":"tempo","amount":"10000","currency":"0x20c000000000000000000000b9537d11c60e8b50","description":"$0.01 basic · $0.02 deep (?deep=true)"},"responses":{"200":{"description":"Wallet snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"chain":{"type":"string","enum":["tempo-mainnet"]},"chain_id":{"type":"integer","example":4217},"fetched_at":{"type":"string","format":"date-time"},"cached":{"type":"boolean"},"tier":{"type":"string","enum":["basic","deep"]},"account":{"type":"object","properties":{"type":{"type":"string","enum":["EOA","contract"]},"nonce":{"type":"integer"},"age_days":{"type":["integer","null"]}}},"balances":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string"},"name":{"type":"string"},"address":{"type":"string"},"decimals":{"type":"integer"},"raw":{"type":"string"},"formatted":{"type":"string"},"usd_value":{"type":"number"}}}},"portfolio":{"type":"object","properties":{"total_usd":{"type":"number"},"tokens_held":{"type":"integer"},"tokens_total":{"type":"integer"}}}}}}}},"400":{"description":"Invalid address","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"invalid_address"}}}}}},"402":{"description":"Payment required — MPP challenge"},"503":{"description":"RPC unavailable — payment was taken but data could not be fetched","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"rpc_unavailable"}}}}}}}}},"/api/tokens":{"get":{"summary":"List all TIP-20 tokens on Tempo Mainnet","description":"Free endpoint. Returns the full token registry from tokenlist.tempo.xyz. Cached for 1 hour.","security":[],"responses":{"200":{"description":"Array of token objects","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string"},"name":{"type":"string"},"address":{"type":"string"},"decimals":{"type":"integer"}}}}}}},"503":{"description":"Token list unavailable","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"tokenlist_unavailable"}}}}}}}}}}}