{"uid":"cap_4lXDsdx69cbxv7UzfREce","slug":"netintel-short-translation-ec270139","name":"NetIntel Short Translation","description":"Translate up to 500 words between languages using Claude Haiku — auto-detects source language, supports 30+ target languages, preserves formatting, and returns the translation with detected source so agents can localize short content cheaply. For longer text use /translate/long.","url":"https://netintel-production-440c.up.railway.app/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.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_75vO5_28LC_u7svb5gjJe","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 a short text snippet into a target language and returns a grade, word count, detected source language, and service quality score","exampleAgentPrompt":"Translate 'Hello world' from English into French — I need the translated text, the detected source language, and a quality grade for the result.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the translated text, detected source language, target language, a letter grade (e.g. 'A'), word count of the input, a service score (0-100), and an array of findings/notes about the translation quality.","failureModes":["Unsupported language pair returns error or low service score","Input text too long for the 'short' tier (word count limit exceeded)","Missing or malformed target language parameter causes 4xx error","x402 payment failure if USDC balance is insufficient or payment header is missing","Empty input text returns zero word count with no translation"],"whenToPreferThis":"Use this endpoint when translating short text snippets (a few words to a couple of sentences) and you need both the translated output and structured metadata like language detection, quality grading, and a service score — particularly when operating in a pay-per-call micropayment environment on Base mainnet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:46:24.268Z","isFirstParty":false}