{"uid":"cap_8GDvmP_vQQ9bMAmx_wDcw","slug":"pennyrail-hex-encoder-text-to-hex-bf5453a9","name":"PennyRail Hex Encoder (Text to Hex)","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/encoding.hex-encode--text-to-hex","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_h53n_tFRaEcy2BeFxn4vb","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":"Encodes a plain text string into its hexadecimal representation","exampleAgentPrompt":"Can you hex-encode the text 'Hello, World!' for me? I need the hexadecimal representation of that string.","exampleUseCases":[{"title":"Encoding message for network protocol","prompt":"I need to encode the string 'STATUS_OK: request accepted' into hexadecimal before I put it into my network packet payload — can you do that?"},{"title":"Hex-encoding config value for storage","prompt":"Hex-encode this config value for me: 'db_password=s3cr3t!@#' so I can store it in a binary-safe format."},{"title":"Debugging binary data representation","prompt":"What does the text 'PING' look like as a hex string? I'm trying to debug a socket message and need the raw hex bytes."}],"resultDescription":"Returns a JSON object containing the hexadecimal-encoded version of the input text string, where each character is represented by its corresponding two-digit hex byte sequence.","failureModes":["Missing or empty 'input' field returns a validation error","Non-string input may be rejected or produce unexpected output","Very long strings may hit payload size limits","Service unavailability returns HTTP 402 or 5xx if payment or server issues occur","Malformed JSON request body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a simple, reliable, pay-per-call text-to-hex encoding service without setting up local utilities. It is ideal for AI agents operating in environments without native encoding libraries, or when you need a consistent API-based encoding step in an automated pipeline. At $0.001 USDC per call it is cost-effective for occasional encoding needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:54:44.449Z","isFirstParty":false}