Catalog/cryptography-frequency

Utilities

Frequency analysis API

Count character or n-gram frequencies in normalized puzzle/cipher text.

Price$0.01per request
MethodPOST
Route/v1/cryptography/frequency
StatusLive
MIME typeapplication/json
Rate limit180/minute
CacheNo cache
cryptographyfrequencyngramscipher
API URLhttps://x402.hexl.dev/v1/cryptography/frequency
Integration docs
Example request
{
  "text": "banana",
  "ngram": 1
}
Example response
{
  "total": 6,
  "frequencies": [
    {
      "token": "a",
      "count": 3,
      "frequency": 0.5
    }
  ],
  "provider": "local-frequency"
}
Input schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string"
    },
    "ngram": {
      "type": "number",
      "minimum": 1,
      "maximum": 5,
      "default": 1
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}