LLM Chat ScraperScrapersChatGPT

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

ParameterTypeRequiredDescription
promptstringYesPrompt to send to ChatGPT.
countrystringYesCountry or region code.
web_searchbooleanNoWhether to enable web search.
shoppingbooleanNoWhether 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 products field), 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.

ParameterTypeDescription
promptstringOriginal prompt.
result_textstringMarkdown response from ChatGPT.
modelstringModel identifier, e.g., gpt-5-1.
web_searchboolIndicates whether search enrichment ran.
linksarrayArray of supplementary links.
search_resultarraySERP results associated with the response.
search_result.attributionstringSource of the search result.
search_result.snippetstringSnippet supplied by ChatGPT.
search_result.titlestringTitle of the search hit.
search_result.urlstringURL of the search hit.
content_referencesarrayReferences included inside the ChatGPT answer.
content_references.attributionstringSource of the reference.
content_references.titlestringTitle of the referenced content.
content_references.urlstringURL of the referenced content.
productsarrayProduct information returned by ChatGPT.
products.idstringUnique product identifier.
products.titlestringProduct title.
products.descriptionstringProduct description (may be null).
products.pricestringDisplay price, e.g., $799.99.
products.ratingfloatAverage rating score.
products.num_reviewsintNumber of reviews.
products.merchantsstringMerchant names, e.g., Sony + others.
products.image_urlsarrayArray of product image URLs.
products.urlstringProduct page URL.
products.offersarrayArray of purchase offers.
products.offers.merchant_namestringName of the merchant.
products.offers.pricestringOffer price.
products.offers.price_detailsobjectDetailed price breakdown.
products.offers.price_details.basestringBase price.
products.offers.price_details.totalstringTotal price including tax and shipping.
products.offers.availableboolProduct availability status.
products.offers.detailsstringDelivery and stock information.
products.offers.urlstringCheckout or product URL.
products.rating_grouped_citationobjectCitation data for ratings.
products.rating_grouped_citation.titlestringCitation title.
products.rating_grouped_citation.urlstringCitation URL.
products.rating_grouped_citation.supporting_websitesarrayWebsites supporting the rating.
products.rating_grouped_citation.supporting_websites.titlestringWebsite title.
products.rating_grouped_citation.supporting_websites.urlstringWebsite URL.
adsobjectAds information returned by ChatGPT.
ads.typestringType of the ads response, e.g., ads.
ads.contentobjectContent of the ads.
ads.content.typestringType of ad unit, e.g., single_advertiser_ad_unit.
ads.content.advertiser_brandobjectAdvertiser brand information.
ads.content.advertiser_brand.idstringUnique identifier for the advertiser brand.
ads.content.advertiser_brand.namestringName of the advertiser brand.
ads.content.advertiser_brand.urlstringURL of the advertiser brand website.
ads.content.advertiser_brand.favicon_urlstringURL of the advertiser’s favicon icon.
ads.content.ad_cardsarrayArray of advertisement cards.
ads.content.ad_cards.titlestringTitle of the advertisement card.
ads.content.ad_cards.bodystringBody text or description of the ad.
ads.content.ad_cards.company_namestringName of the advertising company.
ads.content.ad_cards.formatstringFormat of the ad card, e.g., image_card_v2.
ads.content.ad_cards.image_urlstringURL of the advertisement image.
ads.content.ad_cards.cta_product_copystringCall-to-action product copy (may be null).
ads.content.ad_cards.card_headerobjectHeader information of the ad card.
ads.content.ad_cards.card_header.titlestringTitle in the card header.
ads.content.ad_cards.card_header.subtitlestringSubtitle in the card header, e.g., Sponsored.
ads.content.ad_cards.card_header.logo_urlstringURL of the advertiser’s logo.
ads.content.ad_cards.favicon_urlstringURL of the favicon for the ad.
ads.content.ad_cards.targetobjectTarget link information for the ad.
ads.content.ad_cards.target.typestringType of target, e.g., url.
ads.content.ad_cards.target.valuestringThe actual URL value of the target link.
ads.content.ad_cards.target.open_externallyboolWhether to open the link externally.
ads.content.carousel_cardsarrayArray of carousel advertisement cards.
ads.content.carousel_cards.titlestringTitle of the carousel card.
ads.content.carousel_cards.bodystringBody text or description of the carousel card.
ads.content.carousel_cards.image_urlstringURL of the carousel card image.
ads.content.carousel_cards.targetobjectTarget link information for the carousel card.
ads.content.carousel_cards.target.typestringType of target, e.g., url.
ads.content.carousel_cards.target.valuestringThe actual URL value of the carousel target.
ads.content.carousel_cards.target.open_externallyboolWhether to open the carousel link externally.