{"uid":"cap_aKZ2bwryvjCrQfIBdrZ5G","slug":"one-engine-hex-encode-f81b05b7","name":"ONE Engine Hex Encode","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/hex/encode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"hex":"4f4e45"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_2NluBEeVcyNDthJyWcfG7","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 a plain text string into its hexadecimal representation","exampleAgentPrompt":"Can you hex-encode the string 'Hello World' for me?","exampleUseCases":[{"title":"Encoding a secret key string","prompt":"Take the text 'MySecretKey123' and give me its hexadecimal encoding so I can use it in a low-level protocol."},{"title":"Preparing payload for blockchain transaction","prompt":"I need to embed the message 'transfer approved' into a smart contract call — can you convert that text to hex for me?"},{"title":"Debugging binary protocol data","prompt":"Convert the string 'ONE ENGINE' to hex so I can verify it matches the expected byte sequence in my network packet inspector."}],"resultDescription":"A JSON object containing a single field 'hex' with the hexadecimal-encoded representation of the input text string (e.g. {'hex': '4f4e45'}).","failureModes":["Missing or empty 'text' field returns an error response","Non-UTF-8 or malformed input may produce unexpected encoding","Network timeout on the Cloudflare Workers edge","Payment failure via x402 prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call hex encoding of a plain text string without setting up any local library or dependency. At $0.001 USDC per call via x402 on Base, it's ideal for autonomous agents that occasionally need hex encoding as part of a larger workflow and prefer a lightweight API call over bundling encoding logic themselves.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:32.168Z","isFirstParty":false,"canonicalSlug":"one-engine-hex-encode-f81b05b7"}