{"ok":true,"tool":"Word Frequency Counter","operation":"count-word-frequency","description":"Count word frequencies in text, sorted by occurrence.","method":"POST","endpoint":"/api/word-frequency-counter","webUrl":"https://ultraquick.tools/tools/word-frequency-counter","parameters":{"type":"object","properties":{"text":{"type":"string","description":"The text to analyse"},"caseSensitive":{"type":"boolean","description":"Treat words differing only in case as distinct (default false)"},"topN":{"type":"number","description":"Optional limit to the top N most frequent words"}},"required":["text"]},"response":{"type":"object","properties":{"totalWords":{"type":"number"},"uniqueWords":{"type":"number"},"frequencies":{"type":"array"}}},"example":{"request":{"text":"the cat and the dog and the bird"},"response_shape":{"type":"object","properties":{"totalWords":{"type":"number"},"uniqueWords":{"type":"number"},"frequencies":{"type":"array"}}}},"howToCall":"POST a JSON body to https://ultraquick.tools/api/word-frequency-counter. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  text (string, required) — The text to analyse\n  caseSensitive (boolean, optional) — Treat words differing only in case as distinct (default false)\n  topN (number, optional) — Optional limit to the top N most frequent words","curlExample":"curl -X POST https://ultraquick.tools/api/word-frequency-counter -H \"Content-Type: application/json\" -d '{\"text\":\"the cat and the dog and the bird\"}'"}