www.helpPage.eyebrow
www.helpPage.title
www.helpPage.subtitle
www.helpPage.overviewwww.helpPage.overview
www.helpPage.overview
www.helpPage.baseURL
www.helpPage.overviewDesc
www.helpPage.baseURL
https://api.chageyun.comwww.helpPage.authwww.helpPage.authDesc
www.helpPage.rateLimitwww.helpPage.rateLimitDesc
www.helpPage.params
pagewww.helpPage.commonParams.pagepage_sizewww.helpPage.commonParams.pageSizelangwww.helpPage.commonParams.langsearchwww.helpPage.commonParams.searchwww.helpPage.endpoints
www.helpPage.endpoints
www.helpPage.response
json
{
"code": 0,
"message": "success",
"data": {
"items": [
{
"id": "uuid",
"name": "Example Vendor",
"description": "A great cloud provider",
"rating": 4.5,
"review_count": 128,
"views": 5420,
"favorites": 320
}
],
"total": 500,
"page": 1,
"page_size": 10
}
}www.helpPage.filterGuidewww.helpPage.filterGuide
www.helpPage.filterGuide
for AI
www.helpPage.filterGuideDesc
www.helpPage.vendorFilters.title/api/vendors
searchwww.helpPage.vendorFilters.searchcategorywww.helpPage.vendorFilters.categorysortwww.helpPage.vendorFilters.sortstatuswww.helpPage.vendorFilters.statuswww.helpPage.toolFilters.title/api/tools
searchwww.helpPage.toolFilters.searchcategorywww.helpPage.toolFilters.categorypricing_typewww.helpPage.toolFilters.pricingTypewww.helpPage.aiToolFilters.title/api/aitools
searchwww.helpPage.aiToolFilters.searchcategorywww.helpPage.aiToolFilters.categorysubcategorywww.helpPage.aiToolFilters.subcategorypricing_typewww.helpPage.aiToolFilters.pricingTypeis_open_sourcewww.helpPage.aiToolFilters.isOpenSourcecontext_length_min/maxwww.helpPage.aiToolFilters.contextLengthhardware_typewww.helpPage.aiToolFilters.hardwareTypeinference_typewww.helpPage.aiToolFilters.inferenceTypesupports_reasoningwww.helpPage.aiToolFilters.supportsReasoningsortwww.helpPage.aiToolFilters.sortwww.helpPage.codeExample
www.helpPage.mcpExample
www.helpPage.mcpDesc
MCP Config
json
{
"mcpServers": {
"chageyun": {
"command": "npx",
"args": ["-y", "@chageyun/mcp-server"],
"env": {
"CHAGEYUN_API_BASE": "https://api.chageyun.com"
}
}
}
}cURL
bash
# 获取厂商列表
curl "https://api.chageyun.com/api/vendors?page=1&page_size=10&lang=en"
# 搜索AI模型
curl "https://api.chageyun.com/api/aitools?search=gpt&category=nlp&sort=rating"
# 获取工具详情
curl "https://api.chageyun.com/api/tools/{id}?lang=en"
# 创建评论(需要认证)
curl -X POST "https://api.chageyun.com/api/reviews" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"target_type":"vendor","target_id":"uuid","rating":5,"title":"Great!","content":"Excellent service"}'TypeScript
typescript
// AI通过MCP调用ChageYun API获取数据
async function searchAiModels(query: string, category?: string) {
const params = new URLSearchParams({
search: query,
page: '1',
page_size: '10',
sort: 'rating',
});
if (category) params.set('category', category);
const res = await fetch(
`https://api.chageyun.com/api/aitools?${params}`
);
const data = await res.json();
return data.data.items;
}
// 示例:搜索NLP类AI模型
const models = await searchAiModels('gpt', 'nlp');
console.log(models);www.helpPage.errors
www.helpPage.errors
400www.helpPage.error400
401www.helpPage.error401
404www.helpPage.error404
429www.helpPage.error429
500www.helpPage.error500