AIAI工具导航
首页|全部工具对比工作流博客使用指南AI 生态提交工具|

AI工具导航

发现最适合你的AI智能工具

浏览

  • 全部工具
  • 榜单
  • 最新上线
  • 对比

社区

  • 提示词分享
  • 社区讨论
  • 工作流
  • 站点动态

资源

  • 博客
  • 使用指南
  • AI 生态
  • 价格对比

关于

  • 提交工具
  • 数据统计
  • 站点状态
  • API 文档

订阅周刊

© 2026 AI工具导航. 保留所有权利.
首页搜索榜单工作流
首页/API 文档

API 文档

开放 API 供开发者集成. Base URL: https://aitoolsnav.com

认证说明

需要认证的接口使用 HTTP-only Cookie (auth-token)。登录后浏览器自动携带。

GET
/api/favorites需认证

Get user favorites

POST
/api/favorites需认证

Toggle favorite status

{ toolId: string }
GET
/api/reviews

Get tool reviews (?toolId=xxx)

POST
/api/reviews需认证

Submit a review

{ toolId, rating (1-5), comment }
POST
/api/upvote

Upvote a tool

{ toolId }
GET
/api/prompts

Get prompts list (?category=xxx)

POST
/api/prompts需认证

Submit a prompt

{ title, content, description?, category?, toolId? }
GET
/api/discussions

Get discussions (?toolId=xxx)

POST
/api/discussions需认证

Post a discussion

{ toolId, title, content }
POST
/api/tools/submit

Submit a new tool

{ name, website, tagline, description?, pricing?, submitterEmail? }
GET
/rss.xml

RSS 2.0 feed

POST
/api/subscribe

Subscribe to newsletter

{ email }

使用示例

// Get all prompts
const res = await fetch("https://aitoolsnav.com/api/prompts")
const { prompts } = await res.json()

// Submit a review (requires login)
await fetch("https://aitoolsnav.com/api/reviews", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ toolId: "...", rating: 5, comment: "Great tool!" }),
  credentials: "include",
})

// RSS Feed
// GET https://aitoolsnav.com/rss.xml