{"uid":"cap_rLILkomlm6Ql27vQHeOFX","slug":"dotrockets-x402-text-url-translation-api-d99edf42","name":"dotrockets x402 Text & URL Translation API","description":"Machine-payable APIs for AI agents over x402: cosmic live data, AI-visibility scoring, website screenshots, and scrape-to-markdown. Pay per call in USDC on Base. No API keys, no signup.","url":"https://x402.dotrockets.com/v1/translate","method":"GET","headers":{},"bodySchema":{"type":"object","required":["to"],"properties":{"to":{"type":"string","description":"Zielsprache, z.B. de, en, fr"},"url":{"type":"string","description":"oder Webseite"},"from":{"type":"string","description":"Quellsprache (Default auto)"},"text":{"type":"string","description":"zu übersetzender Text"}}},"responseSchema":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"translation":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fy9VhX8_wZFrUUfcJT1GZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates text or web page content into a target language, with optional source language specification, paying per call in USDC via x402.","exampleAgentPrompt":"Translate the following text into German for me: 'The weather today is sunny and warm, perfect for a walk in the park.' Auto-detect the source language.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the target language code ('to'), the detected or specified source language ('from'), and the translated text ('translation').","failureModes":["Missing required 'to' parameter returns an error — target language code is mandatory","Invalid or unsupported language code may return an error or unexpected output","If neither 'text' nor 'url' is provided, the request may fail or return empty translation","URL that is inaccessible or returns non-text content may fail to translate","Auto-detection may mis-identify the source language for very short or ambiguous text snippets","Payment failure via x402 returns 402 Payment Required before translation is attempted"],"whenToPreferThis":"Choose this endpoint when your agent needs machine-payable, no-signup text or webpage translation billed per call in USDC on Base. Ideal for agentic pipelines that require pay-as-you-go translation without managing API keys, and supports both raw text and URL-based webpage translation in a single endpoint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:40:11.678Z","isFirstParty":false}