{"uid":"cap_-xkKHCsi7vDeYoNEaayig","slug":"dev-5090-text-translation-deaad4e6","name":"dev-5090 Text Translation","description":"Translate text into a target language (ISO code: es, de, fr, ja, pt, pl...). Optional domain and tone hints. Returns the translation, the model, usage and latency.","url":"https://pearl-valium-stickers-upc.trycloudflare.com/v1/translate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"usage":{"type":"object"},"target":{"type":"string"},"translation":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EsalYCg4FzSd5BZffxMtV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates input text into a specified target language with optional domain and tone hints, returning the translation, model used, usage stats, and latency.","exampleAgentPrompt":"Translate the following product description into Japanese (ja): 'Our new noise-cancelling headphones deliver studio-quality sound in a lightweight design.' Use a professional tone.","exampleUseCases":[{"title":"Localizing e-commerce product listings","prompt":"Translate this product description into German (de) with a professional tone: 'Handcrafted leather wallet, slim design, RFID-blocking, fits up to 8 cards.'"},{"title":"Customer support multilingual reply","prompt":"I need to reply to a customer in Spanish (es) — translate this message with a friendly, helpful tone: 'Your order has been shipped and should arrive within 3 business days.'"},{"title":"Technical documentation localization","prompt":"Translate this API error message into French (fr) using a formal technical tone: 'Authentication failed. Please check your API key and try again.'"}],"resultDescription":"Returns a JSON object containing the translated text string, the name of the model used, a usage object with token counts, and a latency value indicating how long the translation took.","failureModes":["Unsupported or malformed ISO language code returns an error or falls back to no translation","Very long texts may exceed model context limits causing truncation or timeout","Ambiguous domain/tone hints may yield inconsistent stylistic output","Cloudflare tunnel instability may cause connection timeouts or 5xx errors","Missing target field in the request body likely returns a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, privacy-preserving translation that runs on a local model without sending data to a third-party cloud provider. Particularly useful when translating sensitive or proprietary text, when you want domain and tone control, or when integrating translation into an automated pipeline that supports x402 micropayments. Less suited for bulk batch translation of large corpora or when you need guaranteed SLA uptime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T13:30:00.907Z","isFirstParty":false,"canonicalSlug":"dev-5090-text-translation-deaad4e6"}