コンテンツへスキップ
すべてのサイト
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)