# netintel.dev Structured Content Translation

> netintel.dev Structured Content Translation is a paid API for AI agents from netintel.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Translates structured content (JSON, HTML, Markdown, templates) into a target language while preserving structure, placeholders, tags, URLs, and glossary terms.

## Facts

- Endpoint: POST https://netintel.dev/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-dev-structured-content-translation-5d490512
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u8dC89crurQNYet65OvrW

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-dev-structured-content-translation-5d490512 -d '<json body>'
```

Example prompt: Translate this JSON locale file to French (fr-CA) with a formal tone — use 'tableau de bord' for 'dashboard' in the glossary, and make sure none of the {{placeholder}} variables or the brand name 'Acme' get changed.

## When to prefer this

Choose this endpoint when you need to localize structured content (JSON locale files, HTML templates, Markdown docs, i18n strings) and cannot risk breaking structure, dropping placeholders, or mistranslating enforced glossary terms. It is purpose-built for software localization workflows where structural fidelity and placeholder preservation are non-negotiable, unlike generic translation APIs that treat input as plain text. Prefer it over batch string translation endpoints when your content is a single structured document rather than independent strings.

## Known failure modes

- Content exceeds 32KB or 500 string limit — request rejected
- A protected_value string is missing from the translation — call fails validation
- Unsupported or unrecognized target language code — error returned
- Malformed input structure (not valid JSON/HTML/Markdown) — parsing error
- Glossary term not honored — score deducted (10 points per missed term)
- Network or upstream LLM timeout — transient 5xx error

## How this service works

Translate structured content — JSON, HTML, Markdown, templates, UI strings — without breaking structure. Preserves keys, tags, markdown, URLs, emails, variables, placeholders, code blocks, and brand names, honors a caller glossary, and validates that no placeholder was dropped, so agents can localize app content safely.

## Output

Returns the translated structured content in the same format as the input, along with a 0-100 quality score, a letter grade (A-F), per-term glossary compliance results, and a validation report confirming that all placeholders and protected values were preserved.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "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."
      },
      "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."
      },
      "target": {
       "type": "string",
       "description": "Target language — ISO 639-1 code (\"fr\") or English name (\"French\"). Aliases also accepted: target_lang, target_language, to, lang."
      },
      "source": {
       "type": "string",
       "description": "Source language. Auto-detected when omitted."
      },
      "glossary": {
       "type": "object",
       "description": "Enforced term mappings: {\"dashboard\":\"tableau de bord\"}. Compliance is reported per term; a missed term costs 10 points."
      },
      "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."
      },
      "formality": {
       "type": "string",
       "description": "\"formal\", \"informal\", or \"neutral\" (default)."
      },
      "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\"."
      }
     },
     "required": [
      "content",
      "target"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "translated": {
       "type": "object",
       "description": "The translated document, in the same shape an
… (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-dev-structured-content-translation-5d490512/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel.dev](https://www.zero.xyz/host/netintel.dev/llms.txt)
