{"uid":"cap_snpWuvR5UrQQVNzfmXxm7","slug":"delx-commerce-environment-key-validator-2f8fc993","name":"Delx Commerce — Environment Key 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/env-key-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","description":"Input field: key."}}},"responseSchema":{"type":"json","example":{"key":"X402_PRIVATE_KEY","valid":true,"length":16,"schema":"delx/util-env-key-validate/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_zNDGNWi7ySehxPhmpPs69","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 environment key string is well-formed and meets expected format requirements","exampleAgentPrompt":"Can you check whether this key string is valid and properly formatted — it's supposed to be my X402_PRIVATE_KEY: 'abc123xyz789qrst'?","exampleUseCases":[{"title":"Pre-flight env key check","prompt":"Before I deploy my agent workflow, can you validate that this environment key 'X402_PRIVATE_KEY=sk_live_abc123xyz789qrst' is properly formatted and the right length?"},{"title":"Debug misconfigured key","prompt":"My agent keeps failing at startup — can you validate this key string 'badkey_xyz' to see if it's actually well-formed or if that's what's causing the issue?"},{"title":"Confirm key format after rotation","prompt":"I just rotated my environment key to 'nk_prod_0987654321abcdef' — can you verify it's valid and meets the expected schema before I push it to production?"}],"resultDescription":"Returns a JSON object indicating the key name (e.g. 'X402_PRIVATE_KEY'), whether the key is valid (boolean), its character length, and the schema identifier ('delx/util-env-key-validate/v1') that was used to validate it.","failureModes":["Empty or missing key field returns validation failure","Malformed or too-short key string returns valid=false","Network or payment failure (x402 USDC micropayment not processed) blocks the call","Invalid JSON body returns 400-level error"],"whenToPreferThis":"Use this endpoint when an AI agent or automation workflow needs to programmatically verify that an environment key string is correctly formatted before injecting it into a configuration or downstream API call. It is particularly suited for agent pipelines that rotate or receive keys dynamically and need lightweight, cheap ($0.001 USDC) validation without standing up their own key-format logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:51.461Z","isFirstParty":false,"canonicalSlug":"delx-commerce-environment-key-validator-2f8fc993"}