{"uid":"cap_197qiL64ggxMUNfxsuOTi","slug":"delx-commerce-is-hex-shape-validator-af96b5cf","name":"Delx Commerce — Is Hex Shape Validator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/is-hex-shape?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hex":{"type":"string","description":"Input field: hex."}}},"responseSchema":{"type":"json","example":{"hex":"0xffaa","valid":true,"schema":"delx/util-is-hex-shape/v1"}},"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_x4Z2dFxSi8H580ZsZtrCa","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":"Validates whether a given string conforms to a hexadecimal format (e.g. 0xffaa)","exampleAgentPrompt":"Can you check if '0xffaa' is a valid hex-shaped string?","exampleUseCases":[{"title":"Blockchain address format check","prompt":"Before I submit this transaction, can you verify that '0x1a2b3c4d5e6f7890abcdef1234567890abcdef12' is actually a valid hex-shaped string?"},{"title":"Color code hex validation","prompt":"I have this color value '#ff5733' — can you tell me if it follows a valid hex format?"},{"title":"Encoded data pre-flight check","prompt":"I'm about to pass '0xdeadbeef' as a parameter — can you confirm it's properly hex-shaped before I use it?"}],"resultDescription":"Returns a JSON object containing the original hex input, a boolean 'valid' field indicating whether it conforms to hex shape, and a schema identifier string ('delx/util-is-hex-shape/v1').","failureModes":["Missing 'hex' field in request body returns an error","Non-string input types may cause validation failure or error","Empty string may return valid: false","Payment not included or insufficient USDC results in 402 response"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call hex format validation with no signup overhead, especially in agent pipelines that require verifiable, on-chain-payable utility calls over USDC. Ideal when you need a quick boolean check on whether a string is hex-shaped before passing it to blockchain or encoding workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:44.314Z","isFirstParty":false,"canonicalSlug":"delx-commerce-is-hex-shape-validator-af96b5cf"}