# Saylor Innovations Data Desk – Word Frequency Analysis

> Saylor Innovations Data Desk – Word Frequency Analysis is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Analyzes text to return top words, top bigrams, unique/total word counts, lexical diversity, average word length, hapax legomena, and content word statistics

## Facts

- Endpoint: GET https://saylorinnovations.com/api/text/word-frequency?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-word-frequency-analysis-969495ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PBQUbur6gXa3HkXdd-vZH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-data-desk-word-frequency-analysis-969495ae
```

Example prompt: Can you analyze this paragraph for word frequency and give me the top 10 most common words, bigrams, and lexical diversity score? Here's the text: 'The quick brown fox jumps over the lazy dog. The dog barked at the fox and the fox ran away quickly.'

## When to prefer this

Choose this endpoint when you need a quick, structured breakdown of word-level statistics from a block of text — especially lexical diversity, bigrams, and stopword-free frequency counts — without building or hosting your own NLP pipeline. It is well-suited for lightweight content auditing, vocabulary richness checks on short-to-medium passages (up to 5000 characters), and situations where a pay-per-call model is preferable to a subscription. It is not suitable for full document analysis beyond 5000 characters, sentiment analysis, or deep semantic understanding.

## Known failure modes

- Text shorter than 20 characters returns a validation error
- Text longer than 5000 characters exceeds the limit and is rejected
- Missing 'text' query parameter causes a required field error
- Non-string or empty text input causes a parse error
- Top parameter value outside 1-50 range returns a validation error
- Payment not attached or insufficient USDC returns a 402 response

## How this service works

Word frequency analysis - top words and repeated bigrams without stopwords, unique and total words, lexical diversity and average word length

## Output

A JSON object containing: an array of top words each with word text, occurrence count, and percentage share of total words; an array of top bigrams with phrase and count; total word count; unique word count; lexical diversity ratio; average word length; longest word; count of content words; and count of hapax legomena (words appearing exactly once). Optional note and source fields may also be present.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "top": {
       "type": "string",
       "description": "optional 1-50 words, default 15"
      },
      "text": {
       "type": "string",
       "description": "Text to analyse, 20-5000 characters"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "total_words",
      "top_words"
     ],
     "properties": {
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "top_words": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "word": {
          "description": "Word"
         },
         "count": {
          "description": "Number of items returned"
         },
         "percent": {
          "type": [
           "number",
           "null"
          ],
          "description": "Share of all words, percent"
         }
        }
       },
       "description": "Top words"
      },
      "top_bigrams": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "count": {
          "description": "Number of items returned"
         },
         "phrase": {
          "type": [
           "string",
           "null"
          ],
          "description": "Two-word phrase"
         }
        }
       },
       "description": "Top bigrams"
      },
      "total_words": {
       "type": "number",
       "description": "Total words"
      },
      "longest_word": {
       "type": [
        "string",
        "null"
       ],
       "description": "Longest word"
      },
      "unique_words": {
       "type": "number",
       "description": "Unique words"
      },
      "content_words": {
       "ty
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-word-frequency-analysis-969495ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
