{"uid":"cap_T343lRycgWq6r-F_-ysCT","slug":"agentfeed-translate-api-2d2024a1","name":"AgentFeed Translate API","description":"Six payment-gated endpoints for AI agents: content extraction, price oracle, URL unfurling, web search, RSS parsing, and translation.","url":"https://agentfeed.up.railway.app/api/v1/translate","method":"POST","headers":{},"bodySchema":{"type":"object","required":["to","text"],"properties":{"to":{"type":"string","description":"Target language code (ISO 639-1)"},"from":{"type":"string","description":"Source language code (ISO 639-1)"},"text":{"type":"string","description":"Text to translate"}}},"responseSchema":{"type":"object","properties":{"to":{"type":"string"},"from":{"type":"string"},"original":{"type":"string"},"charCount":{"type":"integer"},"confidence":{"type":"number"},"translated":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZXKhJkfVXatz3XpiTpQdv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 using ISO 639-1 language codes, returning the translated text with confidence score and character count","exampleAgentPrompt":"Translate this text to Spanish: 'Welcome to our platform, we hope you enjoy your experience here.' — auto-detect the source language and tell me the confidence score.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the translated text, the detected or specified source language code, the target language code, the original input text, the character count of the translated text, and a confidence score (0-1) indicating translation confidence.","failureModes":["Missing required 'to' field returns 400 error","Missing required 'text' field returns 400 error","Unsupported or invalid ISO 639-1 language code returns error","Payment not included or insufficient USDC triggers 402 Payment Required","Text too long may exceed limits and return an error","Unknown source language when 'from' is omitted may reduce confidence"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call translation service integrated into an x402 micropayment workflow, especially for AI agents that require on-demand translation without subscription overhead. Ideal for agents that infrequently translate text and want per-call billing at $0.005 USDC, with language detection support when source language is unknown.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:53.052Z","isFirstParty":false}