{"uid":"cap_BvQpMPY5Y0jxLUocDUiFF","slug":"scrape402-llm-ask-claude-2da457fa","name":"scrape402 LLM Ask (Claude)","description":"LLM completion at a flat price — no signup, no API keys, no token math. Body: {prompt (required), system?, max_tokens? (<=512), temperature?}. Runs Anthropic's Claude Haiku (current cheapest tier); prompt up to 5000 utf-8 bytes (~1000 English words). Stateless; prompts are not logged or retained. Returns {model, text, stop_reason, usage}. Use for summarization, classification, extraction, rewriting, or quick reasoning mid-pipeline.","url":"https://x402.shizu.me/ask","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{},"max_tokens":{}}},"responseSchema":{"type":"json","example":{"text":"x402 lets clients pay per HTTP request with USDC micropayments.","model":"claude-haiku-4-5","usage":{"input_tokens":21,"output_tokens":14},"stop_reason":"end_turn"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cVLiVmJP1Gk_eOJTEbzX1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Send a natural language prompt to a Claude LLM and receive a text response, paid per-call via USDC micropayment on Base — no API keys required.","exampleAgentPrompt":"Ask Claude: 'What are the main differences between proof-of-work and proof-of-stake blockchains?' — limit the answer to 200 tokens, and pay the $0.01 USDC fee per call.","exampleUseCases":[{"title":"Quick factual Q&A for autonomous agent","prompt":"I need a quick answer from Claude: 'Summarize the x402 payment protocol in one paragraph.' Keep it under 150 tokens."},{"title":"On-demand content generation without credentials","prompt":"Generate a short product tagline for a crypto wallet app called 'ShizuPay' — ask Claude and cap the response at 100 tokens."},{"title":"Dynamic prompt answering in a pipeline","prompt":"My pipeline needs to ask an AI: 'Given the token usage stats input_tokens=21 and output_tokens=14, what is the total token cost?' Use the pay-per-call LLM, max 80 tokens."}],"resultDescription":"A JSON object containing the generated text answer from Claude Haiku, the model identifier (e.g. 'claude-haiku-4-5'), token usage counts (input and output tokens), and the stop reason (e.g. 'end_turn').","failureModes":["Payment not included or insufficient USDC — returns 402 Payment Required","max_tokens missing or invalid — returns 400 Bad Request","prompt field missing — schema validation error","Rate limit or model overload — returns 503 or timeout","Malformed JSON body — returns 400 or 422 Unprocessable Entity"],"whenToPreferThis":"Choose this endpoint when you need anonymous, keyless LLM inference and are willing to pay $0.01 USDC per call via x402 on Base — ideal for AI agents that lack static API credentials, need a lightweight Claude Haiku response, or are running in trustless/permissionless environments where signup is not feasible.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:06.378Z","isFirstParty":false}