提交任务

请求URL

POST https://scrapeapi.pangolinfo.com/api/v2/scrape

请求头

参数名参数值类型说明
Content-Typeapplication/jsonstring数据格式
AuthorizationBearer xxxstring认证凭证

请求参数

参数必填类型说明
urlYesstring目标网页URL
parserNameYesstring解析器名称
screenshotNoboolean是否需要⻚⾯截图

响应值

返回值类型说明
codeint状态码
messagestring信息
dataobject返回数据

返回参数 data 说明

返回值类型说明
jsonobject返回json数据
urlstring任务URL
screenshotstring⻚⾯截图存放的地址

请求示例

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v2/scrape \
  --header 'Authorization: ' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://www.google.com/search?num=10&udm=50&q=javascript",
  "parserName": "googleAISearch",
  "screenshot": true
}'

返回示例

{
  "code":0,
  "message":"ok",
  "data":{
    "results_num":1,
    "ai_overview":1,
    "json":
    {"type":"organic","items":[{"type":"ai_overview","items":[{"type":"ai_overview_elem","content":["JavaScript (JS) is a high-level, lightweight programming language primarily used to create interactive and dynamic content on the web. Alongside HTML (structure) and CSS (style), it is one of the three core technologies of the World Wide Web.","To learn or use JavaScript, you do not need to install special software to run basic scripts, as modern web browsers have a built-in engine (like Chrome’s V8) to execute it.","Interactivity: Enables features like animated graphics, interactive maps, form validation, and timely content updates without reloading the page.","Versatility: While it started as a client-side language for browsers, it is now used on the server-side (via Node.js), for mobile apps, and even for desktop software.","Multi-Paradigm: Supports multiple programming styles, including object-oriented, functional, and imperative.","Standardization: Its official standard is known as ECMAScript (currently updated through 2025 and 2026 specifications).","Web Development: Dominates front-end development; as of 2026, it is used by nearly all websites (roughly 98.9%).","Server-Side: Runtimes like Node.js, Deno, and Bun allow developers to use JavaScript for backend tasks, such as database management and API creation.","Mobile & Desktop Apps: Frameworks like React Native and Electron use JavaScript to build applications for iOS, Android, and Windows/macOS.","Documentation: Refer to the MDN Web Docs for comprehensive language references.","Tutorials: W3Schools and The Modern JavaScript Tutorial offer structured paths for beginners.","Development Environment: For professional coding, developers often use editors like Visual Studio Code."]}],"references":[{"type":"ai_overview_reference","title":"JavaScript - Wikipedia","url":"https://en.wikipedia.org/wiki/JavaScript","domain":"Wikipedia"},{"type":"ai_overview_reference","title":"JavaScript - MDN Web Docs - Mozilla","url":"https://developer.mozilla.org/en-US/docs/Web/JavaScript","domain":"MDN Web Docs"},{"type":"ai_overview_reference","title":"What is JavaScript? - Learn web development | MDN","url":"https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Scripting/What_is_JavaScript","domain":"MDN Web Docs"}]}]},
    "screenshot":"https://image.datasea.network/screenshots/1768988520324-766a695d93b57aad.png",
    "taskId":"1768988520324-766a695d93b57aad",
    "url":"https://www.google.com/search?num=10&udm=50&q=javascript"
  }
}

积点消耗说明

消耗积点数
获取完整的AI Overview信息2个/次