curl -X GET "https://ai-student-survival.example.com/api/tools?category=writing&pricing=freemium" \
-H "Accept: application/json" \
-H "X-Robots-Tag: index, follow" https://ai-student-survival.example.com/api/tools 获取AI工具列表,支持多维度筛选和搜索 | 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| category | string | 否 | 按分类筛选,可选值: writing, coding, design, research, communication |
| pricing | string | 否 | 按定价筛选,可选值: free, freemium, paid |
| q | string | 否 | 关键词搜索,匹配名称、描述和标签 |
{
"success": true,
"data": [
{
"id": "1",
"name": "ChatGPT",
"slug": "chatgpt",
"description": "OpenAI开发的AI对话助手",
"category": "communication",
"pricing": "freemium",
"rating": 4.8,
"tags": [
"写作",
"编程",
"分析"
],
"priceDetail": {
"monthly": 20,
"yearly": 200,
"currency": "USD"
},
"features": [
"多轮对话",
"代码生成",
"文本创作"
],
"alternatives": [
"claude",
"gemini"
]
}
],
"meta": {
"total": 20,
"timestamp": "2024-05-01T12:00:00.000Z"
}
} application/json https://ai-student-survival.example.com/api/tools/[slug] 获取单个AI工具的详细信息 | 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| slug | string | 是 | 工具的唯一标识符(slug), 如: chatgpt, claude, midjourney |
{
"success": true,
"data": {
"id": "1",
"name": "ChatGPT",
"slug": "chatgpt",
"description": "OpenAI开发的AI对话助手...",
"category": "communication",
"subcategory": "chatbot",
"pricing": "freemium",
"priceDetail": {
"monthly": 20,
"yearly": 200,
"currency": "USD"
},
"url": "https://chat.openai.com",
"imageUrl": "https://placehold.co/800x400/10b981/ffffff?text=ChatGPT",
"rating": 4.8,
"ratingCount": 12500,
"dimensions": {
"easeOfUse": 4.5,
"features": 4.9,
"value": 4.7
},
"tags": [
"写作",
"编程",
"分析",
"对话",
"OpenAI"
],
"features": [
"多轮对话",
"代码生成",
"文本创作",
"数据分析",
"文件上传",
"语音交互"
],
"alternatives": [
"claude",
"gemini"
],
"isNew": false,
"createdAt": "2024-01-01",
"updatedAt": "2024-05-01"
},
"meta": {
"timestamp": "2024-05-01T12:00:00.000Z"
}
} application/json https://ai-student-survival.example.com/api/payment-solutions 获取支付解决方案列表 | 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| category | string | 否 | 按类别筛选,可选值: virtual_card, gift_card, regional_pricing, troubleshooting |
| difficulty | string | 否 | 按难度筛选,可选值: easy, medium, hard |
| toolId | string | 否 | 按适用工具筛选,工具的slug如: chatgpt, claude, midjourney |
{
"success": true,
"data": [
{
"id": "1",
"title": "Depay虚拟卡申请和使用完整教程",
"category": "virtual_card",
"difficulty": "easy",
"reliability": "high",
"excerpt": "Depay是目前最流行的留学生虚拟卡服务...",
"rating": 4.8,
"views": 12500,
"tags": [
"虚拟卡",
"Depay",
"USDT"
],
"toolIds": [
"chatgpt",
"claude"
]
}
],
"meta": {
"total": 6,
"timestamp": "2024-05-01T12:00:00.000Z"
}
} application/json https://ai-student-survival.example.com/api/policies 获取海外大学AI使用政策列表 | 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| country | string | 否 | 按国家筛选,如: 美国, 英国, 澳大利亚, 加拿大, 瑞士, 新加坡 |
| q | string | 否 | 关键词搜索,匹配大学名称、国家、地区 |
| tool | string | 否 | 按允许的工具筛选,如: ChatGPT, Claude, GitHub Copilot |
{
"success": true,
"data": [
{
"id": "mit",
"universityName": "MIT",
"country": "美国",
"region": "Massachusetts",
"summary": {
"allowed": [
"ChatGPT",
"GitHub Copilot"
],
"prohibited": [],
"restricted": [
"Claude"
]
},
"lastUpdated": "2024-03-15",
"allowedTools": [
"ChatGPT",
"GitHub Copilot"
],
"prohibitedTools": [],
"penalty": "违反学术诚信政策可能面临警告、成绩降级或开除",
"sourceUrl": "https://integrity.mit.edu"
}
],
"meta": {
"total": 8,
"timestamp": "2024-05-01T12:00:00.000Z"
}
} application/json