{
  "x402Version": 2,
  "id": 29581,
  "slug": "29581",
  "resource": "https://netintel.dev/translate/structured",
  "description": "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.",
  "type": "http",
  "serviceName": "NetIntel",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "content_type": {
            "description": "The content type used (given or auto-detected)",
            "type": "string"
          },
          "detected_language": {
            "description": "ISO 639-1 code of the source language",
            "type": "string"
          },
          "findings": {
            "description": "Scored deductions, e.g. glossary_missed",
            "type": "array"
          },
          "glossary_compliance": {
            "description": "Which glossary terms were applied and which were missed",
            "type": "object"
          },
          "grade": {
            "description": "Letter grade A-F derived from score",
            "type": "string"
          },
          "placeholder_validation": {
            "description": "Proof that every placeholder, tag, URL, email, code span, and protected value survived. A drop is a 502, never a 200.",
            "type": "object"
          },
          "score": {
            "description": "0-100; 100 on a clean, structure-valid translation",
            "type": "number"
          },
          "structure_validation": {
            "description": "Proof the document still parses: JSON keys intact, HTML tags balanced, markdown syntax preserved",
            "type": "object"
          },
          "target_language": {
            "description": "ISO 639-1 code translated into",
            "type": "string"
          },
          "translated": {
            "description": "The translated document, in the same shape and format as the input",
            "type": "object"
          },
          "warnings": {
            "description": "Non-fatal notes, e.g. a missed glossary term",
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "content": {
              "cta": "Click here to open the dashboard",
              "greeting": "Hello {{name}}"
            },
            "glossary": {
              "dashboard": "tableau de bord"
            },
            "target": "fr"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "content_type": "json",
            "detected_language": "en",
            "findings": [],
            "glossary_compliance": {
              "applied": [
                "dashboard→tableau de bord"
              ],
              "missed": []
            },
            "grade": "A",
            "placeholder_validation": {
              "expected": [
                "{{name}}"
              ],
              "found": [
                "{{name}}"
              ],
              "missing": [],
              "passed": true
            },
            "score": 100,
            "structure_validation": {
              "passed": true,
              "type": "json"
            },
            "target_language": "fr",
            "translated": {
              "cta": "Cliquez ici pour ouvrir le tableau de bord",
              "greeting": "Bonjour {{name}}"
            },
            "warnings": []
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "content": {
                    "description": "The structured content to translate: a JSON object/array, or a string of HTML, Markdown, or template text. Max 32KB / 500 strings.",
                    "type": "object"
                  },
                  "content_type": {
                    "description": "One of \"json\", \"html\", \"markdown\", \"template\", \"text\". Auto-detected when omitted; a non-string content is always treated as json.",
                    "type": "string"
                  },
                  "formality": {
                    "description": "\"formal\", \"informal\", or \"neutral\" (default).",
                    "type": "string"
                  },
                  "glossary": {
                    "description": "Enforced term mappings: {\"dashboard\":\"tableau de bord\"}. Compliance is reported per term; a missed term costs 10 points.",
                    "type": "object"
                  },
                  "locale": {
                    "description": "Target locale for regional variants, e.g. \"fr-CA\".",
                    "type": "string"
                  },
                  "protected_values": {
                    "description": "Strings that must pass through byte-for-byte — brand names, IDs, SKUs: [\"Acme\",\"SKU-1234\"]. Dropping one fails the call.",
                    "type": "array"
                  },
                  "source": {
                    "description": "Source language. Auto-detected when omitted.",
                    "type": "string"
                  },
                  "target": {
                    "description": "Target language — ISO 639-1 code (\"fr\") or English name (\"French\"). Aliases also accepted: target_lang, target_language, to, lang.",
                    "type": "string"
                  },
                  "tone": {
                    "description": "Optional tone guidance, e.g. \"friendly and concise\".",
                    "type": "string"
                  }
                },
                "required": [
                  "content",
                  "target"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "content_type": {
                    "description": "The content type used (given or auto-detected)",
                    "type": "string"
                  },
                  "detected_language": {
                    "description": "ISO 639-1 code of the source language",
                    "type": "string"
                  },
                  "findings": {
                    "description": "Scored deductions, e.g. glossary_missed",
                    "type": "array"
                  },
                  "glossary_compliance": {
                    "description": "Which glossary terms were applied and which were missed",
                    "type": "object"
                  },
                  "grade": {
                    "description": "Letter grade A-F derived from score",
                    "type": "string"
                  },
                  "placeholder_validation": {
                    "description": "Proof that every placeholder, tag, URL, email, code span, and protected value survived. A drop is a 502, never a 200.",
                    "type": "object"
                  },
                  "score": {
                    "description": "0-100; 100 on a clean, structure-valid translation",
                    "type": "number"
                  },
                  "structure_validation": {
                    "description": "Proof the document still parses: JSON keys intact, HTML tags balanced, markdown syntax preserved",
                    "type": "object"
                  },
                  "target_language": {
                    "description": "ISO 639-1 code translated into",
                    "type": "string"
                  },
                  "translated": {
                    "description": "The translated document, in the same shape and format as the input",
                    "type": "object"
                  },
                  "warnings": {
                    "description": "Non-fatal notes, e.g. a missed glossary term",
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "translation",
    "translate api",
    "localization",
    "language",
    "llm translation",
    "bazaar"
  ],
  "sourceHost": "netintel.dev",
  "lastUpdated": "2026-10-08T06:08:28.754Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:08:28.544Z"
  },
  "metadata": {
    "serviceName": "NetIntel",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "content": {
                "cta": "Click here to open the dashboard",
                "greeting": "Hello {{name}}"
              },
              "glossary": {
                "dashboard": "tableau de bord"
              },
              "target": "fr"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "content_type": "json",
              "detected_language": "en",
              "findings": [],
              "glossary_compliance": {
                "applied": [
                  "dashboard→tableau de bord"
                ],
                "missed": []
              },
              "grade": "A",
              "placeholder_validation": {
                "expected": [
                  "{{name}}"
                ],
                "found": [
                  "{{name}}"
                ],
                "missing": [],
                "passed": true
              },
              "score": 100,
              "structure_validation": {
                "passed": true,
                "type": "json"
              },
              "target_language": "fr",
              "translated": {
                "cta": "Cliquez ici pour ouvrir le tableau de bord",
                "greeting": "Bonjour {{name}}"
              },
              "warnings": []
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "content": {
                      "description": "The structured content to translate: a JSON object/array, or a string of HTML, Markdown, or template text. Max 32KB / 500 strings.",
                      "type": "object"
                    },
                    "content_type": {
                      "description": "One of \"json\", \"html\", \"markdown\", \"template\", \"text\". Auto-detected when omitted; a non-string content is always treated as json.",
                      "type": "string"
                    },
                    "formality": {
                      "description": "\"formal\", \"informal\", or \"neutral\" (default).",
                      "type": "string"
                    },
                    "glossary": {
                      "description": "Enforced term mappings: {\"dashboard\":\"tableau de bord\"}. Compliance is reported per term; a missed term costs 10 points.",
                      "type": "object"
                    },
                    "locale": {
                      "description": "Target locale for regional variants, e.g. \"fr-CA\".",
                      "type": "string"
                    },
                    "protected_values": {
                      "description": "Strings that must pass through byte-for-byte — brand names, IDs, SKUs: [\"Acme\",\"SKU-1234\"]. Dropping one fails the call.",
                      "type": "array"
                    },
                    "source": {
                      "description": "Source language. Auto-detected when omitted.",
                      "type": "string"
                    },
                    "target": {
                      "description": "Target language — ISO 639-1 code (\"fr\") or English name (\"French\"). Aliases also accepted: target_lang, target_language, to, lang.",
                      "type": "string"
                    },
                    "tone": {
                      "description": "Optional tone guidance, e.g. \"friendly and concise\".",
                      "type": "string"
                    }
                  },
                  "required": [
                    "content",
                    "target"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "content_type": {
                      "description": "The content type used (given or auto-detected)",
                      "type": "string"
                    },
                    "detected_language": {
                      "description": "ISO 639-1 code of the source language",
                      "type": "string"
                    },
                    "findings": {
                      "description": "Scored deductions, e.g. glossary_missed",
                      "type": "array"
                    },
                    "glossary_compliance": {
                      "description": "Which glossary terms were applied and which were missed",
                      "type": "object"
                    },
                    "grade": {
                      "description": "Letter grade A-F derived from score",
                      "type": "string"
                    },
                    "placeholder_validation": {
                      "description": "Proof that every placeholder, tag, URL, email, code span, and protected value survived. A drop is a 502, never a 200.",
                      "type": "object"
                    },
                    "score": {
                      "description": "0-100; 100 on a clean, structure-valid translation",
                      "type": "number"
                    },
                    "structure_validation": {
                      "description": "Proof the document still parses: JSON keys intact, HTML tags balanced, markdown syntax preserved",
                      "type": "object"
                    },
                    "target_language": {
                      "description": "ISO 639-1 code translated into",
                      "type": "string"
                    },
                    "translated": {
                      "description": "The translated document, in the same shape and format as the input",
                      "type": "object"
                    },
                    "warnings": {
                      "description": "Non-fatal notes, e.g. a missed glossary term",
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "netintel.dev",
    "manifest_name": "netintel.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "content_type": "json",
    "detected_language": "en",
    "findings": [],
    "glossary_compliance": {
      "applied": [
        "dashboard→tableau de bord"
      ],
      "missed": []
    },
    "grade": "A",
    "placeholder_validation": {
      "expected": [
        "{{name}}"
      ],
      "found": [
        "{{name}}"
      ],
      "missing": [],
      "passed": true
    },
    "score": 100,
    "structure_validation": {
      "passed": true,
      "type": "json"
    },
    "target_language": "fr",
    "translated": {
      "cta": "Cliquez ici pour ouvrir le tableau de bord",
      "greeting": "Bonjour {{name}}"
    },
    "warnings": []
  }
}