How to Scrape Data from ChatGPT
To download your own ChatGPT history, use the official data export. For an app, use the OpenAI API; automated scraping of the consumer site is prohibited by its terms.
If you mean downloading your own ChatGPT conversations, use the official data export. If you mean automatically scraping the ChatGPT website or its outputs, OpenAI’s current individual-user terms prohibit that. For a programmatic application, use the OpenAI API and check the terms and data controls that apply to your account. This guide was verified against the cited OpenAI documentation on October 4, 2026.
Choose the right way to get ChatGPT data
| Your goal | Use this route | Important limits |
|---|---|---|
| Keep a copy of your own account history | ChatGPT’s data export or the Privacy Portal | Eligibility depends on account and workspace. Delivery can take up to seven days; the download link expires after 24 hours. |
| Build an application that sends prompts to OpenAI models | The OpenAI API and official developer documentation | Check the applicable developer terms and endpoint-specific data controls. |
| Automatically extract chats or outputs from the ChatGPT website | There is no supported scraping workflow to recommend | OpenAI’s individual-user terms prohibit automated or programmatic extraction and bypassing protections or rate limits. |
These options serve different purposes: an export is a copy of your own eligible account data; an API is for building a permitted application; scraping the consumer interface is prohibited by the applicable individual-user terms. OpenAI’s Terms of Use state that users must not “automatically or programmatically extract data or Output.” The Services Agreement also restricts extracting data except as permitted through the services and bypassing protections or usage limits.
Download your own ChatGPT history
For eligible signed-in Free, Go, Plus, and Pro accounts, request an export from ChatGPT:
- Sign in to ChatGPT.
- Open your profile menu and select Settings.
- Choose Data controls.
- Under Export data, select Export and confirm.
- Wait for the delivery email or SMS. Open the link while signed in to the same account that requested the export.
- Download and securely store the ZIP. The link expires 24 hours after it arrives.
OpenAI says delivery may take up to seven days. You can also submit a request through the OpenAI Privacy Portal; you may need to verify account ownership using its associated email or phone number. The downloaded ZIP includes chat history and other relevant account data, but the help instructions do not promise that it covers every product surface or define a permanent file schema. Treat it as sensitive data.
Workspace and account eligibility
- Settings-based export is unavailable while logged out and for ChatGPT Business, Enterprise, and Healthcare workspaces. If you use one of these managed workspaces, contact its owner.
- Some ChatGPT Edu workspaces may allow exports if an administrator enables them. Access can depend on your role, workspace settings, and data residency.
- A new export cannot restore conversations that were already deleted.
See OpenAI’s current export instructions for account-specific details.
Build an application with the OpenAI API
If you need to send prompts from your own software and process model responses, use the API rather than automating the consumer website. Start with the OpenAI developer documentation for current authentication, model, and endpoint instructions. The exact request depends on the endpoint and SDK version, so use the current example for the endpoint you select instead of treating ChatGPT’s web interface as an API.
Before sending real data, review the API data controls documentation and the applicable developer/business terms. Options such as modified abuse monitoring and Zero Data Retention have endpoint and account eligibility conditions; do not assume they apply to every request. Keep API credentials in a server-side secret store, send only data your application is permitted to process, and handle API errors and usage limits according to the endpoint documentation.
Do not automate the ChatGPT website as a substitute
Browser scripts, private endpoints, and techniques for evading rate limits or protective measures are not an endorsed route to programmatic ChatGPT data. The consumer terms prohibit automated or programmatic extraction, and the business/developer agreement also bars bypassing safeguards and usage limits. Use official export for your own account copy or the API for an application.
Privacy and data handling
- Protect exports. A ZIP can contain sensitive account information. Store it with access controls appropriate to its contents and avoid putting it in a public or shared folder.
- Plan for deletion. Do not rely on an export to recover chats deleted before the export request.
- Separate export contents from collection practices. OpenAI’s privacy policy describes service-collected categories such as log, usage, and device information; those categories are not an export manifest.
- Check current controls. API retention and data-control behavior varies by endpoint and account and may change. Confirm the current official documentation before choosing an endpoint for sensitive workloads.
Relevant primary references: OpenAI Privacy Policy and API data controls.
Or skip the browser setup
If your goal is to save a visual record of a page that discusses ChatGPT, a screenshot captures the rendered page; it does not export private conversations or replace the API. ScreenshotNeo is a website screenshot API and MCP server. Its one-call request can return an image or PDF, and the API documentation lists its parameters.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://openai.com -o shot.webp
Cookie banners, newsletter popups, and chat widgets are removed before the shot. Bot checks, blank pages, and failed loads are never billed. An MCP server lets AI agents use screenshot tools. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots. Sign up for 1,000 free screenshots a month, no card required.
Troubleshooting
| Problem | Likely cause | What to do |
|---|---|---|
| No export option in Settings | You are logged out, using an ineligible account type, or in a managed workspace that disables export. | Sign in and check Data controls. For Business, Enterprise, or Healthcare workspaces, contact the workspace owner. For Edu, ask whether export is enabled for your role. |
| The export email or SMS has not arrived | Exports can take up to seven days; delivery may also require verifying the account contact details. | Check the account’s email and phone, including spam folders, and use the Privacy Portal if needed. |
| The download link no longer works | Export links expire 24 hours after receipt, or the browser is signed into a different account. | Sign in to the account that requested the export. If the link expired, request another export. |
| Expected deleted conversations are missing | An export does not restore conversations deleted before the request. | Check whether the conversation still exists in the account; do not treat export as a recovery mechanism. |
| An API data-control option is unavailable | Controls can depend on endpoint and account eligibility. | Check the current API data-controls guide and the documentation for the endpoint in use. |
| A script is blocked or stops working against ChatGPT | The consumer interface is not a supported extraction API, and terms prohibit programmatic extraction and bypassing protections. | Use account export for personal history or an official API workflow for an application. Do not attempt to evade the restriction. |
Frequently asked questions
Can I export ChatGPT conversations as JSON?
OpenAI describes a ZIP containing chat history and other account data, but the cited export instructions do not promise a stable schema or a particular format for every item. Inspect the files in your own export and avoid building a durable integration around an undocumented structure.
Can I export conversations from a managed work account?
Settings-based export is unavailable for Business, Enterprise, and Healthcare workspaces. Contact the workspace owner. Edu availability depends on administrator settings and your role.
Does an export include everything OpenAI has about me?
The export instructions describe chat history and other relevant account data, not a guarantee that every product surface or every service-collected data category appears in the ZIP. Use the Privacy Portal for privacy requests and consult the privacy policy for collection categories.
Is ScreenshotNeo a way to scrape ChatGPT?
No. It captures rendered webpages as screenshots or PDFs; it does not extract account conversations, bypass access controls, or replace the OpenAI API.


