{"uid":"cap_3CFpH4k_AOclqp77045NE","slug":"finmath-hex-converter-01b64bb5","name":"finmath Hex Converter","description":"Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.","url":"https://finmath.qzqh5rrbkz.workers.dev/v1/hex_convert","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"mode":{"type":"string","description":"mode"},"input":{"type":"string","description":"input"}}},"responseSchema":{"type":"object","required":["result","meta"],"properties":{"meta":{"type":"object"},"result":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OZDQy_CoHJkRPhjdJJLug","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts hexadecimal values to/from other formats (decimal, binary, etc.) with exact, deterministic arithmetic","exampleAgentPrompt":"Convert the hex value 0x1A3F to its decimal equivalent — I need the exact number, no rounding.","exampleUseCases":null,"resultDescription":"A JSON object with a 'result' field containing the converted value (e.g. decimal integer, binary string, or other target format) and a 'meta' object with call metadata such as timing or mode confirmation.","failureModes":["Invalid hex string input returns an error result","Missing required 'input' field returns 400-class error","Unsupported or invalid 'mode' value returns an error","Non-hex characters in input string cause parsing failure","Empty string input may return validation error"],"whenToPreferThis":"Use this endpoint when you need exact, deterministic hex conversion without relying on LLM arithmetic — particularly for crypto addresses, EVM data, financial hex-encoded values, or any context where rounding or hallucination would be unacceptable. Prefer this over asking an LLM to do mental math on hex.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:50:28.053Z","isFirstParty":false}