ChatGPT

The chatgpt source is designed to retrieve ChatGPT conversational responses. This configurable source allows you to submit prompts to ChatGPT and extract the complete response text along with structured metadata.

Request samples

The following code examples demonstrate how to retrieve a ChatGPT response with parsed results enabled.

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "chatgpt",
        "prompt": "best supplements for better sleep",
        "parse": true
    }'

We use the synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.

Request parameter values

Generic

Basic setup and customization options for retrieving ChatGPT.

Parameter
Description
Default Value

source

Sets the scraper.

chatgpt

prompt

UTF-encoded prompt/question to submit to ChatGPT. Must be less than 4000 symbols.

-

render

JavaScript rendering is enforced by default for chatgpt. More info.

-

parse

Returns parsed data when set to true.

false

callback_url

URL to your callback endpoint. More info.

-

- mandatory parameter

Structured data

Web Scraper API is capable of extracting either an HTML or JSON object that contains ChatGPT output, offering structured data on various elements of the results page.

chatgpt structured output
{
    "results": [
        {
            "content": {
                "prompt": "best supplements for better sleep",
                "llm_model": "gpt-4o",
                "markdown_json": [
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "paragraph",
                        "children": [
                            {
                                "raw": "Getting quality sleep is so important for overall health! There are several supplements that can help improve sleep quality and promote relaxation. Here’s a list of some of the most popular and effective ones:",
                                "type": "text"
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "1. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Melatonin",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": A hormone naturally produced by the body that regulates the sleep-wake cycle.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": Melatonin supplements are useful for those who have trouble falling asleep, especially for those with irregular sleep schedules or jet lag.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": Typically 0.5–3 mg about 30–60 minutes before bed.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "2. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Magnesium",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": A mineral that supports muscle function and nervous system health.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": Magnesium has calming effects, which may help reduce insomnia, promote muscle relaxation, and support a balanced mood.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 200–400 mg in the evening.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "3. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Valerian Root",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": An herbal supplement made from the root of the valerian plant.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": Known for its sedative effects, valerian may reduce anxiety and help promote deeper sleep.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 300–600 mg about 30 minutes to 2 hours before bed.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "4. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "L-Theanine",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": An amino acid found in green tea.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": Promotes relaxation and reduces stress, which can help with falling asleep without feeling groggy in the morning.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 100–200 mg, taken about 30 minutes before bedtime.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "5. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Chamomile",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": An herb commonly consumed as tea.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": Chamomile contains apigenin, which binds to receptors in the brain that promote relaxation and drowsiness.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 1–2 cups of chamomile tea or 300–500 mg of chamomile extract.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "6. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "CBD (Cannabidiol)",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": A non-psychoactive compound from the cannabis plant.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": CBD is known to reduce anxiety and stress, which can help with both falling and staying asleep.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 10–30 mg, taken about an hour before bed.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "7. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "GABA (Gamma-Aminobutyric Acid)",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": A neurotransmitter that helps inhibit neural activity.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": GABA supplements may reduce anxiety and promote relaxation, potentially aiding in falling asleep faster.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 250–500 mg about 30 minutes before sleep.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "8. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "5-HTP (5-Hydroxytryptophan)",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": A compound the body makes from tryptophan, which is a precursor to serotonin.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": By increasing serotonin levels, it may help improve mood and promote better sleep, especially for people with insomnia related to low serotonin levels.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 50–100 mg before bed.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "9. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Ashwagandha",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": An adaptogenic herb known for its stress-reducing properties.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": It can help lower cortisol levels, reduce stress, and promote relaxation, which may improve sleep quality.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 300–500 mg, preferably taken in the evening.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "10. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Lemon Balm",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": An herb related to mint.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": It has a mild calming effect and is often used in combination with other herbs like valerian or chamomile for better sleep.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 300–600 mg or in tea form.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "Bonus: ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Vitamin D",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": A fat-soluble vitamin that’s crucial for sleep regulation.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": Low levels of vitamin D have been linked to poor sleep. Ensuring you have adequate levels may improve sleep quality.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dose",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 1,000–2,000 IU, taken during the day, as it can be stimulating.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "thematic_break"
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "A Few Tips for Better Sleep:",
                                "type": "text"
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": true
                        },
                        "tight": true,
                        "bullet": ".",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Consistency is key",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": Try to go to bed and wake up at the same time every day to regulate your sleep cycle.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Create a bedtime routine",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": Relaxing activities like reading, taking a warm bath, or practicing meditation can signal your body that it's time to wind down.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Avoid screens before bed",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": The blue light emitted by phones, tablets, and computers can interfere with melatonin production.",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "paragraph",
                        "children": [
                            {
                                "raw": "Would you like more details on any of these, or perhaps recommendations for specific brands?",
                                "type": "text"
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    }
                ],
                "markdown_text": "\nGetting quality sleep is so important for overall health! There are several supplements that can help improve sleep quality and promote relaxation. Here’s a list of some of the most popular and effective ones:\n\n### 1. **Melatonin**\n\n* **What it is**: A hormone naturally produced by the body that regulates the sleep-wake cycle.\n* **How it helps**: Melatonin supplements are useful for those who have trouble falling asleep, especially for those with irregular sleep schedules or jet lag.\n* **Dose**: Typically 0.5–3 mg about 30–60 minutes before bed.\n\n### 2. **Magnesium**\n\n* **What it is**: A mineral that supports muscle function and nervous system health.\n* **How it helps**: Magnesium has calming effects, which may help reduce insomnia, promote muscle relaxation, and support a balanced mood.\n* **Dose**: 200–400 mg in the evening.\n\n### 3. **Valerian Root**\n\n* **What it is**: An herbal supplement made from the root of the valerian plant.\n* **How it helps**: Known for its sedative effects, valerian may reduce anxiety and help promote deeper sleep.\n* **Dose**: 300–600 mg about 30 minutes to 2 hours before bed.\n\n### 4. **L-Theanine**\n\n* **What it is**: An amino acid found in green tea.\n* **How it helps**: Promotes relaxation and reduces stress, which can help with falling asleep without feeling groggy in the morning.\n* **Dose**: 100–200 mg, taken about 30 minutes before bedtime.\n\n### 5. **Chamomile**\n\n* **What it is**: An herb commonly consumed as tea.\n* **How it helps**: Chamomile contains apigenin, which binds to receptors in the brain that promote relaxation and drowsiness.\n* **Dose**: 1–2 cups of chamomile tea or 300–500 mg of chamomile extract.\n\n### 6. **CBD (Cannabidiol)**\n\n* **What it is**: A non-psychoactive compound from the cannabis plant.\n* **How it helps**: CBD is known to reduce anxiety and stress, which can help with both falling and staying asleep.\n* **Dose**: 10–30 mg, taken about an hour before bed.\n\n### 7. **GABA (Gamma-Aminobutyric Acid)**\n\n* **What it is**: A neurotransmitter that helps inhibit neural activity.\n* **How it helps**: GABA supplements may reduce anxiety and promote relaxation, potentially aiding in falling asleep faster.\n* **Dose**: 250–500 mg about 30 minutes before sleep.\n\n### 8. **5-HTP (5-Hydroxytryptophan)**\n\n* **What it is**: A compound the body makes from tryptophan, which is a precursor to serotonin.\n* **How it helps**: By increasing serotonin levels, it may help improve mood and promote better sleep, especially for people with insomnia related to low serotonin levels.\n* **Dose**: 50–100 mg before bed.\n\n### 9. **Ashwagandha**\n\n* **What it is**: An adaptogenic herb known for its stress-reducing properties.\n* **How it helps**: It can help lower cortisol levels, reduce stress, and promote relaxation, which may improve sleep quality.\n* **Dose**: 300–500 mg, preferably taken in the evening.\n\n### 10. **Lemon Balm**\n\n* **What it is**: An herb related to mint.\n* **How it helps**: It has a mild calming effect and is often used in combination with other herbs like valerian or chamomile for better sleep.\n* **Dose**: 300–600 mg or in tea form.\n\n### Bonus: **Vitamin D**\n\n* **What it is**: A fat-soluble vitamin that’s crucial for sleep regulation.\n* **How it helps**: Low levels of vitamin D have been linked to poor sleep. Ensuring you have adequate levels may improve sleep quality.\n* **Dose**: 1,000–2,000 IU, taken during the day, as it can be stimulating.\n\n---\n\n### A Few Tips for Better Sleep:\n\n1. **Consistency is key**: Try to go to bed and wake up at the same time every day to regulate your sleep cycle.\n2. **Create a bedtime routine**: Relaxing activities like reading, taking a warm bath, or practicing meditation can signal your body that it's time to wind down.\n3. **Avoid screens before bed**: The blue light emitted by phones, tablets, and computers can interfere with melatonin production.\n\nWould you like more details on any of these, or perhaps recommendations for specific brands?\n\n",
                "response_text": "Getting quality sleep is so important for overall health! There are several supplements that can help improve sleep quality and promote relaxation. Here’s a list of some of the most popular and effective ones:\n\n### 1. **Melatonin**\n\n* **What it is**: A hormone naturally produced by the body that regulates the sleep-wake cycle.\n* **How it helps**: Melatonin supplements are useful for those who have trouble falling asleep, especially for those with irregular sleep schedules or jet lag.\n* **Dose**: Typically 0.5–3 mg about 30–60 minutes before bed.\n\n### 2. **Magnesium**\n\n* **What it is**: A mineral that supports muscle function and nervous system health.\n* **How it helps**: Magnesium has calming effects, which may help reduce insomnia, promote muscle relaxation, and support a balanced mood.\n* **Dose**: 200–400 mg in the evening.\n\n### 3. **Valerian Root**\n\n* **What it is**: An herbal supplement made from the root of the valerian plant.\n* **How it helps**: Known for its sedative effects, valerian may reduce anxiety and help promote deeper sleep.\n* **Dose**: 300–600 mg about 30 minutes to 2 hours before bed.\n\n### 4. **L-Theanine**\n\n* **What it is**: An amino acid found in green tea.\n* **How it helps**: Promotes relaxation and reduces stress, which can help with falling asleep without feeling groggy in the morning.\n* **Dose**: 100–200 mg, taken about 30 minutes before bedtime.\n\n### 5. **Chamomile**\n\n* **What it is**: An herb commonly consumed as tea.\n* **How it helps**: Chamomile contains apigenin, which binds to receptors in the brain that promote relaxation and drowsiness.\n* **Dose**: 1–2 cups of chamomile tea or 300–500 mg of chamomile extract.\n\n### 6. **CBD (Cannabidiol)**\n\n* **What it is**: A non-psychoactive compound from the cannabis plant.\n* **How it helps**: CBD is known to reduce anxiety and stress, which can help with both falling and staying asleep.\n* **Dose**: 10–30 mg, taken about an hour before bed.\n\n### 7. **GABA (Gamma-Aminobutyric Acid)**\n\n* **What it is**: A neurotransmitter that helps inhibit neural activity.\n* **How it helps**: GABA supplements may reduce anxiety and promote relaxation, potentially aiding in falling asleep faster.\n* **Dose**: 250–500 mg about 30 minutes before sleep.\n\n### 8. **5-HTP (5-Hydroxytryptophan)**\n\n* **What it is**: A compound the body makes from tryptophan, which is a precursor to serotonin.\n* **How it helps**: By increasing serotonin levels, it may help improve mood and promote better sleep, especially for people with insomnia related to low serotonin levels.\n* **Dose**: 50–100 mg before bed.\n\n### 9. **Ashwagandha**\n\n* **What it is**: An adaptogenic herb known for its stress-reducing properties.\n* **How it helps**: It can help lower cortisol levels, reduce stress, and promote relaxation, which may improve sleep quality.\n* **Dose**: 300–500 mg, preferably taken in the evening.\n\n### 10. **Lemon Balm**\n\n* **What it is**: An herb related to mint.\n* **How it helps**: It has a mild calming effect and is often used in combination with other herbs like valerian or chamomile for better sleep.\n* **Dose**: 300–600 mg or in tea form.\n\n### Bonus: **Vitamin D**\n\n* **What it is**: A fat-soluble vitamin that’s crucial for sleep regulation.\n* **How it helps**: Low levels of vitamin D have been linked to poor sleep. Ensuring you have adequate levels may improve sleep quality.\n* **Dose**: 1,000–2,000 IU, taken during the day, as it can be stimulating.\n\n***\n\n### A Few Tips for Better Sleep:\n\n1. **Consistency is key**: Try to go to bed and wake up at the same time every day to regulate your sleep cycle.\n2. **Create a bedtime routine**: Relaxing activities like reading, taking a warm bath, or practicing meditation can signal your body that it's time to wind down.\n3. **Avoid screens before bed**: The blue light emitted by phones, tablets, and computers can interfere with melatonin production.\n\nWould you like more details on any of these, or perhaps recommendations for specific brands?\n",
                "parse_status_code": 12000
            },
            "created_at": "2025-06-03 12:04:53",
            "updated_at": "2025-06-03 12:05:32",
            "page": 1,
            "url": "https://chatgpt.com/?model=auto",
            "job_id": "7335637602021691394",
            "is_render_forced": false,
            "status_code": 200,
            "parser_type": "chatgpt",
            "parser_preset": null,
            "_request": {
                "cookies": [
                    {
                        "key": "__Host-next-auth.csrf-token",
                        "value": "4852f959397d26922f138e4e21a2ddf3a6b85322054467aa914761a86afb3b6f%7Cc9101d0dc3aab006a51dcbb398baf419d0e2fa9cfd37cec77df6db17f0f73c79"
                    },
                    {
                        "key": "__Secure-next-auth.callback-url",
                        "value": "https%3A%2F%2Fchatgpt.com"
                    },
                    {
                        "key": "oai-did",
                        "value": "ec95b02d-917c-4f5a-a531-ecfce81ea381"
                    },
                    {
                        "key": "__cf_bm",
                        "value": "_f.57go9UvOh83oZCAnzF5ncIv4eEp5EEcvyYQimrlM-1748951106-1.0.1.1-Zm6FJrO2Uill9_xu3kZID4zcelhz6vqHwAVabbAmB9HsTWLY2HFYsEEwBEByxhvkW6_4czoYv2JOwBkxHZimynfD0g3RDAcjg_1J2_IJQYo"
                    },
                    {
                        "key": "__cflb",
                        "value": "0H28vzvP5FJafnkHxisecoAN6aLJh5C3quMbEEJDK2B"
                    },
                    {
                        "key": "_cfuvid",
                        "value": "sVsdSqoPs3qRj1cY4AmtbV1CpRITpLVpEFuxQUi7rl0-1748951106527-0.0.1.1-604800000"
                    },
                    {
                        "key": "cf_clearance",
                        "value": "p3Mc6xXU7zyKvXVAMo2fDalvmsu1BxKIhNFBd8ZGy4o-1748950993-1.2.1.1-I6RV7n8ZpmpVCaz_WJg5eaajtXyurubw5BYycmOL26ZnBDTI7oIa2F_xx77C7gN0ztjvEJsVNvkJvurCOa2Cofvl12ebNcUc_vVKfR.1rJ._0rw28mVR1ohZ39aWezqINXnBu4AGNSgYeYcXhpHSSKa8DPWZQljMimWqN35wV0OYk7kYuzhDdTxcK6IcOwyiwo.izNSuPTAH0N9DY1snlO29iB31bFRnsTfDfNLItelMcKGQ5dHOR0YGwQLK6S79wnqIiLmoUibadNzEQ8nujWeCWivOi_PiH_IyVmjVXFY01ESaY9Adl20Tc7CF43VQK4lggnWnyXddG9wayk6gZCs7VmPaoNdy5YfpxLCFWcQ"
                    },
                    {
                        "key": "oai-sc",
                        "value": "0gAAAAABoPuBExs093Y1jUwcUNT28IJA1lG-q5b4HJOA3NAiDa0_rDSZKLTsCYqxJUsOMx3T2v4i5LqrrkgXRKu0jHNMpZVKa3F55E507yKfzsP0Pcm8Kqd7aENMMgEQDD8dtMsdxRcIHQ4tMcWtrOKhTc1mOVEXaoxpRI7LTynu1Ntciqn9teN4NSUZi1fI56Wod-18dI-v2DDKb2paETiupBUw79qRjVXKdI8l8-xSKgLtdSZjfqu8"
                    },
                    {
                        "key": "_dd_s",
                        "value": "rum=0&expire=1748952008026&logs=1&id=6a1f3b9b-93dd-4f5c-aef7-1e4dd46023a7&created=1748950999828"
                    }
                ],
                "headers": {
                    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
                    "Sec-Ch-Ua": "\"Opera\";v=\"108\", \"Chromium\";v=\"121\", \"Not.A/Brand\";v=\"24\"",
                    "Connection": "keep-alive",
                    "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/108.0.0.0 (Edition developer)",
                    "Sec-Fetch-Dest": "document",
                    "Sec-Fetch-Mode": "navigate",
                    "Sec-Fetch-Site": "same-origin",
                    "Sec-Fetch-User": "?1",
                    "Accept-Encoding": "gzip, deflate, br",
                    "Accept-Language": "en-US,en;q=0.9",
                    "Sec-Ch-Ua-Mobile": "?0",
                    "Sec-Ch-Ua-Platform": "\"macOS\"",
                    "Upgrade-Insecure-Requests": "1"
                }
            },
            "_response": {
                "cookies": [
                    {
                        "key": "__Host-next-auth.csrf-token",
                        "path": "/",
                        "value": "4852f959397d26922f138e4e21a2ddf3a6b85322054467aa914761a86afb3b6f%7Cc9101d0dc3aab006a51dcbb398baf419d0e2fa9cfd37cec77df6db17f0f73c79",
                        "domain": "chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": -1,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "__Secure-next-auth.callback-url",
                        "path": "/",
                        "value": "https%3A%2F%2Fchatgpt.com",
                        "domain": "chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": -1,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "oai-did",
                        "path": "/",
                        "value": "ec95b02d-917c-4f5a-a531-ecfce81ea381",
                        "domain": ".chatgpt.com",
                        "secure": false,
                        "comment": "",
                        "expires": -1,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "__cflb",
                        "path": "/",
                        "value": "0H28vzvP5FJafnkHxisecoAN6aLJh5C3quMbEEJDK2B",
                        "domain": "chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": -1,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "cf_clearance",
                        "path": "/",
                        "value": "a28WR1bkoi69NRq4uV6zpT2yjNsKcwnOrg9ILGH2jWA-1748952299-1.2.1.1-bI2EaYVxX2bOACh5XPs8WweaoZfHL4_icUfTDPdUFjZwms8A_39d.Vm8mYI27mhtDZJtIcDwaMzoKksajdT_CjXjrsSJ4F0.fgPJb.V6MZum86UegQ8PigbDCzqdwPO6Ndd3rjTn04.Jpz2XyuUuYZjlhEiOuGh9ar_I7I6l9CflMhb3fzU5ZmSNYFIkIMx7c8zeZyfbXxO3F12FaxdCM_VALJLNYKiUWvj79BMJRKxuZL_HuJvXIgcQLNAff7o84piH0WKiWiJd1JD5wqngckWrHF1dU6rJ2V0Fvg2Vclchid0y6U5cqFchsTDnJAjLlPgastTVOgDUWNAUZXjRG7eJWhiB1v9vb8D0jKVDNr0",
                        "domain": ".chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": 1780488299.223874,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "__cf_bm",
                        "path": "/",
                        "value": "QskuLy_AjxZRxgICPXsRQYDALqFd4YpcnowC3S1wSRU-1748952297-1.0.1.1-Kd9JGzUjNIyXRc.HKPUos1r5k1tSMKfZgDg6L0iO9er6vHDdac9FF9sfFRHtaT3eVI955hoyjy3lNAIZwd7MOG56JTBYEgBrs5m0_sISsAA",
                        "domain": ".oaistatic.com",
                        "secure": true,
                        "comment": "",
                        "expires": 1748954098.026653,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "_cfuvid",
                        "path": "/",
                        "value": "0JnY9M0kZ0gqKiJ0YIBLys8HUaPJ06mdBZKIpc1yGLE-1748952297629-0.0.1.1-604800000",
                        "domain": ".oaistatic.com",
                        "secure": true,
                        "comment": "",
                        "expires": -1,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "oai-sc",
                        "path": "/",
                        "value": "0gAAAAABoPuTwbbCY-KY8Cg-8vjOa6rdrAYLdC-TV9YfjYC7nI-T21bMIj8ZqgU6cGHON_mVrTOBRMYkHQuYld4298qXwewDaE8OYnOT-Eld0LSoRuSVARzr-pnitjHKnuNkWotiyvDzGcEfJlSkH4OZBd7OjUtC-IX2Z5KtReevTCaOlyi6r8FWeCpd2QCrWJno2I7m3uckIKY4Y1tp3GuGWPBDQG506THjKYkKjCQEPsisoB_GlICU",
                        "domain": ".chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": 1780488304.490404,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "_dd_s",
                        "path": "/",
                        "value": "rum=0&expire=1748953203858&logs=1&id=12bf74fc-18f5-42fa-b6e0-30be38e68d55&created=1748952303858",
                        "domain": "chatgpt.com",
                        "secure": false,
                        "comment": "",
                        "expires": 1748953231,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    }
                ],
                "headers": {
                    "date": "Tue, 03 Jun 2025 12:04:57 GMT",
                    "link": "<https://cdn.oaistatic.com/assets/root-nwp9z6cn.css>; rel=preload; as=style, <https://cdn.oaistatic.com/assets/conversation-small-ggtqjiqs.css>; rel=preload; as=style",
                    "cf-ray": "949f0e4fedd669cf-LAX",
                    "server": "cloudflare",
                    "report-to": "{\"group\":\"chatgpt-csp-new\",\"max_age\":10886400,\"endpoints\":[{\"url\":\"https://browser-intake-datadoghq.com/api/v2/logs?dd-api-key=pub1f79f8ac903a5872ae5f53026d20a77c&dd-evp-origin=content-security-policy&ddsource=csp-report&ddtags=version%3Achatgpt-csp-new\"}]}",
                    "content-type": "text/html; charset=utf-8",
                    "x-robots-tag": "nofollow",
                    "cf-cache-status": "DYNAMIC",
                    "referrer-policy": "strict-origin-when-cross-origin",
                    "content-encoding": "br",
                    "x-content-type-options": "nosniff",
                    "content-security-policy": "default-src 'self'; script-src 'nonce-f02539de-2241-4c72-a19e-3649bc877c85' 'self' 'wasm-unsafe-eval' chatgpt.com/ces https://*.chatgpt.com https://*.chatgpt.com/ https://*.js.stripe.com https://*.oaistatic.com https://chat.openai.com https://chatgpt.com https://chatgpt.com/ https://chatgpt.com/backend-anon https://chatgpt.com/backend-api https://chatgpt.com/backend/se https://chatgpt.com/public-api https://chatgpt.com/voice https://js.stripe.com https://maps.googleapis.com https://oaistatic.com https://realtime.chatgpt.com https://snc.apps.openai.com wss://*.chatgpt.com wss://*.chatgpt.com/; script-src-elem 'nonce-f02539de-2241-4c72-a19e-3649bc877c85' 'self' 'sha256-eMuh8xiwcX72rRYNAGENurQBAcH7kLlAUQcoOri3BIo=' auth0.openai.com blob: challenges.cloudflare.com chatgpt.com/ces https://*.chatgpt.com https://*.chatgpt.com/ https://*.js.stripe.com https://*.oaistatic.com https://apis.google.com https://chat.openai.com https://chatgpt.com https://chatgpt.com/ https://chatgpt.com/backend-anon https://chatgpt.com/backend-api https://chatgpt.com/backend/se https://chatgpt.com/public-api https://chatgpt.com/voice https://connect.facebook.net https://docs.google.com https://js.live.net/v7.2/OneDrive.js https://js.stripe.com https://maps.googleapis.com https://oaistatic.com https://pixel-config.reddit.com https://realtime.chatgpt.com https://snc.apps.openai.com https://www-onepick-opensocial.googleusercontent.com https://www.redditstatic.com wss://*.chatgpt.com wss://*.chatgpt.com/; img-src 'self' * blob: data: https: https://docs.google.com https://drive-thirdparty.googleusercontent.com https://ssl.gstatic.com; style-src 'self' 'unsafe-inline' blob: chatgpt.com/ces https://*.chatgpt.com https://*.chatgpt.com/ https://*.oaistatic.com https://chat.openai.com https://chatgpt.com https://chatgpt.com/ https://chatgpt.com/backend-anon https://chatgpt.com/backend-api https://chatgpt.com/backend/se https://chatgpt.com/public-api https://chatgpt.com/voice https://oaistatic.com https://realtime.chatgpt.com https://snc.apps.openai.com wss://*.chatgpt.com wss://*.chatgpt.com/; font-src 'self' data: https://*.oaistatic.com https://cdn.openai.com https://fonts.gstatic.com; connect-src 'self' *.blob.core.windows.net *.oaiusercontent.com api.mapbox.com browser-intake-datadoghq.com chatgpt.com/ces events.mapbox.com https://*.chatgpt.com https://*.chatgpt.com/ https://*.oaistatic.com https://api.atlassian.com https://api.onedrive.com https://api.stripe.com https://chat.openai.com https://chatgpt.com https://chatgpt.com/ https://chatgpt.com/backend-anon https://chatgpt.com/backend-api https://chatgpt.com/backend/se https://chatgpt.com/public-api https://chatgpt.com/voice https://content.googleapis.com https://docs.google.com https://events.statsigapi.net https://featuregates.org https://graph.microsoft.com https://integrations.livekit.io/enc/v1/models/model_32.kw https://livekit.io/integrations/enc/v1 https://maps.googleapis.com https://oaistatic.com https://pixel-config.reddit.com https://realtime.chatgpt.com https://snc.apps.openai.com https://www.googleapis.com https://www.redditstatic.com statsigapi.net wss://*.chatgpt.com wss://*.chatgpt.com/ wss://*.webpubsub.azure.com; frame-src 'self' challenges.cloudflare.com https://*.js.stripe.com https://*.sharepoint.com https://content.googleapis.com https://docs.google.com https://hooks.stripe.com https://js.stripe.com https://onedrive.live.com https://web-sandbox.oaiusercontent.com js.stripe.com player.vimeo.com www.youtube.com; worker-src 'self' blob:; media-src 'self' *.oaiusercontent.com blob: https://cdn.openai.com https://persistent.oaistatic.com; frame-ancestors 'self' chrome-extension://iaiigpefkbhgjcmcmffmfkpmhemdhdnj; base-uri 'none'; report-to chatgpt-csp-new; report-uri https://browser-intake-datadoghq.com/api/v2/logs?dd-api-key=pub1f79f8ac903a5872ae5f53026d20a77c&dd-evp-origin=content-security-policy&ddsource=csp-report&ddtags=version%3Achatgpt-csp-new",
                    "strict-transport-security": "max-age=31536000; includeSubDomains; preload",
                    "cross-origin-opener-policy": "same-origin-allow-popups"
                }
            },
            "session_info": {
                "id": null,
                "expires_at": null,
                "remaining": null
            }
        }
    ],
    "job": {
        "parse": true,
        "prompt": "best supplements for better sleep",
        "source": "chatgpt",
        "callback_url": "https://realtime.oxylabs.io:443/api/done",
        "id": "7335637602021691394",
        "status": "done",
        "created_at": "2025-06-03 12:04:53",
        "updated_at": "2025-06-03 12:05:32",
        "_links": [
            {
                "rel": "self",
                "href": "http://data.oxylabs.io/v1/queries/7335637602021691394",
                "method": "GET"
            },
            {
                "rel": "results",
                "href": "http://data.oxylabs.io/v1/queries/7335637602021691394/results",
                "method": "GET"
            },
            {
                "rel": "results-content",
                "href_list": [
                    "http://data.oxylabs.io/v1/queries/7335637602021691394/results/1/content"
                ],
                "method": "GET"
            },
            {
                "rel": "results-html",
                "href": "http://data.oxylabs.io/v1/queries/7335637602021691394/results?type=raw",
                "method": "GET"
            },
            {
                "rel": "results-content-html",
                "href_list": [
                    "http://data.oxylabs.io/v1/queries/7335637602021691394/results/1/content?type=raw"
                ],
                "method": "GET"
            },
            {
                "rel": "results-parsed",
                "href": "http://data.oxylabs.io/v1/queries/7335637602021691394/results?type=parsed",
                "method": "GET"
            },
            {
                "rel": "results-content-parsed",
                "href_list": [
                    "http://data.oxylabs.io/v1/queries/7335637602021691394/results/1/content?type=parsed"
                ],
                "method": "GET"
            }
        ]
    }
}

Output data dictionary

Navigate through the details using the right-hand navigation or by scrolling down the page.

HTML example

JSON structure

The chatgpt structured output includes fields like URL, page, results, and others. The table below presents a detailed list of each ChatGPT element we parse, along with its description and data type. The table also includes some metadata.

The number of items and fields for a specific result type may vary depending on the search query.

Key Name
Description
Type

url

The URL of ChatGPT.

string

page

Page number.

integer

content

An object containing the parsed ChatGPT response data.

object

content.prompt

The original prompt submitted to ChatGPT.

string

content.llm_model

The ChatGPT model used (e.g., "gpt-4-o", "gpt-3.5-turbo", etc.).

string

content.markdown_json

The timestamp when the scraping job was finished.

array

content.markdown_text

The timestamp when the scraping job was created.

string

content.response_text

The complete response text from ChatGPT.

string

content.citations

List of citation links with URL and text.

array

content.links

List of external links referenced in the response.

array

content.parse_status_code

Status code of the parsing operation.

integer

created_at

The timestamp when the scraping job was created.

timestamp

updated_at

The timestamp when the scraping job was finished.

timestamp

job_id

The ID of the job associated with the scraping job.

string

status_code

The status code of the scraping job. You can see the scraper status codes described here.

integer

parser_type

The type of the parser used for breaking down the HTML content.

string

In the following sections, parsed JSON code snippets are shortened where more than one item for the result type is available.

Last updated

Was this helpful?