{"uid":"cap_gWAiI87LbPizYRK4RBTKn","slug":"x402-ai-text-translator-claude-haiku-58006b40","name":"x402 AI Text Translator (Claude Haiku)","description":"Translate text into any target language, via Claude Haiku 4.5. JSON body: {text: string (max 8000 chars), target_lang: string (e.g. French, es, Japanese)}.","url":"https://x402-seller-0ay3.onrender.com/api/ai/translate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to translate (max 8000 chars)."},"target_lang":{"type":"string","description":"Target language (name or code, e.g. French, es, Japanese)."}}},"responseSchema":{"type":"json","example":{"target_lang":"French","translated_text":"Où est la gare la plus proche ?"}},"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_FASAj1H3NO1QcmrQmrscy","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":"Translates up to 8000 characters of text into any target language using Claude Haiku 4.5, returning the translated text as JSON.","exampleAgentPrompt":"Can you translate this text into Japanese: 'Where is the nearest train station? I need to catch my connecting flight in 30 minutes.'","exampleUseCases":[{"title":"Customer support message localization","prompt":"I have a customer support reply I need to send but the customer writes in French — can you translate this into French: 'Thank you for contacting us. Your refund has been processed and should appear within 3-5 business days.'"},{"title":"Multilingual product description","prompt":"Translate this product description into Spanish so I can list it on our Latin American storefront: 'Handcrafted leather wallet with RFID blocking, 6 card slots, and a slim profile that fits in your front pocket.'"},{"title":"Travel phrasebook generation","prompt":"I'm heading to Tokyo next week — can you translate these three phrases into Japanese: 'Do you have a vegetarian menu?', 'How much does this cost?', and 'Where is the nearest metro station?'"}],"resultDescription":"Returns a JSON object containing the target language identifier (as provided) and the translated text string. Example: {\"target_lang\": \"French\", \"translated_text\": \"Où est la gare la plus proche ?\"}","failureModes":["Text exceeds 8000 character limit — request rejected or truncated","Unrecognized or ambiguous target language code — translation may fail or default unexpectedly","Claude Haiku API unavailability — 5xx error from upstream","Malformed JSON body (missing required fields) — 400 bad request","Very rare or low-resource languages may yield low-quality translations","Render cold-start latency on first call after inactivity"],"whenToPreferThis":"Choose this endpoint when you need quick, general-purpose text translation powered by a large language model (Claude Haiku) that handles natural, nuanced phrasing better than dictionary-based translators. It accepts both language names and ISO codes, supports a wide range of languages, and costs only $0.01 USDC per call with no API key required — ideal for agents that need on-demand translation without managing separate NLP service credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:39:35.745Z","isFirstParty":false}