{
  "x402Version": 2,
  "id": 57594,
  "slug": "57594",
  "resource": "https://api.sitecheck-api.workers.dev/api/lang",
  "description": "The language of a text with franc-min: ISO 639-3 and ISO 639-1 codes, the English name, confidence from 0 to 1, the script (Latin, Cyrillic, Arabic...) and the three next most likely languages. Send texts= (a JSON array of up to 20 strings) for a batch. Under 20 characters the answer is und with a note. 61 languages.",
  "type": "http",
  "serviceName": "SiteCheck",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb8491F953e6860D3b5840b73c60883Ff099ceAfA",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "J8vnmBx4pS1X7UUBTfz1yWBKiw69Dj2yRGRHDaXBRdhR",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xa4751fCAa83c9669cfe507bb6807507729839be3",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "text": "Results arrive in seconds, and every call is paid per request."
          },
          "type": "http"
        },
        "output": {
          "example": {
            "alternatives": [
              {
                "confidence": 0.86,
                "iso639_1": "it",
                "language": "ita",
                "languageName": "Italian"
              }
            ],
            "checkedAt": "2026-10-13T09:00:00.000Z",
            "confidence": 1,
            "iso639_1": "en",
            "language": "eng",
            "languageName": "English",
            "length": 24,
            "script": "Latin"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "text": {
                    "description": "Up to 5,000 characters",
                    "type": "string"
                  },
                  "texts": {
                    "description": "Alternative: a JSON array of up to 20 strings, e.g. [\"Hallo\",\"Merhaba\"]",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "language detection",
    "language",
    "nlp",
    "iso 639",
    "translation",
    "bazaar"
  ],
  "sourceHost": "api.sitecheck-api.workers.dev",
  "lastUpdated": "2026-10-13T20:38:47.832Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T20:38:47.724Z"
  },
  "metadata": {
    "serviceName": "SiteCheck",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "text": "Results arrive in seconds, and every call is paid per request."
            },
            "type": "http"
          },
          "output": {
            "example": {
              "alternatives": [
                {
                  "confidence": 0.86,
                  "iso639_1": "it",
                  "language": "ita",
                  "languageName": "Italian"
                }
              ],
              "checkedAt": "2026-10-13T09:00:00.000Z",
              "confidence": 1,
              "iso639_1": "en",
              "language": "eng",
              "languageName": "English",
              "length": 24,
              "script": "Latin"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "text": {
                      "description": "Up to 5,000 characters",
                      "type": "string"
                    },
                    "texts": {
                      "description": "Alternative: a JSON array of up to 20 strings, e.g. [\"Hallo\",\"Merhaba\"]",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.sitecheck-api.workers.dev",
    "manifest_name": "api.sitecheck-api.workers.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": {
    "example": {},
    "type": "string"
  }
}