维梦API - 提供免费接口调用平台
该API已经过安全认证,请放心使用
工具 · 违禁词、敏感词检测
用于检测文本中存在的敏感词、违禁词,结果仅供参考

接口地址: https://api.52vmy.cn/api/min

返回格式: JSON

请求方式: GET

请求示例: https://api.52vmy.cn/api/min?msg=api.52vmy.cn

接口定制: 点此加入用户群

默认QPS: 每2秒最多4次 携带Token可无视限制

接口备注:点击前往文本安全检测API

请求参数说明:

名称 必填 类型 说明
msg string 关键词
type string 返回格式默认JSON可选text

返回参数说明:

名称 类型 说明
num string 违规内容总数

返回示例:


( ! ) Warning: file_get_contents(http://127.0.0.1:8080/getmin?t=api.52vmy.cn): failed to open stream: Connection refused in /www/wwwroot/api.52vmy.cn/view/api/min/index.php on line 17
Call Stack
#TimeMemoryFunctionLocation
10.0003397656{main}( ).../index.php:0
20.0004397920require( '/www/wwwroot/api.52vmy.cn/app/init.php ).../index.php:17
30.0017412720require( '/www/wwwroot/api.52vmy.cn/route/web.php ).../init.php:30
40.0017412752Route::any( $rule = '/api/{apiVal}', $method = 'IndexController@api', $action = ??? ).../web.php:22
50.0017412752Route::get( $rule = '/api/{apiVal}', $method = 'IndexController@api', $action = NULL ).../Route.php:44
60.0018412752Route::ifimp( $rule = '/api/{apiVal}', $method = 'IndexController@api', $action = NULL ).../Route.php:124
70.0018412752Route::impController( $method = 'IndexController@api' ).../Route.php:218
80.0040444816indexController->api( ).../Route.php:260
90.0181461912require( '/www/wwwroot/api.52vmy.cn/view/api/min/index.php ).../IndexController.php:260
100.0181462152file_get_contents( $filename = 'http://127.0.0.1:8080/getmin?t=api.52vmy.cn' ).../index.php:17
{ "code": 200, "msg": "成功", "num": null, "data": null }

PHP代码示例:

$msg = $_GET["msg"];
$type = $_GET["type"];
$url = "https://api.52vmy.cn/api/min?msg=".$msg."&type=".$type."&
echo file_get_contents($url);