{"uid":"cap_zttHcaMnHYApYWwrUICzp","slug":"vaaya-anthropic-claude-messages-api-keyless-pay-per-call-12bcbef2","name":"Vaaya – Anthropic Claude Messages API (Keyless Pay-Per-Call)","description":"Anthropic — Claude Messages API, keyless pay-per-call (price varies by model + tokens). Pass standard /v1/messages params: `model` (e.g. claude-sonnet-5), `max_tokens`, `messages`.","url":"https://vaaya.ai/api/run/anthropic/messages?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["model","max_tokens","messages"],"properties":{"model":{"type":"string","minLength":1},"messages":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true},"minItems":1},"max_tokens":{"type":"integer","exclusiveMinimum":0}},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xqDaE8rkrhUSsqQ-qnKYw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends messages to Anthropic's Claude models via a keyless pay-per-call proxy, returning Claude's response without requiring an Anthropic API key.","exampleAgentPrompt":"Ask Claude claude-sonnet-5 to summarize the following text in 3 bullet points, with a max of 500 tokens: 'The Amazon rainforest, often referred to as the lungs of the Earth, plays a crucial role in regulating the global climate by absorbing vast amounts of carbon dioxide.'","exampleUseCases":[{"title":"On-demand Claude reasoning for agents","prompt":"Use Claude sonnet to answer this multi-step reasoning question without me needing an Anthropic key: 'If a train leaves Chicago at 60mph and another leaves New York at 80mph, and they are 800 miles apart, when do they meet?' Give me up to 1024 tokens."},{"title":"Keyless Claude summarization pipeline","prompt":"I need to summarize a batch of customer feedback comments using Claude — use claude-sonnet-5, limit the response to 300 tokens, and pass each comment as a user message so I don't have to manage API keys myself."},{"title":"Agent-to-Claude conversational relay","prompt":"Have Claude haiku continue this conversation: the user said 'explain quantum entanglement simply' and I want Claude to respond like it's talking to a curious 15-year-old — cap the reply at 800 tokens."}],"resultDescription":"Returns a standard Anthropic Claude /v1/messages response object containing the assistant's generated reply, usage statistics (input/output tokens), model identifier, stop reason, and message metadata — identical to calling Anthropic's API directly.","failureModes":["Invalid or unsupported model name returns an error","max_tokens set to 0 or negative rejected by schema validation","Empty messages array fails required field validation","Payment failure (insufficient USDC) blocks the call","Rate limiting or quota exhaustion on the underlying Anthropic account","Malformed message object in the messages array causes a parse error"],"whenToPreferThis":"Choose this endpoint when your agent needs to call Claude without storing or managing an Anthropic API key, wants pay-per-call billing in USDC rather than a subscription, or is operating in an environment where provisioning API credentials is impractical. Ideal for one-off Claude calls, agent pipelines without key management infrastructure, or when you want to pay per use rather than committing to a monthly plan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T12:30:42.654Z","isFirstParty":false,"canonicalSlug":"vaaya-anthropic-claude-messages-api-keyless-pay-per-call-12bcbef2"}