{
  "name": "id.validate",
  "group": "edi",
  "summary": "Validate an identifier's checksum: IBAN, card, ISBN, ISSN, ISIN, CUSIP, LEI, routing number, IMEI, ORCID, GTIN, VIN, GSTIN and more.",
  "description": "Runs the real check algorithm for twenty-odd identifier schemes and says both whether it passes and what passing does not prove — which is usually the more useful half. A valid IBAN checksum does not mean the account exists; a lapsed LEI passes forever; one in ten random digit strings satisfies Luhn. Schemes with no checksum at all (BIC, IFSC, DOI, and India's PAN, whose algorithm has never been published) are reported as structure-only rather than dressed up as verified. Pass `scheme` or let it infer from shape.",
  "keywords": [
    "validate iban",
    "check digit",
    "luhn",
    "credit card validation",
    "isbn",
    "issn",
    "isin",
    "cusip",
    "lei",
    "routing number",
    "aba",
    "imei",
    "orcid",
    "vin",
    "gstin",
    "bic",
    "swift",
    "identifier",
    "checksum",
    "is this valid",
    "mod 97",
    "verhoeff"
  ],
  "endpoint": "https://fluentedi.com/v1/id/validate",
  "mcp_name": "id_validate",
  "makes_network_request": false,
  "parameters": {
    "type": "object",
    "properties": {
      "value": {
        "description": "The identifier to check. Spaces, hyphens and dots are ignored.",
        "type": "string",
        "maxLength": 200,
        "examples": [
          "GB82WEST12345698765432"
        ]
      },
      "scheme": {
        "description": "Which scheme to apply. \"auto\" infers it from the shape.",
        "type": "string",
        "enum": [
          "auto",
          "iban",
          "card",
          "luhn",
          "isbn",
          "isbn10",
          "isbn13",
          "issn",
          "isin",
          "cusip",
          "lei",
          "aba",
          "imei",
          "orcid",
          "isni",
          "ean8",
          "ean13",
          "gtin",
          "upce",
          "vin",
          "gstin",
          "pan",
          "ifsc",
          "bic",
          "doi",
          "verhoeff"
        ],
        "default": "auto"
      }
    },
    "required": [
      "value"
    ],
    "additionalProperties": false
  },
  "examples": [
    {
      "description": "Validate an IBAN",
      "url": "https://fluentedi.com/v1/id/validate?value=GB82%20WEST%201234%205698%207654%2032",
      "args": {
        "value": "GB82 WEST 1234 5698 7654 32"
      }
    },
    {
      "description": "Check a card number",
      "url": "https://fluentedi.com/v1/id/validate?value=4242424242424242&scheme=card",
      "args": {
        "value": "4242424242424242",
        "scheme": "card"
      }
    },
    {
      "description": "Validate an Indian GSTIN",
      "url": "https://fluentedi.com/v1/id/validate?value=27AAPFU0939F1ZV",
      "args": {
        "value": "27AAPFU0939F1ZV"
      }
    },
    {
      "description": "A LEI, where a pass means less than it appears",
      "url": "https://fluentedi.com/v1/id/validate?value=7LTWFZYICNSX8D621K86",
      "args": {
        "value": "7LTWFZYICNSX8D621K86"
      }
    }
  ],
  "suggestion": null
}