Chuyển đến nội dung
Tất cả trang web
Data API

ChatGPT Data API

Câu trả lời có cấu trúc và dữ liệu cuộc trò chuyện được chia sẻ từ ChatGPT.

4 endpointCloudflare · turnstile · Rate Limit được xử lý giúp bạn
chatgpt.comGET/chatgpt/askGET/chatgpt/brand…GET/chatgpt/health{ } JSON
Xem trước Sắp ra mắt

Bản xem trước sắp ra mắt

Chúng tôi đang hoàn thiện endpoint này. Endpoint chưa thể chạy, nên chúng tôi chưa hiển thị phản hồi mẫu cho đến khi được xác minh hoạt động thực tế.

POST/v1/chatgpt/ask1 tín dụng / lượt chạy

Ask

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

Được xử lý giúp bạn:CloudflareturnstileRate Limit
Tham số
TênKiểuBắt buộcMô tả
promptstringcóThe question or prompt to send.
Bộ lọc nâng cao
countrystringkhôngEgress country. (mặc định: us)
modelstringkhôngModel to answer with. See /chatgpt/models. Default auto. (mặc định: auto)
temperaturenumberkhôngSampling temperature 0.0-2.0. Lower is more focused.
languagestringkhôngPreferred answer language as an ISO code, e.g. en, de, fr.
web_searchbooleankhôngForce web search. (mặc định: false)