{"uid":"cap_uA_dwlbGjRz86rOJZFFVt","slug":"dopaminedesk-text-translation-api-99e3c621","name":"DopamineDesk Text Translation API","description":"Translate supplied text through MyMemory with source-language autodetection or an explicit language code.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/translate","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text","target_language"],"properties":{"text":{"type":"string","description":"Text to translate."},"source_language":{"type":"string","description":"Source language code (auto-detected if omitted)."},"target_language":{"type":"string","description":"Target ISO 639-1 language code."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","source","source_url","fetched_at","source_language","detected_language","target_language","translated_text","match","marketplace_metadata"],"properties":{"match":{"type":"number"},"source":{"type":"string"},"success":{"type":"boolean"},"fetched_at":{"type":"string"},"source_url":{"type":"string"},"source_language":{"type":"string"},"target_language":{"type":"string"},"translated_text":{"type":"string"},"detected_language":{"type":"string"},"marketplace_metadata":{"type":"object","required":["data_mode","billable","availability","source"],"properties":{"source":{"type":"string"},"billable":{"type":"boolean"},"data_mode":{"type":"string"},"availability":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"match":0.85,"source":"MyMemory Translation API","success":true,"fetched_at":"2026-08-07T07:32:43.468Z","source_url":"https://mymemory.translated.net/doc/spec.php","source_language":"autodetect","target_language":"en","translated_text":"Hi, my package didn't arrive.","detected_language":"fr","marketplace_metadata":"[object with keys: data_mode, billable, availability, source; full example in /openapi.json]"}},"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":"unknown","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_62i2dmmd8sL_BNb6tWJi6","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 text from one language to another with optional auto-detection of the source language, returning the translated text and a confidence score.","exampleAgentPrompt":"Translate this text into English for me — 'Bonjour, mon colis n'est pas arrivé.' — the source language might be French but feel free to auto-detect it.","exampleUseCases":[{"title":"Multilingual customer support triage","prompt":"I just got this support ticket and I'm not sure what language it's in — can you translate it to English so I can respond? The message is: 'Mi pedido llegó dañado y necesito un reembolso.'"},{"title":"E-commerce product localization","prompt":"Translate this product description into Japanese for me: 'Lightweight running shoes with breathable mesh upper and responsive foam sole.' Auto-detect the source language."},{"title":"International document review","prompt":"I have a snippet of a contract in German — 'Der Käufer verpflichtet sich, die Ware innerhalb von 30 Tagen zu bezahlen.' — can you translate it to English and tell me how confident the translation is?"}],"resultDescription":"A JSON object containing the translated text in the target language, the detected or confirmed source language code, and a confidence score between 0 and 1 indicating translation certainty.","failureModes":["Missing or empty text field returns a validation error","Unsupported target language code returns an error indicating the language is not available","Extremely short or ambiguous text may result in incorrect auto-detection of source language and a low confidence score","Malformed language codes may cause a 400 bad request","Network or service unavailability returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-use, agent-native translation service with automatic language detection and a built-in confidence score, settled via USDC on Base. It is especially suitable for AI agents processing multilingual user input, customer messages, or foreign-language documents without committing to a subscription-based translation provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:52:27.994Z","isFirstParty":false}