Texts API

Published legal texts are available as static, read-only files. No key is needed and they can be read from any website (CORS is open for these files). Every published document also exists as a page for iframes.

Addresses

Address Content
https://legal.tanotrading.com/index.json Index of all published documents, forms, custom pages and products
https://legal.tanotrading.com/index.md The same index as a Markdown list
https://legal.tanotrading.com/p/{brand}/{document}/{language}/document.md Current document as Markdown
https://legal.tanotrading.com/p/{brand}/{document}/{language}/document.json Current document with metadata
https://legal.tanotrading.com/p/{brand}/{platform}/{document}/{language}/document.md The same for a platform of a brand
https://legal.tanotrading.com/p/{brand}/{document}/{language}/v{n}/document.md A permanent earlier version
https://legal.tanotrading.com/sitemap.xml All public pages
https://legal.tanotrading.com/embed/... Documents for iframes, see embedding

Fields of index.json:

{
  "schemaVersion": 1,
  "products": [ { "slug": "smogo", "name": "SmoGo", "platforms": [ { "id": "app", "name": "Mobile app" } ] } ],
  "documents": [
    {
      "product": "smogo", "platform": "app", "type": "privacy", "lang": "en",
      "contentLang": "en", "version": 2, "updatedAt": "2026-10-15T09:00:00.000Z",
      "fallback": false, "reviewed": false,
      "url": "/p/smogo/app/privacy/en/v2/", "currentUrl": "/p/smogo/app/privacy/en/",
      "embedUrl": "/embed/smogo/app/privacy/en/", "sha256": "…"
    }
  ],
  "forms": [], "pages": []
}

platform is null for brand-wide documents. fallback is true when the requested language is not translated and the content is English. sha256 is the hash of the Markdown text of that version.

Notes