{"uid":"cap_v-AiXnjZPKD_XJVkRPgaA","slug":"x402-api-key-url-readiness-check-d895cb01","name":"x402 API Key + URL Readiness Check","description":"Buy a low-cost readiness check first, then buy a small OpenAI-compatible URL + API key quota pack through x402, including GPT-5.6 Soul access when your upstream key allows it. The readiness check returns URL, model, request-shape, and next-pack contract details without exposing a key.","url":"https://x402-key.558686.xyz/v1/tools/api-url-readiness-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"tool":"api-url-readiness-check","input":{"client":"openai-compatible","targetModel":"gpt-5.6-sol"},"route":"/v1/tools/api-url-readiness-check","result":{"baseUrl":"https://example.com","modelsUrl":"https://example.com/models","requestShape":"requestShape_example","nextPaidRoute":true,"secretBoundary":"secretBoundary_example","supportedModels":"supportedModels_example","chatCompletionsUrl":"https://example.com/chat/completions"},"project":"x402-key-url-tools","deterministic":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__leOiXc1QznlJ1C1EqElp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns OpenAI-compatible base URL, supported models, request shape, and next-pack contract details for an x402 API key quota pack without exposing a secret key.","exampleAgentPrompt":"Before I buy an x402 API key pack, check the readiness endpoint for an openai-compatible client targeting gpt-5.6-sol and tell me what URL, supported models, and request shape I'd get.","exampleUseCases":[{"title":"Discover available models before purchasing","prompt":"I want to use x402 to access GPT-5.6 Soul — can you run a readiness check with client type openai-compatible and target model gpt-5.6-sol so I know what URLs and models are actually supported before I spend anything?"},{"title":"Retrieve chat completions URL for agent integration","prompt":"I'm building an agent that needs an OpenAI-compatible endpoint through x402. Run the readiness check for client openai-compatible and targetModel gpt-4o so I can get the chatCompletionsUrl and request shape to hardcode into my config."},{"title":"Confirm next paid route before quota pack purchase","prompt":"I'm about to buy an x402 API key pack — can you do the readiness check first with client openai-compatible and targetModel gpt-5.6-sol to confirm there's a nextPaidRoute available and what the secretBoundary looks like?"}],"resultDescription":"A JSON object containing: ok status, the tool name, echoed input parameters, baseUrl, chatCompletionsUrl, modelsUrl, a list of supportedModels, the requestShape format string, a boolean nextPaidRoute indicating whether a paid pack is purchasable next, and a secretBoundary descriptor — all without exposing an actual API key.","failureModes":["Unsupported targetModel value returns empty or error result","Unknown client type may yield no matching configuration","Network or gateway errors may return non-200 response","Payment of $0.002 USDC required per call; insufficient balance causes 402 rejection","Stale or misconfigured upstream may return ok:false with empty result fields"],"whenToPreferThis":"Use this endpoint as a mandatory first step before purchasing any x402 API key quota pack — it gives you the exact URLs, model list, request shape, and next-pack contract details without spending more than $0.002 USDC. Prefer it over guessing endpoint URLs or formats, especially when integrating an OpenAI-compatible client against an x402-gated gateway.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T01:28:18.448Z","isFirstParty":false,"canonicalSlug":"x402-api-key-url-readiness-check-d895cb01"}