稳定、快速的API服务

文本统计,我们致力于为用户提供专业的免费API数据接口服务

文本统计 v1.0

最后更新: 2026-09-08 17:50:01

文本统计

免费 调用次数: 29264 正常运行 响应速度: <100ms 需要传入API密钥

接口信息

接口地址:
https://qhapi.com/api/wordcount/api.php
请求方式: GET
返回格式: json

调用统计

0
今日调用
29264
总调用次数
请求示例 https://qhapi.com/api/wordcount/api.php?apikey=你的API密钥(登录后获取)&text=文本内容

点击右侧按钮复制完整请求地址,参数值请替换为实际有效值

请求参数

参数名 是否必填 参数类型 参数说明
apikey
是 string 你的API密钥(登录后获取)
点击登录获取秘钥
text
是 string 文本内容

返回参数

参数名 参数类型 参数说明
chars
string chars
words
string words
lines
string lines
bytes
string bytes

返回示例

{
    "code": 200,
    "msg": "success",
    "data": {
        "chars": "示例值",
        "words": "示例值",
        "lines": "示例值",
        "bytes": "示例值"
    }
}