{
  "x402Version": 2,
  "id": 35912,
  "slug": "35912",
  "resource": "https://tanod.dev/v1/text/frequency",
  "description": "utilpeek (Tanod) word frequency: top words or n-grams with counts.",
  "type": "http",
  "serviceName": "Tanod utilpeek",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "characters": {
            "type": "array"
          },
          "language": {
            "type": "string"
          },
          "ngram": {
            "type": "integer"
          },
          "source": {
            "type": "object"
          },
          "stopwords_removed": {
            "type": "boolean"
          },
          "top": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "total": {
            "type": "integer"
          },
          "unique": {
            "type": "integer"
          }
        },
        "required": [
          "top",
          "total",
          "unique"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "text": "The cat sat. The cat ran. A dog sat.",
            "top_n": 3
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "language": "en",
            "ngram": 1,
            "source": {
              "library": "own implementation (standard library)",
              "license": "n/a"
            },
            "stopwords_removed": true,
            "top": [
              {
                "count": 2,
                "share": 0.333333,
                "term": "cat"
              },
              {
                "count": 2,
                "share": 0.333333,
                "term": "sat"
              },
              {
                "count": 1,
                "share": 0.166667,
                "term": "dog"
              }
            ],
            "total": 6,
            "unique": 4
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "case_sensitive": {
                    "default": false,
                    "description": "Count \"Word\" and \"word\" apart (default false: terms are lowercased).",
                    "type": "boolean"
                  },
                  "characters": {
                    "default": false,
                    "description": "Also count characters (whitespace excluded).",
                    "type": "boolean"
                  },
                  "include_numbers": {
                    "default": false,
                    "description": "Also count numeric tokens such as 2026 (default false).",
                    "type": "boolean"
                  },
                  "language": {
                    "default": "en",
                    "description": "Stop-word list to drop (none = keep every word).",
                    "enum": [
                      "de",
                      "en",
                      "es",
                      "fr",
                      "it",
                      "nl",
                      "pt",
                      "none"
                    ],
                    "type": "string"
                  },
                  "min_length": {
                    "default": 1,
                    "description": "Shortest word counted, in characters (1-50, default 1; single words only, ngram=1).",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "ngram": {
                    "default": 1,
                    "description": "Term length in words: 1 (default), 2 or 3; n-grams never span punctuation.",
                    "maximum": 3,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "remove_stopwords": {
                    "default": true,
                    "description": "Drop the stop words of `language` (default true).",
                    "type": "boolean"
                  },
                  "text": {
                    "description": "The text (at most 200,000 characters).",
                    "maxLength": 200000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "top_n": {
                    "default": 50,
                    "description": "Most frequent terms to return (1-1000, default 50).",
                    "maximum": 1000,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "characters": {
                    "type": "array"
                  },
                  "language": {
                    "type": "string"
                  },
                  "ngram": {
                    "type": "integer"
                  },
                  "source": {
                    "type": "object"
                  },
                  "stopwords_removed": {
                    "type": "boolean"
                  },
                  "top": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "total": {
                    "type": "integer"
                  },
                  "unique": {
                    "type": "integer"
                  }
                },
                "required": [
                  "top",
                  "total",
                  "unique"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_h7pxv14u"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "utilpeek",
    "fx-rates",
    "qr-code",
    "geocoding",
    "holidays",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "tanod.dev",
  "lastUpdated": "2026-10-08T23:12:34.926Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T23:12:33.76Z"
  },
  "metadata": {
    "serviceName": "Tanod utilpeek",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "text": "The cat sat. The cat ran. A dog sat.",
              "top_n": 3
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "language": "en",
              "ngram": 1,
              "source": {
                "library": "own implementation (standard library)",
                "license": "n/a"
              },
              "stopwords_removed": true,
              "top": [
                {
                  "count": 2,
                  "share": 0.333333,
                  "term": "cat"
                },
                {
                  "count": 2,
                  "share": 0.333333,
                  "term": "sat"
                },
                {
                  "count": 1,
                  "share": 0.166667,
                  "term": "dog"
                }
              ],
              "total": 6,
              "unique": 4
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "case_sensitive": {
                      "default": false,
                      "description": "Count \"Word\" and \"word\" apart (default false: terms are lowercased).",
                      "type": "boolean"
                    },
                    "characters": {
                      "default": false,
                      "description": "Also count characters (whitespace excluded).",
                      "type": "boolean"
                    },
                    "include_numbers": {
                      "default": false,
                      "description": "Also count numeric tokens such as 2026 (default false).",
                      "type": "boolean"
                    },
                    "language": {
                      "default": "en",
                      "description": "Stop-word list to drop (none = keep every word).",
                      "enum": [
                        "de",
                        "en",
                        "es",
                        "fr",
                        "it",
                        "nl",
                        "pt",
                        "none"
                      ],
                      "type": "string"
                    },
                    "min_length": {
                      "default": 1,
                      "description": "Shortest word counted, in characters (1-50, default 1; single words only, ngram=1).",
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "ngram": {
                      "default": 1,
                      "description": "Term length in words: 1 (default), 2 or 3; n-grams never span punctuation.",
                      "maximum": 3,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "remove_stopwords": {
                      "default": true,
                      "description": "Drop the stop words of `language` (default true).",
                      "type": "boolean"
                    },
                    "text": {
                      "description": "The text (at most 200,000 characters).",
                      "maxLength": 200000,
                      "minLength": 1,
                      "type": "string"
                    },
                    "top_n": {
                      "default": 50,
                      "description": "Most frequent terms to return (1-1000, default 50).",
                      "maximum": 1000,
                      "minimum": 1,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "text"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "characters": {
                      "type": "array"
                    },
                    "language": {
                      "type": "string"
                    },
                    "ngram": {
                      "type": "integer"
                    },
                    "source": {
                      "type": "object"
                    },
                    "stopwords_removed": {
                      "type": "boolean"
                    },
                    "top": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "total": {
                      "type": "integer"
                    },
                    "unique": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "top",
                    "total",
                    "unique"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_h7pxv14u"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tanod.dev",
    "manifest_name": "tanod.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "characters": [
        "value"
      ],
      "language": "string",
      "ngram": 0,
      "source": {},
      "stopwords_removed": true,
      "top": [
        {}
      ],
      "total": 0,
      "unique": 0
    },
    "type": "string"
  }
}