{"uid":"cap_NtGmzEu3dS6W-dZehN2sz","slug":"deepl-translate-via-locus-x402-722f6991","name":"DeepL Translate via Locus x402","description":"Locus public pay-per-use API","url":"https://deepl.x402.paywithlocus.com/deepl/translate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"array","items":{"type":"string"}},"context":{"type":"string"},"formality":{"type":"string"},"model_type":{"type":"string"},"source_lang":{"type":"string"},"target_lang":{"type":"string"},"tag_handling":{"type":"string"},"split_sentences":{"type":"string"},"preserve_formatting":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bgV2VTI7-IygXSI-7SDTQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates text between 30+ languages with professional quality using DeepL's neural translation engine, with options for formality, formatting, and markup handling.","exampleAgentPrompt":"Translate these three product descriptions into Japanese using DeepL — use quality_optimized mode and prefer a formal tone: 'Wireless noise-cancelling headphones', 'Ultra-slim laptop stand', 'Portable Bluetooth speaker'.","exampleUseCases":[{"title":"E-commerce product localization","prompt":"I need to translate these 10 product titles into German and French for my online store — please use DeepL with quality_optimized mode and a formal register so they sound professional."},{"title":"Multilingual customer support replies","prompt":"Translate this customer support response into Spanish, keeping a friendly and slightly informal tone: 'We're sorry to hear about your experience. Our team will reach out within 24 hours to resolve your issue.'"},{"title":"HTML newsletter translation","prompt":"Translate this HTML email newsletter from English to French using DeepL — make sure the HTML tags are preserved exactly and use the default formality level."}],"resultDescription":"Returns a JSON object containing the translated texts in the `data` field, along with payment details (settled USDC amount, authorized max) and a request object with a unique ID and a status URL for tracking. The actual translated strings are nested under `data`.","failureModes":["Unsupported target_lang code returns an error — must use valid DeepL language codes like DE, FR, JA","Submitting more than 50 text items at once may be rejected","Formality options are not supported for all language pairs — e.g. some languages ignore formality settings","Auto-detection may fail or be inaccurate for very short or ambiguous text snippets","Payment failure or insufficient USDC balance will block the request before translation occurs","Invalid tag_handling value (other than 'xml' or 'html') will cause a schema error"],"whenToPreferThis":"Choose this endpoint when you need professional-grade neural translation (DeepL quality) accessible via a pay-per-call x402 micropayment model, without needing a DeepL API subscription. It's ideal for agents that need to translate batches of up to 50 strings, handle HTML/XML markup safely, control formality levels, or pass contextual hints to improve translation accuracy. Prefer this over generic translation APIs when output quality and nuance (especially for European languages) are important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:37:47.290Z","isFirstParty":false,"canonicalSlug":"deepl-translate-via-locus-x402-722f6991"}