{"uid":"cap_o6ehUt4uRv-tlxNkjVCRt","slug":"strale-text-translation-api-797a5269","name":"Strale Text Translation API","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["text","target_language"],"properties":{"text":{"type":"string","description":"Text to translate"},"source_language":{"type":"string","description":"Source language (optional, auto-detected)"},"target_language":{"type":"string","description":"Target language (e.g. English, Swedish, French)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.054","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.054/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YD1slnsbeBSIRoLLI546d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","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 a translated string with an audit record.","exampleAgentPrompt":"Can you translate this text — 'Hej, hur mår du?' — into English? The source language is Swedish.","exampleUseCases":[{"title":"Customer support multilingual reply","prompt":"Translate this customer message into English so I can understand it: 'Bonjour, je n'arrive pas à me connecter à mon compte.' The source language is French."},{"title":"Localize product listing to German","prompt":"I need to translate this product description into German: 'Lightweight running shoes with extra cushioning, available in sizes 6–12.' Auto-detect the source language."},{"title":"Translate legal notice to Spanish","prompt":"Translate the following notice into Spanish: 'Your account has been suspended due to a violation of our terms of service. Please contact support.' Source language is English."}],"resultDescription":"Returns the translated text in the requested target language, along with an audit record containing a cryptographic chain hash for traceability. The response is structured JSON confirming the translation output and provenance metadata.","failureModes":["Missing required 'text' parameter returns a 400 validation error","Missing required 'target_language' returns a 400 validation error","Unsupported or misspelled target language may return an error or fallback","Very long text inputs may be truncated or rejected","Payment not settled (x402 flow failure) results in a 402 response","Auto-detection failure on ambiguous or very short input may produce an inaccurate source language guess"],"whenToPreferThis":"Choose this endpoint when you need a translation API that provides an auditable, cryptographically chained record of every call — useful for compliance-sensitive workflows, multi-agent pipelines requiring traceability, or regulated environments. Prefer it over generic translation APIs when audit trails and per-call micropayment pricing (via x402) fit your architecture, or when operating within an existing Strale agent infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:14:30.086Z","isFirstParty":false}