Chatgpt
Pricing
from $0.10 / result
Go to Apify Store
Under maintenance
Chatgpt
This Actor gets answers from ChatGPT and returns structured data. It supports custom prompts, country/region selection, and web search functionality
Pricing
from $0.10 / result
Rating
0.0
(0)
Developer

Jazz Wilson
Maintained by Community
Actor stats
0
Bookmarked
1
Total users
1
Monthly active users
8 days ago
Last modified
Categories
Share
ChatGPT Scraper
This Actor gets answers from ChatGPT and returns structured data. It supports custom prompts, country/region selection, and web search functionality.
What this Actor does:
- Web Reverse Engineering: Uses web scraping techniques to interact with ChatGPT's web interface
- Simulates AI Interaction: Automatically navigates to ChatGPT and submits your prompt
- Waits for AI Response: Monitors the conversation until ChatGPT completes its answer
- Extracts Structured Data: Captures the complete response including text, references, and other elements
- Returns JSON Output: Formats all extracted data into a structured JSON format for easy use
Input Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | The prompt to send to the ChatGPT scraper |
country | string | No | "US" | Country/region code for the scraper (e.g., US, UK, CN) |
web_search | boolean | No | false | Enable web search to get real-time information |
Example Input:
{"prompt": "Top hotels in New York","country": "US","web_search": false}
Output:
The Actor saves results to a dataset containing comprehensive structured data from ChatGPT's response:
Output Structure:
answer_text: Plain text response from ChatGPTanswer_text_markdown: Markdown-formatted responseanswer_html: Full HTML of the responseanswer_section_html: HTML of the answer sectioncitations: Array of referenced sources with domains, titles, and URLsmap: Array of location data with hotel details (name, rating, phone, website)links_attached: Array of links referenced in the responsemodel: The AI model used (e.g., gpt-5-2)prompt: Original input promptinput: Original input parameterscountry: Country/region used for the requesttimestamp: ISO timestamp of when the response was generatedurl: URL of the ChatGPT conversationweb_search_query: Array of search queries used if web search was enabledweb_search_triggered: Boolean indicating if web search was usedshopping: Array of shopping results (if any)search_sources: Array of search sources (if any)
Example Output:
{"answer_text": "Here are some top-rated hotels in New York City, USA, spanning luxury landmarks, iconic stays, and widely recommended favorites for visitors: 🌟 Luxury & Upscale Hotels The Plaza – Legendary luxury hotel on Fifth Avenue near Central Park, famous for elegant rooms and classic NYC glamour...","answer_text_markdown": "Here are some **top-rated hotels in New York City, USA**, spanning luxury landmarks, iconic stays, and widely recommended favorites for visitors:\n\n### 🌟 Luxury & Upscale Hotels\n\n* **The Plaza** – Legendary luxury hotel on Fifth Avenue near Central Park, famous for elegant rooms and classic NYC glamour...","citations": [{"cited": true,"description": "December 23, 2025","domain": "Forbes","title": "Best Hotels In New York City 2025 - Forbes Vetted","url": "https://www.forbes.com/sites/forbes-personal-shopper/article/best-hotels-in-new-york-city/?utm_source=chatgpt.com"}],"map": [{"category": "Hotel","name": "The Plaza","phone_number": "+12127593000","rating": 4.5,"review_count": 6766,"website_url": "https://www.theplazany.com/"}],"model": "gpt-5-2","prompt": "Top hotels in New York","timestamp": "2026-02-28T07:12:50.140Z","url": "https://chatgpt.com/?q=Top%20hotels%20in%20New%20York","web_search_triggered": true}
Features:
- Structured Data Extraction: Captures comprehensive data including text, markdown, HTML, citations, and map locations
- Web Search Support: Can enable web search for real-time information
- Country Selection: Allows specifying country/region for location-specific responses
- Error Handling: Gracefully handles web scraping errors and AI response issues
- Web Reverse Engineering: Uses advanced techniques to interact with ChatGPT's web interface
Usage Tips:
- For best results, provide clear and specific prompts
- Enable web search for time-sensitive or current information
- Use country parameter for location-specific responses
If you need data from other AI models or have specific requirements, feel free to let me know and I can develop a custom Actor for your needs!


