Word Frequency App Logo

Word Frequency App

API Usage

Basic usage

GET /api/:text

Example

GET /api/one two two three three three

Response

{
  "data": {
    "two": 2,
    "three": 2,
    "one": 1
  }
}

Additional parameters

It's possible to sort the JSON response with the additional parameters sort and ascending.

Reference

OptionValues
sortword or number
ascendingtrue or false

The default sort method is set to number and descending.

Example

GET /api/one two two three three three?sort=name&ascending=false