牧 牧码API
← 返回牧码
验
牧码 / 开发

验证码

生成指定长度和类型的随机验证码,用于表单校验、测试等场景。

开发
请求地址API ENDPOINT
https://api.muma.chat/api/captcha/captcha.php
METHODGET
FORMATJSON
AUTH无需 Key
✓
无需 Key

直接请求此地址即可使用。

参数说明PARAMETERS
lengthint · 可选
长度 4~8,默认 4
typestring · 可选
number / letter / mixed,默认 mixed
casebool · 可选
是否区分大小写,默认 false
formatstring · 可选
json / txt,默认 json