{
  "x402Version": 2,
  "id": 8668,
  "slug": "8668",
  "resource": "https://workbot1.oddsys.org/lang",
  "description": "Language identification for 180+ languages (every language with ≥1M speakers): ISO 639-3 code, ISO 639-1 code and English name, with ranked candidates and a confidence margin. Single text or batches up to 100.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x15459498e1191d8787c83177809bd54022fA18c4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "text": "Der schnelle braune Fuchs springt über den faulen Hund."
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "body": {
            "candidates": "array — { iso6393, iso6391, name, score }",
            "confidence": "number 0-1 — margin between the top two candidates",
            "language": "object|null — { iso6393, iso6391, name }",
            "results": "array (batch mode)"
          },
          "bodyType": "json",
          "example": {
            "candidates": [
              {
                "iso6391": "de",
                "iso6393": "deu",
                "name": "German",
                "score": 1
              },
              {
                "iso6391": null,
                "iso6393": "nds",
                "name": "Low German",
                "score": 0.39
              }
            ],
            "chars": 54,
            "confidence": 0.61,
            "language": {
              "iso6391": "de",
              "iso6393": "deu",
              "name": "German"
            },
            "model": "franc trigram model (ISO 639-3 codes)"
          }
        }
      },
      "routeTemplate": "/lang",
      "schema": {
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "only": {
                    "description": "Restrict to these ISO 639-3 codes (e.g. [\"eng\",\"deu\",\"fra\"]).",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "text": {
                    "description": "Text to identify (≥10 characters).",
                    "type": "string"
                  },
                  "texts": {
                    "description": "Batch of texts.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 100,
                    "type": "array"
                  },
                  "top": {
                    "description": "Number of ranked candidates to return (1-10, default 3).",
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          }
        }
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "workbot1.oddsys.org",
  "lastUpdated": "2026-09-17T09:03:43.337Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-17T09:03:43.209Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "workbot1.oddsys.org",
    "manifest_name": "workbot1.oddsys.org",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}