{"uid":"cap_wLdA_MMGap_eGLhn08nGA","slug":"netintel-dev-translate-long-e28011cd","name":"netintel.dev Translate Long","description":"Translate up to 2000 words between languages using Claude Haiku — auto-detects source, supports 30+ target languages, preserves formatting, for larger documents and articles. For short snippets use the cheaper /translate/short.","url":"https://netintel.dev/translate/long","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 2000 words (and 50KB). For shorter snippets use the cheaper /translate/short. 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. \"de\") or English name (e.g. \"German\"). 30+ languages mapped directly; other values (endonyms, qualified names like \"Brazilian Portuguese\") 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 \"long\" 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":"long","grade":"A","findings":[],"word_count":26,"translation":"Das James-Webb-Weltraumteleskop hat sein bisher tiefstes Infrarotbild des Universums aufgenommen und Tausende von Galaxien in einem winzigen Himmelsausschnitt enthüllt.","service_score":100,"source_detected":true,"source_language":"en","target_language":"de"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7mo4igg6M1YQtsP5OgcPK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates long-form text from one language to another, returning a graded translation with quality scoring and source language detection","exampleAgentPrompt":"Translate this 300-word English article about the James Webb Space Telescope into German and give me a quality grade on the translation: 'The James Webb Space Telescope has captured its deepest infrared image of the universe yet, revealing thousands of galaxies in a tiny patch of sky.'","exampleUseCases":null,"resultDescription":"A JSON object containing the translated text, detected source language, specified target language, a letter grade (e.g. 'A') for translation quality, a numeric service score out of 100, word count of the translation, a tier label ('long'), and an array of findings or issues identified during translation.","failureModes":["Unsupported language pair returns an error or low service_score","Text too short for 'long' tier may be rejected or scored poorly","Missing or malformed target_language parameter causes a 4xx error","Micropayment failure via x402 results in 402 Payment Required with no translation returned","Empty or null input text returns an error response"],"whenToPreferThis":"Choose this endpoint when you need to translate substantial, long-form content (paragraphs or full documents) and also want a quality grade and score alongside the translated output. Prefer this over short-text translation endpoints when the content exceeds a sentence or two in length. The grading feature makes it especially useful when translation quality assurance matters, such as for publishing or professional use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:30.637Z","isFirstParty":false}