# NetIntel Structured Translation API

> NetIntel Structured Translation API is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Translates structured content (JSON, etc.) between languages with placeholder preservation, glossary compliance, and quality grading

## Facts

- Endpoint: POST https://netintel-production-440c.up.railway.app/translate/structured
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-structured-translation-api-b578b7af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bv9X6-_zNzTD4TiCJm8e4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability netintel-structured-translation-api-b578b7af -d '<json body>'
```

Example prompt: Translate this JSON UI string bundle to French — it has placeholders like {{name}} and {{count}} that must stay intact, and I want to enforce that 'dashboard' always becomes 'tableau de bord'. Give me a quality grade when you're done.

## When to prefer this

Choose this endpoint when you need to translate structured/JSON content (not plain prose) and require guarantees around placeholder integrity, custom glossary enforcement, and machine-graded quality scoring. It is especially suited for software localization workflows where breaking template variables or mistranslating brand terms would cause downstream bugs. The pay-per-call x402 micropayment model (no API key required) makes it ideal for agent pipelines that need on-demand translation without account setup.

## Known failure modes

- Invalid or malformed JSON input — returns input validation error, not billed
- Unsupported language code — returns validation rejection, not billed
- Missing required fields — returns validation error, not billed
- Upstream translation service failure — returns server error, not billed
- Placeholder mismatch in output — flagged in placeholder_validation but call still succeeds
- Glossary terms not applicable — returned as missed in glossary_compliance

## How this service works

Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).

NetIntel 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.

## Output

Returns a JSON object containing: the translated structured content preserving original format, a letter grade (e.g. 'A') and numeric score (0-100), detected source language, target language, lists of findings and warnings, glossary compliance details (which terms were applied or missed), and placeholder validation results (found, expected, missing placeholders).

## Request schema (JSON Schema)

```json
{
 "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": [
      "content",
      "target"
     ],
     "properties": {
      "tone": {
       "type": "string",
       "description": "Optional tone guidance, e.g. \"friendly and concise\"."
      },
      "locale": {
       "type": "string",
       "description": "Target locale for regional variants, e.g. \"fr-CA\"."
      },
      "source": {
       "type": "string",
       "description": "Source language. Auto-detected when omitted."
      },
      "target": {
       "type": "string",
       "description": "Target language — ISO 639-1 code (\"fr\") or English name (\"French\"). Aliases also accepted: target_lang, target_language, to, lang."
      },
      "content": {
       "type": "object",
       "description": "The structured content to translate: a JSON object/array, or a string of HTML, Markdown, or template text. Max 32KB / 500 strings."
      },
      "glossary": {
       "type": "object",
       "description": "Enforced term mappings: {\"dashboard\":\"tableau de bord\"}. Compliance is reported per term; a missed term costs 10 points."
      },
      "formality": {
       "type": "string",
       "description": "\"formal\", \"informal\", or \"neutral\" (default)."
      },
      "content_type": {
       "type": "string",
       "description": "One of \"json\", \"html\", \"markdown\", \"template\", \"text\". Auto-detected when omitted; a non-string content is always treated as json."
      },
      "protected_values": {
       "type": "array",
       "description": "Strings that must pass through byte-for-byte — brand names, IDs, SKUs: [\"Acme\",\"SKU-1234\"]. Dropping one fails the call."
      }
     }
    },
    "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": {
      "grade": {
       "type": "string",
       "de
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grade": "A",
  "score": 100,
  "findings": [],
  "warnings": [],
  "translated": {
   "cta": "Cliquez ici pour ouvrir le tableau de bord",
   "greeting": "Bonjour {{name}}"
  },
  "content_type": "json",
  "target_language": "fr",
  "detected_language": "en",
  "glossary_compliance": {
   "missed": [],
   "applied": [
    "dashboard→tableau de bord"
   ]
  },
  "structure_validation": {
   "type": "json",
   "passed": true
  },
  "placeholder_validation": {
   "found": [
    "{{name}}"
   ],
   "passed": true,
   "missing": [],
   "expected": [
    "{{name}}"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-structured-translation-api-b578b7af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
