Skip to main content
This section documents the ads data returned by the ChatGPT endpoint. Ads are part of the ChatGPT response (no separate API call is needed), but you must opt-in with include.ads: true. For use cases, pricing context, and copy-paste examples, see the ChatGPT ads scraper page on the product site.

Example request

Ads are opt-in. Set include.ads: true in your request to include them in the response.
This produces a response containing the ads array documented below.

Overview

Ads are automatically extracted when ChatGPT displays advertising content in responses. To include ads in your response, set include.ads: true in your request. Ads and their carousel cards appear in the order ChatGPT renders them in the response; array index 0 is the first ad shown.
Ads in ChatGPT
Opt-in featureAds extraction is disabled by default. You must explicitly set include.ads: true to extract ads from ChatGPT responses.

Ad structure

Each ad contains:

Brand structure

The brand object includes:

Card structure

Each carousel card includes:

Example usage

Response with ads: