{"x402Version":2,"kind":"resource-server","name":"textkit","description":"General-purpose text, Unicode and date utilities for AI agents: homoglyph folding and spoofed-domain detection, Unicode script detection, NFC/NFD normalization, grapheme counting, date description (weekday, ISO week, quarter, leap year), business-day counting, slugify, FNV-1a hashing, Shannon entropy, string format detection (uuid, email, url, ipv4, jwt, iban), byte-encoding detection and human-readable byte sizes. Pay per request in USDC on Base via x402 - no signup, no API key, no KYC.","resources":[{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/homoglyph-fold","description":"Fold Unicode homoglyphs to ASCII to detect spoofed domains, usernames and handles","mimeType":"application/json","serviceName":"textkit homoglyph-fold","tags":["idn","homoglyph","spoofing","phishing","domain"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"pаypal.com"}},"output":{"type":"json","example":{"output":"paypal.com","changed":1,"suspicious":true}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"text possibly containing lookalike characters"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"text":"pаypal.com"}},"output":{"type":"json","example":{"output":"paypal.com","changed":1,"suspicious":true}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"text possibly containing lookalike characters"}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit homoglyph-fold","tags":["idn","homoglyph","spoofing","phishing","domain"],"url":"https://textkit.johnaio281.workers.dev/api/tk/homoglyph-fold","method":"POST","description":"Fold Unicode homoglyphs to ASCII to detect spoofed domains, usernames and handles"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/script-detect","description":"Detect which Unicode scripts a string uses and flag mixed-script spoofing","mimeType":"application/json","serviceName":"textkit script-detect","tags":["date","calendar","iso-week","business-days","format"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"hello мир"}},"output":{"type":"json","example":{"primary":"Latin","scriptCount":2,"mixed":true,"minorityScripts":["Cyrillic"],"confidence":0.625}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"text to analyse"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"text":"hello мир"}},"output":{"type":"json","example":{"primary":"Latin","scriptCount":2,"mixed":true,"minorityScripts":["Cyrillic"],"confidence":0.625}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"text to analyse"}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit script-detect","tags":["date","calendar","iso-week","business-days","format"],"url":"https://textkit.johnaio281.workers.dev/api/tk/script-detect","method":"POST","description":"Detect which Unicode scripts a string uses and flag mixed-script spoofing"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/unicode-normalize","description":"Normalize text to NFC, NFD, NFKC or NFKD and report the first differing position","mimeType":"application/json","serviceName":"textkit unicode-normalize","tags":["text","unicode","normalize","nlp","string"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"é","form":"NFC"}},"output":{"type":"json","example":{"form":"NFC","output":"é","changed":true,"firstDifferenceIndex":0}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"form":{"type":"string","enum":["NFC","NFD","NFKC","NFKD"],"description":"default NFC"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"text":"é","form":"NFC"}},"output":{"type":"json","example":{"form":"NFC","output":"é","changed":true,"firstDifferenceIndex":0}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"form":{"type":"string","enum":["NFC","NFD","NFKC","NFKD"],"description":"default NFC"}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit unicode-normalize","tags":["text","unicode","normalize","nlp","string"],"url":"https://textkit.johnaio281.workers.dev/api/tk/unicode-normalize","method":"POST","description":"Normalize text to NFC, NFD, NFKC or NFKD and report the first differing position"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/grapheme-count","description":"Count user-perceived characters (graphemes) versus code points, UTF-16 units and bytes","mimeType":"application/json","serviceName":"textkit grapheme-count","tags":["text","unicode","normalize","nlp","string"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"👨‍👩‍👧"}},"output":{"type":"json","example":{"graphemes":1,"codePoints":5,"utf16Units":11,"bytes":18}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"text":"👨‍👩‍👧"}},"output":{"type":"json","example":{"graphemes":1,"codePoints":5,"utf16Units":11,"bytes":18}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit grapheme-count","tags":["text","unicode","normalize","nlp","string"],"url":"https://textkit.johnaio281.workers.dev/api/tk/grapheme-count","method":"POST","description":"Count user-perceived characters (graphemes) versus code points, UTF-16 units and bytes"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/describe-date","description":"Describe a calendar date: weekday, ISO week, day of year, quarter, leap year, weekend","mimeType":"application/json","serviceName":"textkit describe-date","tags":["date","calendar","iso-week","business-days","format"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"year":2026,"month":10,"day":21}},"output":{"type":"json","example":{"valid":true,"iso":"2026-10-21","dayOfWeek":"Wednesday","weekOfYear":43,"quarter":4}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer"},"month":{"type":"integer","minimum":1,"maximum":12},"day":{"type":"integer","minimum":1,"maximum":31}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"year":2026,"month":10,"day":21}},"output":{"type":"json","example":{"valid":true,"iso":"2026-10-21","dayOfWeek":"Wednesday","weekOfYear":43,"quarter":4}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer"},"month":{"type":"integer","minimum":1,"maximum":12},"day":{"type":"integer","minimum":1,"maximum":31}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit describe-date","tags":["date","calendar","iso-week","business-days","format"],"url":"https://textkit.johnaio281.workers.dev/api/tk/describe-date","method":"POST","description":"Describe a calendar date: weekday, ISO week, day of year, quarter, leap year, weekend"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/business-days","description":"Count business days between two dates (weekends excluded)","mimeType":"application/json","serviceName":"textkit business-days","tags":["date","calendar","iso-week","business-days","format"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"from":{"year":2026,"month":10,"day":19},"to":{"year":2026,"month":10,"day":23}}},"output":{"type":"json","example":{"businessDays":4,"calendarDays":4}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["from","to"],"properties":{"from":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer"},"month":{"type":"integer"},"day":{"type":"integer"}}},"to":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer"},"month":{"type":"integer"},"day":{"type":"integer"}}}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"from":{"year":2026,"month":10,"day":19},"to":{"year":2026,"month":10,"day":23}}},"output":{"type":"json","example":{"businessDays":4,"calendarDays":4}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["from","to"],"properties":{"from":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer"},"month":{"type":"integer"},"day":{"type":"integer"}}},"to":{"type":"object","required":["year","month","day"],"properties":{"year":{"type":"integer"},"month":{"type":"integer"},"day":{"type":"integer"}}}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit business-days","tags":["date","calendar","iso-week","business-days","format"],"url":"https://textkit.johnaio281.workers.dev/api/tk/business-days","method":"POST","description":"Count business days between two dates (weekends excluded)"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/slugify","description":"Convert a title into a clean URL slug with accent stripping and optional length limit","mimeType":"application/json","serviceName":"textkit slugify","tags":["text","unicode","normalize","nlp","string"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"Hello, World! 2026"}},"output":{"type":"json","example":{"slug":"hello-world-2026","length":15}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"separator":{"type":"string","description":"default -"},"maxLength":{"type":"integer"},"lowercase":{"type":"boolean","description":"default true"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"text":"Hello, World! 2026"}},"output":{"type":"json","example":{"slug":"hello-world-2026","length":15}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"separator":{"type":"string","description":"default -"},"maxLength":{"type":"integer"},"lowercase":{"type":"boolean","description":"default true"}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit slugify","tags":["text","unicode","normalize","nlp","string"],"url":"https://textkit.johnaio281.workers.dev/api/tk/slugify","method":"POST","description":"Convert a title into a clean URL slug with accent stripping and optional length limit"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/fnv-hash","description":"Compute a stable FNV-1a content fingerprint (32 and 64 bit) without dependencies","mimeType":"application/json","serviceName":"textkit fnv-hash","tags":["hash","fnv","checksum","digest","uuid"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"hello"}},"output":{"type":"json","example":{"fnv1a32":"3617a694","fnv1a64":"a430d84680aabd0b","length":5}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"text":"hello"}},"output":{"type":"json","example":{"fnv1a32":"3617a694","fnv1a64":"a430d84680aabd0b","length":5}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit fnv-hash","tags":["hash","fnv","checksum","digest","uuid"],"url":"https://textkit.johnaio281.workers.dev/api/tk/fnv-hash","method":"POST","description":"Compute a stable FNV-1a content fingerprint (32 and 64 bit) without dependencies"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/entropy","description":"Shannon entropy of a string in bits per character","mimeType":"application/json","serviceName":"textkit entropy","tags":["hash","fnv","checksum","digest","uuid"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"text":"abcdefgh"}},"output":{"type":"json","example":{"entropy":3,"bitsPerChar":3,"distinctChars":8,"length":8}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"text":"abcdefgh"}},"output":{"type":"json","example":{"entropy":3,"bitsPerChar":3,"distinctChars":8,"length":8}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit entropy","tags":["hash","fnv","checksum","digest","uuid"],"url":"https://textkit.johnaio281.workers.dev/api/tk/entropy","method":"POST","description":"Shannon entropy of a string in bits per character"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/detect-format","description":"Detect the format of a string: uuid, email, url, ipv4, ipv6, jwt, iban, mac, semver and more","mimeType":"application/json","serviceName":"textkit detect-format","tags":["date","calendar","iso-week","business-days","format"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"value":"550e8400-e29b-41d4-a716-446655440000"}},"output":{"type":"json","example":{"format":"uuid","valid":true}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["value"],"properties":{"value":{"type":"string"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"value":"550e8400-e29b-41d4-a716-446655440000"}},"output":{"type":"json","example":{"format":"uuid","valid":true}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["value"],"properties":{"value":{"type":"string"}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit detect-format","tags":["date","calendar","iso-week","business-days","format"],"url":"https://textkit.johnaio281.workers.dev/api/tk/detect-format","method":"POST","description":"Detect the format of a string: uuid, email, url, ipv4, ipv6, jwt, iban, mac, semver and more"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/detect-encoding","description":"Detect the encoding of a byte string: ascii, utf-8, utf-16, hex, base64, latin-1","mimeType":"application/json","serviceName":"textkit detect-encoding","tags":["date","calendar","iso-week","business-days","format"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"bytes":[104,101,108,108,111]}},"output":{"type":"json","example":{"encoding":"ascii","confidence":1}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["bytes"],"properties":{"bytes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255},"description":"byte array"}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"bytes":[104,101,108,108,111]}},"output":{"type":"json","example":{"encoding":"ascii","confidence":1}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["bytes"],"properties":{"bytes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255},"description":"byte array"}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit detect-encoding","tags":["date","calendar","iso-week","business-days","format"],"url":"https://textkit.johnaio281.workers.dev/api/tk/detect-encoding","method":"POST","description":"Detect the encoding of a byte string: ascii, utf-8, utf-16, hex, base64, latin-1"},{"resource":{"url":"https://textkit.johnaio281.workers.dev/api/tk/human-bytes","description":"Format a byte count as human-readable size with KB and MiB values","mimeType":"application/json","serviceName":"textkit human-bytes","tags":["text","unicode","normalize","nlp","string"]},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x326F9DBB7027F5aB8be9956353dFF62b6a05Dc29","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"bytes":1048576}},"output":{"type":"json","example":{"bytes":1048576,"readable":"1 MB","kilobytes":1024,"mebibytes":1}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","required":["bytes"],"properties":{"bytes":{"type":["integer","number"]}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"extensionsGet":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"bytes":1048576}},"output":{"type":"json","example":{"bytes":1048576,"readable":"1 MB","kilobytes":1024,"mebibytes":1}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET","HEAD","DELETE"]},"queryParams":{"type":"object","required":["bytes"],"properties":{"bytes":{"type":["integer","number"]}}}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}},"serviceName":"textkit human-bytes","tags":["text","unicode","normalize","nlp","string"],"url":"https://textkit.johnaio281.workers.dev/api/tk/human-bytes","method":"POST","description":"Format a byte count as human-readable size with KB and MiB values"}],"attestation":{"type":"none"},"docs":"https://textkit.johnaio281.workers.dev/","contact":"johnaio281@gmail.com","updated":"2026-10-21T00:00:00Z"}