跳转到主要内容
chatgpt 模板用于从 ChatGPT 获取对话式响应。

有用链接

  • ChatGPT 模板默认使用高级代理池。
  • 此模板支持实时异步集成方法。
  • 不支持批量请求。

输入参数

ChatGPT 模板可用的请求参数:
参数类型必需描述
targetstring目标类型必须设置为 chatgpt
promptstring发送给 ChatGPT 的提示。必须少于 4000 个字符。
headlessstring默认情况下,强制执行 JavaScript 渲染,请在请求中省略此参数。
设置为 png 以接收截图响应。更多信息请参见此处
searchboolean设置为 true 时,为提示激活 ChatGPT 的网络搜索功能。
默认值为 false
parseboolean设置为 true 时自动解析结果。
默认值为 false
geostring设置提交提示时使用的国家/地区。

请求示例

# 将 'TOKEN VALUE' 更新为您的授权令牌
curl --request 'POST' \
        --url 'https://scraper-api.decodo.com/v2/task' \
        --header 'Accept: application/json' \
        --header 'Authorization: Basic TOKEN VALUE' \
        --header 'Content-Type: application/json' \
        --data '
    {
     	"target": "chatgpt",
     	"prompt": "巴黎有哪些顶级旅游景点?",
     	"parse": true,
     	"search": true,
     	"geo": "United States"
    }
'

输出

下表提供了解析后的 JSON content 部分中字段的描述。请注意,字段数量可能会根据提供的提示而有所不同。
内容键描述
prompt请求中提交的原始查询。
llm_model使用的 ChatGPT 模型(例如 “gpt-4-o” 等)。
markdown_json完整响应的 Markdown JSON 格式。
markdown_text完整响应的 Markdown 文本格式。
response_text完整响应文本。
citations引用链接列表,每个链接都包含其 URL 和相应的文本。
links响应中提供的外部参考列表。

响应示例

{
    "results": [
        {
            "content": {
                "results": {
                    "prompt": "巴黎有哪些顶级旅游景点?",
                    "citations": [
                        {
                            "url": "https://en.wikipedia.org/wiki/Eiffel_Tower?utm_source=chatgpt.com",
                            "text": "Wikipedia",
                            "title": "Eiffel Tower",
                            "section": "citations",
                            "description": "2 days ago"
                        },
                        {
                            "url": "https://parispass.com/en/things-to-do/most-popular-tourist-attractions-in-paris?utm_source=chatgpt.com",
                            "text": "Paris Pass",
                            "title": "Most Popular Tourist Attractions in Paris - Top 10 | Paris Pass®",
                            "section": "citations"
                        },
                        {
                            "url": "https://en.wikipedia.org/wiki/Louvre?utm_source=chatgpt.com",
                            "text": "Wikipedia",
                            "title": "Louvre",
                            "section": "citations",
                            "description": "August 17, 2025"
                        },
                        {
                            "url": "https://www.ft.com/content/107c999c-c440-4ce6-bc2d-f3242eebff39?utm_source=chatgpt.com",
                            "text": "Financial Times",
                            "title": "Macron's €800mn Louvre makeover plan",
                            "section": "citations",
                            "description": "August 21, 2025 — French President Emmanuel Macron has unveiled an ambitious €800 million plan to renovate the Louvre Museum over the next decade, addressing widespread concerns about deteriorating infrastructure, overcrowding, and visitor discomfort. The overhaul — the Louvre's first major renovation in nearly 40 years — responds to urgent concerns raised by museum director Laurence des Cars, including leaky ceilings, failing heating systems, long queues, and unsuitable visitor facilities. With annual attendance surpassing 8 million (double the capacity envisioned when the current entrance was created), the museum is struggling under the strain.\n\nMacron's plan includes a new eastern entrance, improved facilities, and a separate underground gallery for the \"Mona Lisa\" to better manage crowds. The renovation continues a tradition of French presidents leaving their cultural mark, though funding remains contentious. Macron pledged to rely on ticket sales, donations, and Louvre Abu Dhabi licensing fees, sparking skepticism due to the Louvre's modest revenue figures.\n\nTo offset rising costs, ticket prices have increased, especially for non-EU visitors, raising concerns about accessibility. Critics fear the Louvre is becoming a playground for the wealthy, with reliance on exclusive donor events and luxury experiences. Despite these controversies, Macron envisions a revitalized, modernized Louvre as a global hub of art and culture."
                        },
                        {
                            "url": "https://en.wikipedia.org/wiki/Sacr%C3%A9-C%C5%93ur%2C_Paris?utm_source=chatgpt.com",
                            "text": "Wikipedia",
                            "title": "Sacré-Cœur, Paris",
                            "section": "citations",
                            "description": "August 17, 2025"
                        },
                        {
                            "url": "https://congfamilyreadiness.net/most-visited-tourist-attractions-in-paris.html?utm_source=chatgpt.com",
                            "text": "Cong Family Readiness",
                            "title": "10 Most Visited Tourist Attractions in Paris - CongFamily Readiness",
                            "section": "citations"
                        },
                        {
                            "url": "https://www.pariscityvision.com/en/paris/top-tourist-attractions-in-paris?utm_source=chatgpt.com",
                            "text": "PARISCityVISION",
                            "title": "Top tourist attractions in Paris - PARISCityVISION",
                            "section": "citations"
                        },
                        {
                            "url": "https://www.radiantpsyche.com/15-tourist-attractions-in-paris-ultimate-bucket-list/?utm_source=chatgpt.com",
                            "text": "Radiant Psyche",
                            "title": "15 Tourist Attractions in Paris: Ultimate Bucket List - Radiant psyche",
                            "section": "citations"
                        },
                        {
                            "url": "https://www.thisisparis.blog/best-things-to-do-in-paris/?utm_source=chatgpt.com",
                            "text": "This is Paris",
                            "title": "Top 10 famous places & attractions to visit in Paris! - This is Paris",
                            "section": "citations"
                        },
                        {
                            "url": "https://en.wikipedia.org/wiki/Arc_de_Triomphe?utm_source=chatgpt.com",
                            "text": "Wikipedia",
                            "title": "Arc de Triomphe",
                            "section": "citations",
                            "description": "August 21, 2025"
                        },
                        {
                            "url": "https://en.wikipedia.org/wiki/Mus%C3%A9e_d%27Orsay?utm_source=chatgpt.com",
                            "text": "Wikipedia",
                            "title": "Musée d'Orsay",
                            "section": "citations",
                            "description": "August 21, 2025"
                        },
                        {
                            "url": "https://magazine.thepradeep.com/best-places-to-visit-in-paris-france/?utm_source=chatgpt.com",
                            "text": "magazine.thepradeep.com",
                            "title": "15 Best Places to Visit in Paris - France: Best Tourist Places to Visit & Sightseeing, Paris Attractions",
                            "section": "citations"
                        },
                        {
                            "url": "https://paristickets.org/best-attractions-in-paris/?utm_source=chatgpt.com",
                            "text": "Paris tickets",
                            "title": "Easy Guide to TOP tourist attractions in PARIS",
                            "section": "citations"
                        },
                        {
                            "url": "https://paris-travel.tips/the-best-tourist-attractions-in-paris/?utm_source=chatgpt.com",
                            "text": "Paris Travel Tips",
                            "title": "The Best Tourist Attractions in Paris You Need to See Before You Die (2024)",
                            "section": "citations"
                        },
                        {
                            "url": "https://www.thetimes.co.uk/article/paris-catacombs-renovations-closing-29zk69886?utm_source=chatgpt.com",
                            "text": "The Times",
                            "title": "Paris catacombs forced to shut out the living to protect the dead",
                            "section": "citations",
                            "description": "3 days ago — The Paris Catacombs, a historical underground ossuary housing the remains of six million souls, will close for six months starting in November 2025 for restoration. Situated 65 feet beneath the city's streets, this vast network of 180 miles of tunnels attracts around 2,000 visitors daily. The site is deteriorating due to humidity, rainwater seepage, and potential water pipe leaks, leading to bone decay, forming stalactites, and creating structural cracks. Restoration efforts will involve damp-proofing and structural reinforcements. The closure will result in a loss of about €1 million monthly in ticket revenue, though the city council will subsidize €4.4 million.\n\nOriginally created to alleviate cemetery overcrowding in the 18th century, the catacombs became a public monument in 1809. They feature artistically arranged bones, philosophical inscriptions, and historic features like a sculpture by a former soldier, François Décure. Though only a portion is open to visitors, much of the tunnel system is unofficially explored by cataphiles, who sometimes organize underground events. Notable past incidents include a secret cinema uncovered by police and a performance by Queens of the Stone Age. The catacombs continue to captivate visitors with their eerie, introspective atmosphere."
                        },
                        {
                            "url": "https://travelarii.com/blog/travel-experiences/top-ten-tourist-attractions-in-paris/?utm_source=chatgpt.com",
                            "text": "Travelarii",
                            "title": "Top Ten Tourist Attractions in Paris to Save Time & Money!",
                            "section": "citations"
                        },
                        {
                            "url": "https://www.aboutworld.us/2023/09/places-to-explore-in-paris-france-22.html?utm_source=chatgpt.com",
                            "text": "aboutworld.us",
                            "title": "Places To Explore In Paris France 22 Top-rated Tourist Attractions",
                            "section": "citations"
                        },
                        {
                            "url": "https://www.businessinsider.com/paris-things-to-do-not-touristy-from-frequent-traveler-2024?utm_source=chatgpt.com",
                            "text": "Business Insider",
                            "title": "I've been to Paris a dozen times. Skip tourist hot spots like the Eiffel Tower and the Louvre and do these 7 things instead.",
                            "section": "citations",
                            "description": "August 11, 2025 — A seasoned traveler shares her favorite off-the-beaten-path experiences in Paris after a dozen visits, offering alternatives to the typical tourist attractions. Rather than the Eiffel Tower, she suggests Montparnasse Tower for sweeping city views and photo ops of the Eiffel Tower at night. While the Louvre houses iconic pieces, she recommends Musée d'Orsay and Musée de l'Orangerie for Impressionist art, particularly Monet's Water Lilies. For a more solemn exploration, she pairs a visit to Père Lachaise Cemetery with the eerie Les Catacombes. Food and drink lovers are guided toward the Marais district for a standout cocktail crawl, including top-rated bars like Little Red Door and Le Mary Celeste. Exploring Notre-Dame should be followed by visiting the impressive Basilique du Sacré-Cœur in Montmartre, with its panoramic views. For food, she recommends savory Breton galettes from Breizh Café over traditional crêpes. Lastly, instead of buying souvenirs, she suggests getting a France-inspired tattoo as a more personal keepsake. The article provides a thoughtful guide for repeat visitors looking to experience the city beyond Paris's most famous attractions."
                        },
                        {
                            "url": "https://timesofindia.indiatimes.com/life-style/travel/things-to-do/paris-new-york-tokyo-and-more-worlds-most-walkable-cities-for-travellers-who-love-exploring-on-foot/photostory/123483138.cms?utm_source=chatgpt.com",
                            "text": "The Times of India",
                            "title": "Paris, New York, Tokyo and more; World's most walkable cities for travellers who love exploring on foot",
                            "section": "citations",
                            "description": "3 days ago — This article highlights eight of the world's most walkable cities, perfect for travelers seeking to explore vibrant cultures, history, and local life on foot. Walking enhances a deeper connection with the city, uncovering hidden gems and scenic routes. \n\nParis stands out with its picturesque boulevards, iconic landmarks like the Eiffel Tower, and delightful riverside promenades. New York City's grid layout and energetic pedestrian culture make attractions like Central Park and Times Square easily accessible on foot. Amsterdam impresses with canal-side streets and historical charm. Kyoto brings to life Japan's traditions with accessible temples, bamboo groves, and tea houses.\n\nBarcelona offers a journey through time with its Gothic Quarters and Gaudí architecture. Florence captivates visitors with its rich history and art, all within walking distance in a car-free city center. Tokyo features vibrant neighborhoods such as Shibuya and Asakusa with safe, well-maintained sidewalks. Lastly, Melbourne charms with street art-filled lanes, waterfront paths, and a grid layout ideal for walking. \n\nEach of these cities offers a unique pedestrian-friendly experience, making them top destinations for travelers who love discovering on foot."
                        },
                        {
                            "url": "https://www.vogue.com/article/best-picnic-spots-in-paris?utm_source=chatgpt.com",
                            "text": "Vogue",
                            "title": "The Best Picnic Spots in Paris, According to Locals",
                            "section": "citations",
                            "description": "Yesterday — This guide from Vogue outlines the best picnic spots in Paris as recommended by locals, blending scenic allure with insider food and drink advice. The author, a New Yorker spending two months in the French capital, taps into local voices to reveal 16 idyllic picnic locations across Paris, from iconic landmarks like the Seine and Eiffel Tower to quiet havens like Jardin Anne Frank and Arènes de Montmartre. Highlights include the bohemian ambiance of Canal Saint-Martin, the shaded serenity behind Sacré-Cœur at Parc de la Turlure, and the urban charm of Les Puces de Paris Saint-Ouen flea market.\n\nPro tips on what to pack include avoiding plastic tableware in favor of vintage plates and cutlery, choosing textiles from Parisian markets, and selecting foods from artisanal shops like Maison Lardeux and La Récolte. Sparkling and chillable wines like crémant and Jura reds are favored picnic beverages. Practical advice includes bringing a trash bag, seeking shade early, and being mindful of park rules—especially regarding alcohol. The guide captures the joy of an al fresco gourmand experience in Paris, emphasizing spontaneity, simplicity, and style."
                        },
                        {
                            "url": "https://www.introducingparis.com/tourist-attractions?utm_source=chatgpt.com",
                            "text": "introducingparis.com",
                            "title": "Top-Rated Tourist Attractions in Paris - What to do in Paris",
                            "section": "more",
                            "description": "TOP-RATED TOURIST ATTRACTIONS  EIFFEL TOWER  The Eiffel Tower was designed for the Exposition Universelle, a world fair held in Paris in 1889. It is currently the most famous symbol of Paris.  NOTRE D..."
                        },
                        {
                            "url": "https://bestpubcrawl.com/famous-tourist-attractions-in-paris/?utm_source=chatgpt.com",
                            "text": "bestpubcrawl.com",
                            "title": "Famous Tourist Attractions In Paris - BestPubCrawl.com",
                            "section": "more",
                            "description": "THE LOUVRE MUSEUM  The Louvre Museum is one of the most famous art museums in the world and home to some of the world's most famous works of art. Located in central Paris, the museum complex is made u..."
                        }
                    ],
                    "llm_model": "gpt-4o",
                    "raw_response": [
                        "event: delta_encoding",
                        "data: \"v1\"",
                        "",
                        "event: delta",
                        "data: {\"p\": \"\", \"o\": \"add\", \"v\": {\"message\": {\"id\": \"d0f80177-193b-4789-9266-9a43c82d1fc8\", \"author\": {\"role\": \"system\", \"name\": null, \"metadata\": {}}, \"create_time\": null, \"update_time\": null, \"content\": {\"content_type\": \"text\", \"parts\": [\"\"]}, \"status\": \"finished_successfully\", \"end_turn\": true, \"weight\": 0.0, \"metadata\": {\"is_visually_hidden_from_conversation\": true, \"model_switcher_deny\": []}, \"recipient\": \"all\", \"channel\": null}, \"conversation_id\": \"68afe2cc-75f0-8320-9794-3695ec262450\", \"error\": null}, \"c\": 0}     ",
                        "",
                        "data: [DONE]",
                        ""
                    ],
                    "markdown_json": [
                        {
                            "type": "blank_line"
                        },
                        {
                            "type": "paragraph",
                            "children": [
                                {
                                    "raw": "这是 ChatGPT 响应的 Markdown JSON 示例...",
                                    "type": "text"
                                }
                            ]
                        }
                    ],
                    "markdown_text": "\n这是 ChatGPT 响应的 Markdown 文本示例...\n",
                    "response_text": "\n这是 ChatGPT 响应文本示例...\n",
                    "parse_status_code": 12000
                },
                "errors": [],
                "status_code": 12000,
                "task_id": "7366696303729862657"
            },
            "headers": {
                "date": "Thu, 28 Aug 2025 05:01:59 GMT",
                "content-type": "text/html; charset=utf-8"
            },
            "cookies": []
        }
    ]
}

支持

需要帮助或只是想打个招呼?我们的支持团队全天候为您服务。
您也可以随时通过电子邮件 support@decodo.com 联系我们。

反馈

找不到您要找的内容?请求一篇文章!
有反馈意见?分享您对我们如何改进的想法。