{"uid":"cap_wZ11LeB3HeDtUh3BPh-Ve","slug":"x402-ai-apis-pokemon-auth-chat-completion-db4cf349","name":"x402 AI APIs – Pokemon Auth Chat Completion","description":"Paid AI API endpoints via x402 micropayments","url":"https://x402-ai-peach.vercel.app/api/pokemon-auth","method":"POST","headers":{},"bodySchema":{"type":"object","required":["messages"],"properties":{"stream":{"type":"boolean","description":"Stream response"},"messages":{"type":"array","description":"Chat messages array"},"max_tokens":{"type":"integer","description":"Max tokens"},"temperature":{"type":"number","description":"Temperature"}}},"responseSchema":{"type":"object","properties":{"id":{"type":"string","description":"Response ID"},"choices":{"type":"array","items":{"type":"object","properties":{"message":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"}}}}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wgZ4Guuw_vEJRGitQ-7kZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"A pay-per-call chat completion endpoint gated by x402 micropayments, specialized for Pokemon-authenticated AI conversations","exampleAgentPrompt":"Chat with the Pokemon-auth x402 AI endpoint: send the message history '[{\"role\":\"user\",\"content\":\"What is Pikachu?\"}]' with a max of 200 tokens, temperature 0.7, and streaming disabled.","exampleUseCases":[{"title":"Micropayment-gated AI Q&A bot","prompt":"Send this conversation to the Pokemon-auth AI endpoint: user asks 'Explain the x402 payment protocol in simple terms' — use up to 300 tokens, temperature 0.5, no streaming."},{"title":"Streaming AI assistant response","prompt":"I want to stream a response from the x402 Pokemon-auth AI chat API for the message 'Write a short poem about blockchain payments' with temperature 0.9 and max 150 tokens."},{"title":"Automated per-call AI pipeline","prompt":"Run this message history through the x402 Pokemon-auth chat completion endpoint — messages: [{\"role\":\"system\",\"content\":\"You are a helpful assistant\"},{\"role\":\"user\",\"content\":\"Summarize the history of Pokemon\"}] — max 250 tokens, temperature 0.3, streaming off."}],"resultDescription":"Returns a JSON object containing a response ID and a choices array, where each choice includes an assistant message with a role and content string representing the AI-generated reply.","failureModes":["Payment not provided or insufficient USDC balance — 402 Payment Required response","Messages array missing or malformed — 400 Bad Request","Temperature or max_tokens out of acceptable range — 400 validation error","Upstream AI model timeout — 503 Service Unavailable","x402 facilitator or payment network unavailable — payment processing failure"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call AI chat completion API gated by x402 USDC micropayments, especially in automated agent pipelines where you want fine-grained per-request payment control without a subscription. The Pokemon-auth variant may offer a specific authentication or access tier distinct from other sibling endpoints on the same host.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:05.592Z","isFirstParty":false}