{"uid":"cap_BXmYbOfgs1FMn1k40Svtp","slug":"agentbit-hex-decoder-be816902","name":"AgentBIT Hex Decoder","description":"Hex-decode a hex string (optional 0x prefix) back to bytes, returned as UTF-8 (when printable) and base64. Rejects odd-length or non-hex input.","url":"https://agentbit.app/v1/decode/hex?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string"}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LxCy9Z0U0D3ZL26zoapUZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a hexadecimal-encoded string and returns the decoded result","exampleAgentPrompt":"Can you decode this hex string for me: 48656c6c6f20576f726c64?","exampleUseCases":[{"title":"Decoding smart contract return values","prompt":"I got this hex value back from a smart contract call: 000000000000000000000000000000000000000000000000000000000000002a — can you decode it to see what it actually says?"},{"title":"Reading hex-encoded log data","prompt":"There's a hex-encoded message in this transaction log: 546f6b656e207472616e736665727265642073756363657373fully — can you decode it to plain text?"},{"title":"Debugging hex output from a tool","prompt":"My security scanner returned this hex blob and I need to know what it says: 4572726f723a20496e76616c696420696e707574 — can you decode it?"}],"resultDescription":"A JSON object containing the decoded result of the provided hexadecimal input string, converting hex-encoded bytes into a human-readable or usable format such as plain text or numeric values.","failureModes":["Invalid hex string (odd length or non-hex characters) — likely returns an error response","Empty input — may return an error or empty result","Input includes '0x' prefix that may or may not be handled — behavior unclear","Ambiguous encoding target (text vs binary) — output format may not always be predictable"],"whenToPreferThis":"Use this endpoint when you have a raw hex string that needs to be decoded into its underlying text or binary representation, especially in contexts involving blockchain data, protocol outputs, or any hex-encoded payloads. It is pay-per-call with no signup required, making it ideal for ad-hoc agent use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T12:37:03.132Z","isFirstParty":false,"canonicalSlug":"agentbit-hex-decoder-be816902"}