{"uid":"cap_UG41jJP_htvKyg97rkiJS","slug":"coinlight-data-encoding-converter-5103d0c9","name":"Coinlight Data Encoding Converter","description":"Coinlight charges USDC per API call with the x402 protocol on Solana and Base.","url":"https://coinlight-app.vercel.app/p/encode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","examples":[{"to":"base58","data":"hello","from":"utf8"}],"required":["data","from","to"],"properties":{"to":{"enum":["utf8","hex","base64","base58"],"type":"string","description":"Target encoding."},"data":{"type":"string","description":"Input data."},"from":{"enum":["utf8","hex","base64","base58"],"type":"string","description":"Encoding of data."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"endpoint":"Base58 / base64 / hex encoder"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oHY6QEepm4chrUzPxx58U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts data between UTF-8, hex, base64, and base58 encodings in a single API call.","exampleAgentPrompt":"Can you convert the string 'hello' from UTF-8 to base58? I need it in Solana's encoding format.","exampleUseCases":[{"title":"Solana key encoding for wallet integration","prompt":"I have a Solana public key stored as hex and I need it converted to base58 so I can display it properly — can you convert '48656c6c6f' from hex to base58?"},{"title":"Decoding a base58 Solana signature","prompt":"I got a Solana transaction signature in base58 and need to inspect the raw bytes — can you decode '3Bxs4ThHdKa8BKHi' from base58 to hex for me?"},{"title":"Base64 to UTF-8 for readable output","prompt":"I have this base64 string 'aGVsbG8gd29ybGQ=' and I want to read it as plain text — can you convert it from base64 to utf8?"}],"resultDescription":"Returns a JSON object containing the converted/encoded output string and a label identifying the endpoint (e.g. 'Base58 / base64 / hex encoder'). The agent receives the re-encoded form of the input data in the requested target format.","failureModes":["Invalid 'from' or 'to' encoding value (not one of utf8/hex/base64/base58) — likely 400 error","Data string that is not valid in the declared source encoding (e.g. malformed hex or base58) — may return error or garbled output","Missing required 'data', 'from', or 'to' query parameters — validation error","Payment failure or expired x402 token — 402 response"],"whenToPreferThis":"Choose this endpoint when you need lightweight, stateless encoding conversion between the four formats supported (utf8, hex, base64, base58) — especially when working with Solana keys or signatures that use base58. Prefer it over local code-based solutions when operating in an agent context without access to crypto libraries, or when working within the Coinlight ecosystem alongside Solana/EVM blockchain tools.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:33:33.816Z","isFirstParty":false,"canonicalSlug":"coinlight-data-encoding-converter-5103d0c9"}