ChatGPT Scraper
Use the scraper.chatgpt actor to capture ChatGPT answers—including the Markdown response, search links, and attribution data—without needing to reverse engineer the UI yourself.
Request Example
curl 'https://api.scrapeless.com/api/v2/scraper/request' \
--header 'Content-Type: application/json' \
--header 'x-api-token: {you_api_key}' \
--data '{
"actor": "scraper.chatgpt",
"input": {
"prompt": "Most reliable proxy service for data extraction",
"country": "JP",
"web_search": true,
"shopping": true
},
"webhook": {
"url": "http://www.youwebhook.com"
}
}'Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Prompt to send to ChatGPT. |
country | string | Yes | Country or region code. |
web_search | boolean | No | Whether to enable web search. |
shopping | boolean | No | Whether to fetch shopping data. Defaults to true. When enabled, returns product information in the products field. |
Response Fields
Note: If the response includes shopping data (the
productsfield), the API call will be charged at 2x the base rate. This is due to the additional resource overhead required for extracting and processing product information from multiple sources.
| Parameter | Type | Description |
|---|---|---|
prompt | string | Original prompt. |
result_text | string | Markdown response from ChatGPT. |
model | string | Model identifier, e.g., gpt-5-1. |
web_search | bool | Indicates whether search enrichment ran. |
links | array | Array of supplementary links. |
search_result | array | SERP results associated with the response. |
search_result.attribution | string | Source of the search result. |
search_result.snippet | string | Snippet supplied by ChatGPT. |
search_result.title | string | Title of the search hit. |
search_result.url | string | URL of the search hit. |
content_references | array | References included inside the ChatGPT answer. |
content_references.attribution | string | Source of the reference. |
content_references.title | string | Title of the referenced content. |
content_references.url | string | URL of the referenced content. |
products | array | Product information returned by ChatGPT. |
products.id | string | Unique product identifier. |
products.title | string | Product title. |
products.description | string | Product description (may be null). |
products.price | string | Display price, e.g., $799.99. |
products.rating | float | Average rating score. |
products.num_reviews | int | Number of reviews. |
products.merchants | string | Merchant names, e.g., Sony + others. |
products.image_urls | array | Array of product image URLs. |
products.url | string | Product page URL. |
products.offers | array | Array of purchase offers. |
products.offers.merchant_name | string | Name of the merchant. |
products.offers.price | string | Offer price. |
products.offers.price_details | object | Detailed price breakdown. |
products.offers.price_details.base | string | Base price. |
products.offers.price_details.total | string | Total price including tax and shipping. |
products.offers.available | bool | Product availability status. |
products.offers.details | string | Delivery and stock information. |
products.offers.url | string | Checkout or product URL. |
products.rating_grouped_citation | object | Citation data for ratings. |
products.rating_grouped_citation.title | string | Citation title. |
products.rating_grouped_citation.url | string | Citation URL. |
products.rating_grouped_citation.supporting_websites | array | Websites supporting the rating. |
products.rating_grouped_citation.supporting_websites.title | string | Website title. |
products.rating_grouped_citation.supporting_websites.url | string | Website URL. |
ads | object | Ads information returned by ChatGPT. |
ads.type | string | Type of the ads response, e.g., ads. |
ads.content | object | Content of the ads. |
ads.content.type | string | Type of ad unit, e.g., single_advertiser_ad_unit. |
ads.content.advertiser_brand | object | Advertiser brand information. |
ads.content.advertiser_brand.id | string | Unique identifier for the advertiser brand. |
ads.content.advertiser_brand.name | string | Name of the advertiser brand. |
ads.content.advertiser_brand.url | string | URL of the advertiser brand website. |
ads.content.advertiser_brand.favicon_url | string | URL of the advertiser’s favicon icon. |
ads.content.ad_cards | array | Array of advertisement cards. |
ads.content.ad_cards.title | string | Title of the advertisement card. |
ads.content.ad_cards.body | string | Body text or description of the ad. |
ads.content.ad_cards.company_name | string | Name of the advertising company. |
ads.content.ad_cards.format | string | Format of the ad card, e.g., image_card_v2. |
ads.content.ad_cards.image_url | string | URL of the advertisement image. |
ads.content.ad_cards.cta_product_copy | string | Call-to-action product copy (may be null). |
ads.content.ad_cards.card_header | object | Header information of the ad card. |
ads.content.ad_cards.card_header.title | string | Title in the card header. |
ads.content.ad_cards.card_header.subtitle | string | Subtitle in the card header, e.g., Sponsored. |
ads.content.ad_cards.card_header.logo_url | string | URL of the advertiser’s logo. |
ads.content.ad_cards.favicon_url | string | URL of the favicon for the ad. |
ads.content.ad_cards.target | object | Target link information for the ad. |
ads.content.ad_cards.target.type | string | Type of target, e.g., url. |
ads.content.ad_cards.target.value | string | The actual URL value of the target link. |
ads.content.ad_cards.target.open_externally | bool | Whether to open the link externally. |
ads.content.carousel_cards | array | Array of carousel advertisement cards. |
ads.content.carousel_cards.title | string | Title of the carousel card. |
ads.content.carousel_cards.body | string | Body text or description of the carousel card. |
ads.content.carousel_cards.image_url | string | URL of the carousel card image. |
ads.content.carousel_cards.target | object | Target link information for the carousel card. |
ads.content.carousel_cards.target.type | string | Type of target, e.g., url. |
ads.content.carousel_cards.target.value | string | The actual URL value of the carousel target. |
ads.content.carousel_cards.target.open_externally | bool | Whether to open the carousel link externally. |