Actions16
- Amazon Pricing API Actions
- Amazon Product API Actions
- Amazon Search API Actions
- ChatGPT API Actions
- Fast Search API Actions
- Gemini API Actions
- Google Search API Actions
- HTML API Actions
- Usage Actions
- Walmart Product API Actions
- Walmart Search API Actions
- YouTube Metadata API Actions
- YouTube Search API Actions
- YouTube Subtitles API Actions
ChatGPT API → GET
AI-generatedSummary
Send a prompt to the ScrapingBee ChatGPT API to receive an AI-generated response based on the prompt and optional additional parameters.
Inputs
- prompt (required) — The text prompt to send to the AI model for generating a response.
- additionalFields — Optional parameters to modify the request such as adding HTML in the results, specifying the country code for the request origin, enabling web search to enhance the response, or adding a response label tag.
Output shape
a JSON object containing the AI response from ChatGPT based on the supplied prompt and options.
The output is parsed from the API JSON response and returned as a JSON object. Optional fields influence the response but do not change the output shape.
Examples
Example 1: Generate an AI response to a text prompt with enhanced web search enabled.
Set 'prompt' to the user question and set 'search' in additional fields to true to allow ChatGPT to include web search results in its answer.