{"uid":"cap_O5V22JoVnGk1Z9lReVbFS","slug":"datapipe-api-text-translation-c97ab7b2","name":"DataPipe API — Text Translation","description":"Multi-source data API for AI agents. Search, news, Reddit, translation, web scraping. Pay with x402 on Base chain.","url":"https://kidnapi.vercel.app/api/translate","method":"POST","headers":{},"bodySchema":{"type":"object","required":["lang","text"],"properties":{"lang":{"type":"string"},"text":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qVA1OX1g5I5xRX0AyJU56","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates text into a specified target language, payable with USDC via x402 on Base chain","exampleAgentPrompt":"Translate the following text to French: 'The weather today is sunny and warm, perfect for a walk in the park.'","exampleUseCases":null,"resultDescription":"Returns a JSON object with a 'success' boolean and a 'data' object containing the translated text in the requested target language.","failureModes":["Unsupported language code returns an error or empty translation","Missing 'lang' or 'text' field causes a 400-level validation error","Very long text inputs may time out or be truncated","Payment failure via x402 results in a 402 Payment Required response","Ambiguous or malformed language codes may produce unexpected language output"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a pay-per-call, no-subscription translation capability accessible via x402 micropayments on Base chain, especially when integrating with other DataPipe multi-source data tools (search, news, Reddit, scraping) in the same pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:31:56.317Z","isFirstParty":false}