{
    "ok": true,
    "version": "1.0",
    "docs": "https://mate.tools/api",
    "openapi": "https://mate.tools/api/openapi.json",
    "mcp": "https://mate.tools/api/mcp/",
    "time": "2026-05-10T11:11:44Z",
    "endpoints": [
        {
            "name": "count-lines",
            "method": "POST",
            "url": "https://mate.tools/api/v1/count-lines.php",
            "description": "Count lines, words, sentences, paragraphs, characters and line endings."
        },
        {
            "name": "base64-encode",
            "method": "POST",
            "url": "https://mate.tools/api/v1/base64-encode.php",
            "description": "Encode text or bytes to Base64 (standard or URL-safe)."
        },
        {
            "name": "base64-decode",
            "method": "POST",
            "url": "https://mate.tools/api/v1/base64-decode.php",
            "description": "Decode Base64 to text."
        },
        {
            "name": "url-encode",
            "method": "POST",
            "url": "https://mate.tools/api/v1/url-encode.php",
            "description": "Percent-encode a string (component / form / path mode)."
        },
        {
            "name": "url-decode",
            "method": "POST",
            "url": "https://mate.tools/api/v1/url-decode.php",
            "description": "Percent-decode a URL-encoded string."
        },
        {
            "name": "hash",
            "method": "POST",
            "url": "https://mate.tools/api/v1/hash.php",
            "description": "MD5, SHA-1, SHA-256, SHA-512, SHA-3, CRC32 hashes of text."
        },
        {
            "name": "password",
            "method": "POST",
            "url": "https://mate.tools/api/v1/password.php",
            "description": "Generate cryptographically random passwords with configurable character classes."
        },
        {
            "name": "password-strength",
            "method": "POST",
            "url": "https://mate.tools/api/v1/password-strength.php",
            "description": "Score a password (0-4), compute entropy in bits, and estimate offline-GPU crack time."
        },
        {
            "name": "json-format",
            "method": "POST",
            "url": "https://mate.tools/api/v1/json-format.php",
            "description": "Validate, pretty-print, minify or analyse a JSON document."
        },
        {
            "name": "json-to-csv",
            "method": "POST",
            "url": "https://mate.tools/api/v1/json-to-csv.php",
            "description": "Convert a JSON array of objects to CSV. Configurable delimiter, columns, optional flattening."
        },
        {
            "name": "case-convert",
            "method": "POST",
            "url": "https://mate.tools/api/v1/case-convert.php",
            "description": "Convert text into upper/lower/title/sentence/snake/kebab/camel/pascal/constant case."
        },
        {
            "name": "slugify",
            "method": "POST",
            "url": "https://mate.tools/api/v1/slugify.php",
            "description": "Convert any text to a URL-safe slug. Unicode-aware, configurable separator and length."
        },
        {
            "name": "sort-lines",
            "method": "POST",
            "url": "https://mate.tools/api/v1/sort-lines.php",
            "description": "Sort lines of text. Asc/desc, case sensitivity, dedupe, natural-sort, locale-aware collation."
        },
        {
            "name": "lorem-ipsum",
            "method": "POST",
            "url": "https://mate.tools/api/v1/lorem-ipsum.php",
            "description": "Generate placeholder text \u2014 N paragraphs, sentences or words."
        },
        {
            "name": "timestamp",
            "method": "POST",
            "url": "https://mate.tools/api/v1/timestamp.php",
            "description": "Bidirectional date/time conversion: epoch \u2194 ISO 8601 \u2194 human, with timezone support."
        },
        {
            "name": "date-math",
            "method": "POST",
            "url": "https://mate.tools/api/v1/date-math.php",
            "description": "Add or subtract a duration from a date, or compute the diff between two dates (with optional business-day count)."
        },
        {
            "name": "regex-test",
            "method": "POST",
            "url": "https://mate.tools/api/v1/regex-test.php",
            "description": "Match, replace or split with a regex. Returns offsets and capture groups. ReDoS-protected."
        }
    ]
}