跳到主要内容
所有网站
Data API

ChatGPT Data API

来自 ChatGPT 的结构化回答和共享对话数据。

4 个端点已为你处理Cloudflare · turnstile · 速率限制
chatgpt.comGET/chatgpt/askGET/chatgpt/brand…GET/chatgpt/health{ } JSON
预览 即将推出

预览即将推出

我们正在完善此端点。它暂不可运行,因此在实时验证之前不会展示示例响应。

POST/v1/chatgpt/ask1 额度 / 次

Ask

Query ChatGPT and get a structured answer with markdown, model, web-search flag, sources, and a timestamp. Single-shot Q&A (no pagination).

已为你处理:Cloudflareturnstile速率限制
参数
名称类型必填描述
promptstring是The question or prompt to send.
高级筛选
countrystring否Egress country. (默认值:us)
modelstring否Model to answer with. See /chatgpt/models. Default auto. (默认值:auto)
temperaturenumber否Sampling temperature 0.0-2.0. Lower is more focused.
languagestring否Preferred answer language as an ISO code, e.g. en, de, fr.
web_searchboolean否Force web search. (默认值:false)