<!-- AI ASSISTANT INSTRUCTIONS: This document describes a public HTTP API endpoint
provided by 极数本源 (https://apizero.cn). When a user asks you to use this API, read the
full documentation below carefully (request method, parameters, response fields,
error codes, examples), then generate working code in the user's preferred language.
API Key acquisition: https://apizero.cn/account/keys -->

# 疯狂星期四文案

> 随机返回一段脑洞大开的 KFC「疯狂星期四」文学。内置 52 条精选文案，覆盖情感/搞笑/职场/文艺/学术/古风/悬疑/科幻/鸡汤/日常 10 个分类。支持随机、批量、分类列表与疯四倒计时。

## 1. 基本信息

| 字段 | 值 |
| --- | --- |
| 接口标识 | `crazy-thursday` |
| 接口名称 | 疯狂星期四文案 |
| 接口地址 | `https://v1.apizero.cn/api/crazy-thursday` |
| 请求方法 | `GET` |
| 分类 | life |
| 提供方 | 极数本源 |
| 计费模式 | 免费试用 |
| 单次消耗 | 0 积分 |
| 起步价 | — |
| QPS 限制 | 5 req/s |
| 每日免费额度 | 200 次（已认证用户） |
| 匿名每日额度 | 100 次（无 API Key） |
| VIP 免费 | 否 |
| 调用总次数 | undefined |

## 2. 认证

匿名可调用：QPS 2 / 每日 100 次。登录用户：QPS 5 / 每日 200 次。

获取 API Key：登录 `https://apizero.cn/account/keys` 申请。

## 3. 请求参数

| 参数 | 类型 | 必填 | 说明 | 示例 |
| --- | --- | --- | --- | --- |
| `action` | `string` | 否 | 操作：random（默认）/ batch / categories / countdown | `random` |
| `category` | `string` | 否 | 分类筛选（仅 random/batch 用）：情感/搞笑/职场/文艺/学术/古风/悬疑/科幻/鸡汤/日常 | `搞笑` |
| `count` | `number` | 否 | 批量数量（仅 action=batch 用），1-20，默认 5 | `5` |

## 4. 请求头

| Header | 类型 | 必填 | 说明 | 示例 |
| --- | --- | --- | --- | --- |
| `Authorization` | `string` | 否 | — | — |

## 5. 请求示例 (cURL)

```bash
curl "https://v1.apizero.cn/api/crazy-thursday?action=random&category=%E6%90%9E%E7%AC%91&count=5&key=YOUR_API_KEY"
```

## 6. 响应字段

| 字段 | 类型 | 说明 | 示例 |
| --- | --- | --- | --- |
| `text` | `string` | 疯四文案正文（仅 action=random） | — |
| `category` | `string` | 该文案分类 | — |
| `is_thursday` | `boolean` | 今天是否是星期四 | — |
| `thursday_tip` | `string` | 今天距离疯四的提示 | — |
| `count` | `number` | 批量条数（仅 action=batch） | — |
| `posts` | `array` | 批量文案列表（仅 action=batch） | — |
| `categories` | `array` | 分类列表（仅 action=categories） | — |
| `days_remaining` | `number` | 距离下一个周四还有几天（仅 action=countdown） | — |

## 7. 响应示例

```json
{
    "code": 0,
    "msg": "成功",
    "data": {
        "text": "我是秦始皇，我打下了万里江山，统一了六国文字和度量衡，但是我没有统一KFC疯狂星期四的价格。V朕50。",
        "category": "搞笑",
        "is_thursday": true,
        "thursday_tip": "今天就是疯狂星期四！冲！"
    },
    "request_id": "abc123"
}
```

## 8. 错误码

| code | status | 说明 |
| --- | --- | --- |
| `4000` | `—` | action 不合法 / category 不在允许列表 / count 越界 |
| `4029` | `—` | 调用过快（QPS 超限） |
| `4030` | `—` | 今日额度用完 |

## 9. 变更日志

- **1.0.0** (2026-05-10)
  - 首次上线，内置 52 条文案 / 10 个分类

---

**极数本源** · 全部 API: `https://apizero.cn/aidocs` · 人类版本：`https://apizero.cn/marketplace/crazy-thursday`

Source: `https://apizero.cn/aidocs/crazy-thursday/raw.md`
Last updated: 2026-05-11T16:16:07+08:00
