01
快速开始
创建密钥并在几分钟内发送第一个请求。
身份验证
X-Api-Key 头或 Authorization: Bearer——密钥只显示一次。
如需申请 API 密钥,请发邮件至支持邮箱: info@aidiscovery.ir
# اولین درخواست با کلید API:
curl -H "X-Api-Key: ak_live_YOUR_KEY" \
"https://api.aidiscovery.ir/api/v1/public/models?per_page=3"
请求示例
当前契约的真实示例。
curl -H "X-Api-Key: ak_live_YOUR_KEY" \
"https://api.aidiscovery.ir/api/v1/public/search?q=chatgpt&locale=fa"
{
"data": [
{
"id": "0192f3a1-…",
"slug": "gpt-4o",
"company": { "slug": "openai" },
"status": "released",
"context_window_tokens": 128000,
"updated_at": "2026-10-01T10:00:00+00:00"
}
],
"meta": { "current_page": 1, "per_page": 3, "total": 312, "last_page": 104 },
"links": { "first": "…", "last": "…", "next": "…", "prev": null }
}
02
端点分组
- GETModels — AI 与语言模型
/public/models - GETCompanies — AI 生态构建者
/public/companies - GETProducts — AI 公司的服务
/public/products - GETTools — 基于 AI 的工具
/public/tools - GETPlans — 套餐
/public/plans - GETPricing — 价格
/public/pricing - GETSearch — 搜索
/public/search - GETContent — 内容
/public/articles
03
为什么选择 AiDiscovery API?
人与机器共享同一真相源。
- 01
同一平台数据
API 直接运行在与网站相同的规范数据模型上——没有第二份拷贝。
- 02
来源感知
响应可携带验证与新鲜度信号(verified / stale / conflicting)。
- 03
多语言
fa / en / zh / ar 通过 locale 参数——多语言搜索与本地化名称。
- 04
分级访问
从 Free 到 Enterprise——限额是数据,不是硬编码。
- 05
机器可读
紧凑、可预测的 JSON;为 agent 与未来 SDK 准备。
- 06
ETag / 304
稳定端点上的条件请求可节省带宽。
04
速率限制与层级
各层级的速率/配额——直接来自真实的 api_tiers 数据。
| 层级 | 请求/分钟 | 日配额 | 月配额 | per_page |
|---|---|---|---|---|
| Free | 30 | 1,000 | 25,000 | 25 |
| Developer | 120 | 20,000 | 500,000 | 50 |
| Pro | 300 | 100,000 | 2,000,000 | 100 |
| Business | 600 | ∞ | 10,000,000 | 100 |
| Enterprise | 1,200 | ∞ | ∞ | 100 |
05
API 更新日志
新增、变更与弃用——绝不静默。
立即构建
浏览 API 参考和变更日志,立即开始构建。
如需申请 API 密钥,请发邮件至支持邮箱: info@aidiscovery.ir