{"uid":"cap_4l5-Sa2l5CN0Ixp6dljp2","slug":"netintel-api-long-form-text-translation-f4e93572","name":"NetIntel API — Long-Form Text Translation","description":"Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).\n\nNetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.","url":"https://netintel-production-440c.up.railway.app/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.08","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.08/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_z5vaNocmFoEjpU8vpk23_","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 to a target language with quality grading, word count, and service scoring via pay-per-call micropayment","exampleAgentPrompt":"Translate this long article about the James Webb Space Telescope into German and tell me what grade the translation gets: '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":[{"title":"Grade translation quality for customer support","prompt":"I need to translate our support documentation into Spanish for our Latin American customers. Can you translate this section and give me a quality grade so I know if it's good enough to publish: 'Our support team is available 24/7 to help resolve any technical issues you encounter with our platform. We aim to respond to all inquiries within two hours during business days.'"},{"title":"Assess blog post translation for publishing","prompt":"We're expanding our blog to French-speaking markets. Please translate this entire blog post about our new product feature and tell me the quality score so our team knows if it needs editorial review: 'Machine learning models are becoming increasingly sophisticated, enabling businesses to automate complex workflows and make data-driven decisions faster than ever before. Our latest release brings these capabilities directly to your workflow.'"},{"title":"Detect language and grade translated document","prompt":"I received a long customer testimonial in an unknown language and need it translated to English with a quality assessment. Can you figure out what language it's in, translate it, and give me a confidence grade on how good the translation is?"}],"resultDescription":"Returns a JSON object containing: the translated text in the target language, the detected source language, the target language, a quality grade (e.g. 'A'), word count of the translation, a service score (0-100), a tier label ('long'), and a boolean indicating whether the source language was auto-detected.","failureModes":["Unsupported language pair returns an error or low service_score","Text too short for 'long' tier may be rejected or mis-tiered","Payment failure via x402 returns 402 status with payment details","Missing or malformed request body returns 400 validation error","Rate limiting or server overload on Railway returns 503"],"whenToPreferThis":"Use this endpoint when you need to translate longer texts (multi-sentence, paragraph, or article-length) with accompanying quality grading and service scoring. Prefer it over basic translation APIs when you need a confidence/grade signal alongside the translated output. Best for agents that need to assess translation quality programmatically, not just receive raw translated text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:46:37.112Z","isFirstParty":false}