five

Text Utilities & Formatter API

收藏
RapidAPI2025-12-26 更新2025-12-26 收录
下载链接:
https://rapidapi.com/abhishekgawande1667/api/text-utilities-formatter-api
下载链接
链接失效反馈
官方服务:
资源简介:
Clean, format, analyze, and transform text using simple API endpoints.
创建时间:
2025-12-26
原始信息汇总

Text Utilities & Formatter API 数据集概述

基本信息

  • 数据集名称:Text Utilities & Formatter API
  • 数据集地址:https://rapidapi.com/abhishekgawande1667/api/text-utilities-formatter-api
  • 类别:Text Analysis
  • 提供者:Abhishek
  • 订阅者数量:3
  • 版本:v1 (current)

定价方案

  • BASIC:$0.00 / mo
  • PRO:$16.00 / mo
  • ULTRA:$60.00 / mo
  • MEGA:$150.00 / mo

数据集描述

该API为开发者提供了一套强大的文本处理工具。它通过简单的API调用,支持文本清理、格式化、大小写转换、单词和字符计数、slug生成、阅读时间估计以及空格标准化。适用于CMS平台、博客、表单验证、自动化工具和内容工作流,该API提供快速、可靠且可扩展的性能。

主要功能

  • 文本清理与格式化
  • 大小写转换
  • 单词和字符计数
  • slug生成
  • 阅读时间估计
  • 空格标准化

端点详情

  • 方法:POST
  • 路径/api/text-utils
  • 描述:分析和转换输入文本。适用于内容编辑器、SEO工具、CMS平台以及需要文本清理或格式化的开发者工具。

请求头

Header 是否必需 示例
X-RapidAPI-Key YOUR_API_KEY
X-RapidAPI-Host text-utilities-formatter-api.p.rapidapi.com
Content-Type application/json

请求体

  • 媒体类型application/json
  • 字段
    • text (string, 必需):要分析和格式化的文本

响应示例

成功 (200) json { "success": true, "data": { "wordCount": 6, "characterCount": 28, "characterCountNoSpaces": 23, "sentenceCount": 2, "readingTimeMinutes": 1, "cleanedText": "Hello world This is a test", "normalizedWhitespace": "Hello world! This is a test.", "cases": { "uppercase": "HELLO WORLD! THIS IS A TEST.", "lowercase": "hello world! this is a test.", "titleCase": "Hello World! This Is a Test.", "camelCase": "helloWorldThisIsATest", "snake_case": "hello_world_this_is_a_test", "kebab_case": "hello-world-this-is-a-test" }, "slug": "hello-world-this-is-a-test" } }

错误 (400) json { "success": false, "error": "Text field is required in JSON body" }

技术说明

  • 阅读时间估计基于每分钟200个单词的平均速度。
  • titleCase 在句子大写中会尊重次要单词(例如“and”、“or”、“the”)。
  • POST请求需确保设置 Content-Type: application/json
搜集汇总
数据集介绍
main_image_url
背景与挑战
背景概述
该API提供通过简单接口实现的文本清洗、格式化、分析和转换功能,支持多样化的文本处理需求。
以上内容由遇见数据集搜集并总结生成
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作