{"uid":"cap_JKWEh1QU8KA_dZN9HGBXR","slug":"hex-decode-b03253a3","name":"Hex Decode","description":"Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.","url":"https://x402-gateway-production-1f21.up.railway.app/hex/decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string","maxLength":500000}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_6lGMIQqO1vp9GTNeAhhWC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a hexadecimal-encoded string back into its original plaintext or binary representation","exampleAgentPrompt":"Can you decode this hex string for me: '48656c6c6f20576f726c64'? I need to see what the original text says.","exampleUseCases":[{"title":"Decode hex API response payload","prompt":"I got this hex-encoded value back from a sensor API: '537461747573204f4b'. Can you decode it to see what message it contains?"},{"title":"Reverse hex checksum for audit","prompt":"Our log file has this hex string '4572726f723a20496e76616c696420696e707574' and I need to decode it back to readable text for our audit trail."},{"title":"Convert hex-encoded config value","prompt":"There's a hex value in our config file — '436f6e6e656374696f6e20737472696e67' — can you decode it to plain text so I can verify what it represents?"}],"resultDescription":"Returns the decoded plaintext or binary representation of the provided hex-encoded input string, allowing the caller to read the original data that was hex-encoded.","failureModes":["Invalid hex string (odd length or non-hex characters) returns an error","Input exceeds 500,000 character limit","Malformed request body missing the required 'value' field","Payment failure or insufficient USDC balance blocks the call"],"whenToPreferThis":"Use this endpoint when you need a machine-payable, on-demand hex decoding utility without spinning up your own infrastructure — especially useful in automated agent pipelines that already use the x402 micropayment protocol and need lightweight encoding utilities alongside other tools on the same gateway.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:47:23.390Z","isFirstParty":false,"canonicalSlug":"hex-decode-b03253a3"}