{"service":"Thryx Agent API","version":"2.1.0","description":"On-chain intelligence, generative art, and financial math for AI agents. Pay-per-request via x402 (USDC on Base).","categories":{"data":{"description":"Real-time token data on Base","endpoints":[{"method":"GET","path":"/api/token/:address","price":"$0.01","description":"Token snapshot (price, volume, liquidity, market cap)"},{"method":"GET","path":"/api/trending","price":"$0.01","description":"Top 20 trending tokens on Base"},{"method":"GET","path":"/api/ohlcv/:pool","price":"$0.02","description":"OHLCV candle data (hour/day/minute)"},{"method":"GET","path":"/api/wallet/:address","price":"$0.03","description":"Wallet token scan"}]},"generative":{"description":"Deterministic generative art from pure math — no AI models, no external APIs","endpoints":[{"method":"GET","path":"/api/logo/:name","price":"$0.01","description":"Token logo SVG (add ?symbol=XXX&size=512&format=json)","returns":"image/svg+xml"},{"method":"GET","path":"/api/identity/:address","price":"$0.01","description":"Wallet identity portrait SVG (add ?size=512&format=json)","returns":"image/svg+xml"}]},"calculators":{"description":"Pure-math financial calculators — precise results, no LLM rounding errors","endpoints":[{"method":"GET","path":"/api/calc/il","price":"$0.01","description":"Impermanent loss (?priceRatio=1.5)"},{"method":"GET","path":"/api/calc/yield","price":"$0.01","description":"Compound yield (?principal=1000&apy=12&days=365)"},{"method":"GET","path":"/api/calc/position","price":"$0.01","description":"Position size (?account=10000&risk=2&entry=100&stopLoss=95)"},{"method":"GET","path":"/api/calc/breakeven","price":"$0.01","description":"Break-even (?entry=100&buyFee=0.3&sellFee=0.3&slippage=0.5)"},{"method":"GET","path":"/api/calc/kelly","price":"$0.01","description":"Kelly criterion (?winRate=0.55&avgWin=2&avgLoss=1)"},{"method":"POST","path":"/api/calc/volatility","price":"$0.01","description":"Volatility (body: {prices: [100,102,...]})"},{"method":"POST","path":"/api/calc/sharpe","price":"$0.01","description":"Sharpe ratio (body: {returns: [0.01,-0.02,...]})"}]}},"payment":{"method":"x402","currency":"USDC","chain":"Base mainnet","network":"eip155:8453","payTo":"0x8f9ec800972258e48d7ebc2640ea0b5e245c2cf5"},"facilitator":"local (self-hosted)","operator":"Thryx"}