{"uid":"cap_GD3ASm7RbykO63DO2RhOR","slug":"pennyrail-hex-encoder-6277dc25","name":"PennyRail Hex Encoder","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/f/encoding.hex-encode","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"string"}}},"responseSchema":{"type":"object","required":["operation","result"],"properties":{"result":{},"operation":{"type":"string"}},"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_jAY1UW3kud43ukgnNmeBO","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 an input string into its hexadecimal representation","exampleAgentPrompt":"Hex-encode the string 'Hello, World!' for me using PennyRail's encoding service.","exampleUseCases":[{"title":"Encoding binary payload for API","prompt":"Encode the string '\\x00\\xFF\\x1A\\x2B' into hexadecimal so I can safely pass it as a text field in a JSON request."},{"title":"Debugging raw byte values","prompt":"Can you hex-encode 'admin:password123' so I can inspect the raw byte values for debugging?"},{"title":"Preparing data for hash input","prompt":"Take the string 'transaction-id-4892' and convert it to hex format before I pass it into the hashing step."}],"resultDescription":"Returns a JSON object with an 'operation' field (e.g. 'hex-encode') and a 'result' field containing the hexadecimal-encoded representation of the input string.","failureModes":["Missing 'input' field returns a validation error","Non-string input may cause a type error or unexpected result","Payment failure (402) if USDC balance is insufficient","Empty string input may return an empty hex result","Network timeout on the Vercel serverless function"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call hex encoding utility without setting up local libraries, or when running in a sandboxed agent environment that lacks native encoding functions. Useful for lightweight, on-demand string-to-hex conversion in automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:04:33.887Z","isFirstParty":false}