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.
mapobjectMap and local business data returned by ChatGPT.
map.entitiesarrayRanked list of resolved entities (e.g., local businesses).
map.entities.categorystringEntity category, e.g., local_business.
map.entities.idstringEntity identifier (e.g., Google Place ID).
map.entities.namestringEntity name.
map.entities.latitudefloatEntity latitude.
map.entities.longitudefloatEntity longitude.
map.entities.extra_paramsobjectAdditional lookup parameters for the entity.
map.entities.extra_params.addressstringEntity address.
map.entities.extra_params.business_idstringBusiness identifier.
map.entities.extra_params.locationstringSearch location context.
map.entities.extra_params.providerstringData provider, e.g., yelp-feed, b3.
map.entities.entityobjectDetailed entity record.
map.entities.entity.addressstringFull street address.
map.entities.entity.attributesobjectAdditional attributes (may be null).
map.entities.entity.categoriesarrayCategory labels for the entity.
map.entities.entity.citystringCity (may be null).
map.entities.entity.country_codestringISO country code, e.g., US.
map.entities.entity.country_namestringCountry name.
map.entities.entity.date_closedstringDate closed (may be null).
map.entities.entity.date_openedstringDate opened (may be null).
map.entities.entity.descriptionstringBusiness description (may be null).
map.entities.entity.description_citestringDescription citation (may be null).
map.entities.entity.distance_metersfloatDistance from the search location in meters (may be null).
map.entities.entity.enriched_descriptionstringEnriched description (may be null).
map.entities.entity.from_cacheboolWhether the record was served from cache.
map.entities.entity.hoursarrayOpening hours per day.
map.entities.entity.hours.dayintDay of week (0=Sunday … 6=Saturday).
map.entities.entity.hours.startstringOpening time in 24h HHMM format, e.g., 0800.
map.entities.entity.hours.endstringClosing time in 24h HHMM format, e.g., 1900.
map.entities.entity.idstringEntity identifier.
map.entities.entity.image_urlstringPrimary image URL.
map.entities.entity.image_urlsarrayArray of image URLs.
map.entities.entity.is_claimedboolWhether the business listing is claimed (may be null).
map.entities.entity.is_closed_permanentlyboolWhether permanently closed.
map.entities.entity.is_closed_temporarilyboolWhether temporarily closed.
map.entities.entity.is_openboolWhether currently open.
map.entities.entity.latitudefloatLatitude.
map.entities.entity.locationstringLocation context, e.g., Portland, OR, USA.
map.entities.entity.longitudefloatLongitude.
map.entities.entity.menuobjectMenu information (may be null).
map.entities.entity.menu.urlstringMenu URL.
map.entities.entity.namestringBusiness name.
map.entities.entity.next_open_hourobjectNext opening slot.
map.entities.entity.next_open_hour.dayintDay of week for the next opening.
map.entities.entity.next_open_hour.startstringNext opening time (HHMM).
map.entities.entity.next_open_hour.endstringCorresponding closing time (HHMM).
map.entities.entity.phonestringPhone number.
map.entities.entity.popularity_scorefloatPopularity score (may be null).
map.entities.entity.pricestringPrice value (may be null).
map.entities.entity.price_strstringPrice level indicator, e.g., $, $$ (may be null).
map.entities.entity.providerstringSource provider, e.g., yelp-feed, b3, bright-feed.
map.entities.entity.provider_imagesarrayProvider-supplied images (may be null).
map.entities.entity.provider_logo_dark_urlstringProvider logo URL for dark mode (may be null).
map.entities.entity.provider_logo_urlstringProvider logo URL (may be null).
map.entities.entity.provider_urlstringURL of the entity on the provider site.
map.entities.entity.rankintRank position (may be null).
map.entities.entity.ranking_scorefloatInternal ranking score.
map.entities.entity.ratingfloatAverage rating.
map.entities.entity.rating_scaleintMaximum rating scale, e.g., 5.
map.entities.entity.reconciled_thumbnailsarrayThumbnails reconciled across providers.
map.entities.entity.reconciled_thumbnails.image_urlstringThumbnail image URL.
map.entities.entity.reconciled_thumbnails.obfuscated_providerstringObfuscated provider name for the thumbnail.
map.entities.entity.reservation_providersarrayReservation providers available.
map.entities.entity.review_countintNumber of reviews.
map.entities.entity.review_highlightsarrayHighlighted review snippets (may be null).
map.entities.entity.reviewsarrayReview records (may be null).
map.entities.entity.service_providersarrayService providers (may be null).
map.entities.entity.special_hoursarraySpecial/holiday hours (may be null).
map.entities.entity.statestringState or region code (may be null).
map.entities.entity.tagsarrayAttribute tags, e.g., accessibility features.
map.entities.entity.website_urlstringOfficial website URL.
map.entities.entity.yelp_menu_urlstringYelp menu URL (may be null).
map.entities.entity.zipcodestringZIP/postal code (may be null).
map.raw_search_entitiesarrayRaw, unranked search entities. Each item shares the same structure as map.entities.