从 "羊停止了呼吸 = 扬眉吐气" 到 "蓝色的刀枪 = 刀枪不入"。这里海量题库,每一道都是中文语言的谐音魅力 —— 看似脑洞大开,细想又在情理之中。"世界上最遥远的距离,是答案就在你嘴边,你却想不起来。" —— 每一个玩过谐音梗的人
| 参数名 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| key | string | 是 | 接口调用密钥 | |
| action | string | 是 | 操作类型,仅可为:start(开始或重新开始)、answer(提交题目验证)、hint(获取题目提示) | start |
| user_id | string | 是 | 用户id,建议使用设备号或其他具有唯一性的id | 1828222534 |
| answer | string | 否 | 提交的答案,当action为answer时有效 | 荷兰豆 |
[
{
"name": "key",
"type": "string",
"required": true,
"description": "接口调用密钥",
"example": ""
},
{
"name": "action",
"type": "string",
"required": true,
"description": "操作类型,仅可为:start(开始或重新开始)、answer(提交题目验证)、hint(获取题目提示)",
"example": "start"
},
{
"name": "user_id",
"type": "string",
"required": true,
"description": "用户id,建议使用设备号或其他具有唯一性的id",
"example": "1828222534"
},
{
"name": "answer",
"type": "string",
"required": false,
"description": "提交的答案,当action为answer时有效",
"example": "荷兰豆"
}
]
{
"openapi": "3.1.1",
"info": {
"title": "谐音梗",
"description": "从 \"羊停止了呼吸 = 扬眉吐气\" 到 \"蓝色的刀枪 = 刀枪不入\"。这里海量题库,每一道都是中文语言的谐音魅力 —— 看似脑洞大开,细想又在情理之中。\"世界上最遥远的距离,是答案就在你嘴边,你却想不起来。\"\r\n—— 每一个玩过谐音梗的人",
"version": "1.0.0"
},
"paths": {
"/v1/game_xyg.php": {
"get": {
"summary": "谐音梗",
"description": "从 \"羊停止了呼吸 = 扬眉吐气\" 到 \"蓝色的刀枪 = 刀枪不入\"。这里海量题库,每一道都是中文语言的谐音魅力 —— 看似脑洞大开,细想又在情理之中。\"世界上最遥远的距离,是答案就在你嘴边,你却想不起来。\"\r\n—— 每一个玩过谐音梗的人",
"parameters": [
{
"name": "key",
"in": "query",
"required": true,
"schema": {
"type": "string"
},
"description": "接口调用密钥"
},
{
"name": "action",
"in": "query",
"required": true,
"schema": {
"type": "string",
"example": "start"
},
"description": "操作类型,仅可为:start(开始或重新开始)、answer(提交题目验证)、hint(获取题目提示)"
},
{
"name": "user_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"example": "1828222534"
},
"description": "用户id,建议使用设备号或其他具有唯一性的id"
},
{
"name": "answer",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "荷兰豆"
},
"description": "提交的答案,当action为answer时有效"
}
],
"responses": {
"200": {
"description": "成功",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"post": {
"summary": "谐音梗",
"description": "从 \"羊停止了呼吸 = 扬眉吐气\" 到 \"蓝色的刀枪 = 刀枪不入\"。这里海量题库,每一道都是中文语言的谐音魅力 —— 看似脑洞大开,细想又在情理之中。\"世界上最遥远的距离,是答案就在你嘴边,你却想不起来。\"\r\n—— 每一个玩过谐音梗的人",
"parameters": [
{
"name": "key",
"in": "query",
"required": true,
"schema": {
"type": "string"
},
"description": "接口调用密钥"
},
{
"name": "action",
"in": "query",
"required": true,
"schema": {
"type": "string",
"example": "start"
},
"description": "操作类型,仅可为:start(开始或重新开始)、answer(提交题目验证)、hint(获取题目提示)"
},
{
"name": "user_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"example": "1828222534"
},
"description": "用户id,建议使用设备号或其他具有唯一性的id"
},
{
"name": "answer",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "荷兰豆"
},
"description": "提交的答案,当action为answer时有效"
}
],
"responses": {
"200": {
"description": "成功",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
}
}
},
"servers": [
{
"url": "https://xiaoapi.cn",
"description": "当前访问入口(https)"
}
]
}
{
"code": 0,
"msg": "success",
"data": {
"question_id": 34,
"type": "text",
"category": "食物",
"difficulty": "medium",
"difficulty_name": "中等",
"question": "一条河把土豆拦住了,打一蔬菜。",
"hints_total": 3,
"hints_used": 0
}
}
暂无详细文档
暂无代码示例。管理员可在后台用 AI 生成或手动编写。
// 结果将在此处显示
生效日期:2026年7月22日
欢迎使用 xiaoapi.cn(以下简称"本平台")。在使用本平台提供的 API 服务(以下简称"本服务")前,请务必仔细阅读并充分理解本免责声明。您以任何方式调用、访问或使用本服务,即视为您已阅读、理解并同意接受本声明的全部内容。
本平台作为 API 技术服务的提供方,仅提供技术接口与数据分发服务。本声明的目的在于明确平台与用户之间的责任边界,督促用户合法、合规地使用本服务,防范违法违规行为的发生。
用户在使用本服务时,明确禁止从事以下行为:
在法律法规允许的最大范围内,本平台对以下情形不承担责任:
因用户违反本声明或相关法律法规,导致本平台及其关联方、合作方遭受任何损失(包括但不限于赔偿款、罚款、律师费、诉讼费等),用户同意向本平台及相关方承担全部赔偿责任。
本平台有权根据法律法规变化、业务调整或监管要求,随时修改本声明。修改后的声明将在本页面公布,自公布之日起生效。您继续使用本服务,即视为接受更新后的声明。
如您对本声明有任何疑问,或发现他人存在违规使用本服务的行为,欢迎通过本平台公示的联系方式与我们联系,我们将及时处理。