{"uid":"cap_k9fG1fNVzMhJj-HCTjjf7","slug":"netintel-translate-short-687194f3","name":"NetIntel Translate Short","description":"Translate text between languages — text translation API for short content: translate a sentence, chat message, or up to 500 words to English, Spanish, French, Chinese, or any of 30+ languages. Language translation with auto-detected source language, formatting preserved; returns the translation plus detected source. Machine translation via Claude Haiku for agents localizing content cheaply. For longer documents use /translate/long.","url":"https://netintel.dev/translate/short","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text","target"],"properties":{"text":{"type":"string","description":"The text to translate. Max 500 words (and 50KB). For longer documents use /translate/long. Aliases also accepted: q, input, content, message."},"source":{"type":"string","description":"Optional source language (ISO 639-1 code or English name). When omitted, the source language is auto-detected. Aliases also accepted: source_language, from."},"target":{"type":"string","description":"Target language as an ISO 639-1 code (e.g. \"fr\") or English name (e.g. \"French\"). 30+ languages mapped directly; other values (endonyms, qualified names) are interpreted by the model with a targetHint finding. Required. Aliases also accepted: target_lang, target_language, to, lang, targetLanguage. (The response returns this as target_language.)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"tier":{"type":"string","description":"Pricing tier — always \"short\" for this endpoint"},"grade":{"type":"string","description":"Letter grade A-F derived from service_score"},"findings":{"type":"array","description":"Plain-string hints — e.g. a targetHint string when the target language was model-interpreted"},"word_count":{"type":"number","description":"Word count of the input text"},"translation":{"type":"string","description":"The translated text, formatting preserved"},"service_score":{"type":"number","description":"Endpoint health score 0-100 (100 on success)"},"source_detected":{"type":"boolean","description":"true when the source language was auto-detected; false when supplied by the caller"},"source_language":{"type":"string","description":"ISO 639-1 code of the source language (detected or supplied)"},"target_language":{"type":"string","description":"ISO 639-1 code of the target language"}}}}}}},"responseSchema":{"type":"json","example":{"tier":"short","grade":"A","findings":[],"word_count":2,"translation":"Bonjour le monde","service_score":100,"source_detected":true,"source_language":"en","target_language":"fr"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q9dOomNTrzrsDD6qzj4cx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates short text snippets between languages with quality grading and source language detection","exampleAgentPrompt":"Translate 'Bonjour le monde' to English using the short-tier translation and let me know what source language was detected and what quality grade the translation gets.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the translated text, detected source language, target language, a letter quality grade (e.g. A), a numeric service score (0-100), the word count, and any findings or issues noted during translation — all under the 'short' tier.","failureModes":["Unsupported language pair returns an error or empty translation","Input text too long for the 'short' tier may be rejected or truncated","Missing target language parameter causes a 400 bad request","Payment failure via x402 returns a 402 Payment Required before translation is attempted","Source language detection fails if input is ambiguous or too short"],"whenToPreferThis":"Use this endpoint when translating short text snippets (a few words to a couple of sentences) and you need not just the translation but also source language detection and a quality grade. Prefer this over generic translation APIs when you want structured quality feedback (grade + service score) and are comfortable with pay-per-call micropayment billing via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:52:48.178Z","isFirstParty":false}