# Word Tools – Next & Previous Words (Collocations)

> Word Tools – Next & Previous Words (Collocations) is a paid API for AI agents from word-tools.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns the words most commonly appearing immediately before and after a given word in published text, with frequency scores.

## Facts

- Endpoint: GET https://word-tools.x402tookit.com/next-words?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/word-tools-next-previous-words-collocations-ac52659d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U3mSPt_lvKGuDlGXaz-X7

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 word-tools-next-previous-words-collocations-ac52659d
```

Example prompt: What words most commonly come right before and right after 'luminous' in published writing? Show me the top 10 for each direction so I can get some phrase ideas.

## When to prefer this

Choose this endpoint when you need data-driven collocation data — the actual words that surround a given word in real published corpora — rather than synonyms, definitions, or rhymes. It is best for writers seeking natural phrase constructions, marketers building copy around a keyword, or NLP pipelines needing bigram-level co-occurrence data. Prefer this over a thesaurus endpoint when the goal is phraseological naturalness rather than meaning substitution.

## Known failure modes

- Missing required 'word' query parameter returns an error
- Very rare or misspelled words may return empty or sparse collocation lists
- Limit value outside 1–50 range may be rejected or clamped
- Network or payment authorization failure returns a 402 or 5xx error

## How this service works

Words that most often come right after, and right before, a word in published text, for phrase and prose ideas.

## Output

Returns a JSON object containing two ranked lists — 'followedBy' (words that appear immediately after the queried word) and 'precededBy' (words that appear immediately before it) — each with a word and a numeric frequency score. Also includes metadata such as the queried word, source, attribution, and a summary.

## 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": [
      "word"
     ],
     "properties": {
      "word": {
       "type": "string",
       "description": "The word"
      },
      "limit": {
       "type": "integer",
       "description": "Results per list, 1 to 50 (default 20)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "word": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "followedBy": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "word": {
          "type": [
           "null",
           "string"
          ]
         },
         "score": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "precededBy": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "word": {
          "type": [
           "null",
           
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/word-tools-next-previous-words-collocations-ac52659d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from word-tools.x402tookit.com](https://www.zero.xyz/host/word-tools.x402tookit.com/llms.txt)
