POST
/
scrape
curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v2/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "screenshot": true,
  "url": "https://www.google.com/search?num=10&udm=50",
  "parserName": "googleAISearch",
  "param": [
    "how to learn it",
    "the books of it"
  ]
}'
{
  "code": 0,
  "message": "ok",
  "data": {
    "json": {
      "type": "organic",
      "finalUrl": "https://www.google.com/search?num=10&q=javascript&sei=BmQyao7cC4qn5NoP_fbr8Qc&mstk=AUtExfDYTjIO1kSljI3awEelPZMKk4YaKVUWTYEC3WRH2SIvSYdLgU3NnjXt6eJUAE_0ui5N5rtrf0O1OAF-CXUxxWam5WAZDElyDPPUHsmd2s4P-TaBMdZQsQdo5Y3-DfeWcubK6r6Ur8mMKyFjYjuL2UNanNWSIDlNz2M&csuir=1&udm=50",
      "turns": [
        {
          "prompt": "javascript",
          "overview": {
            "type": "ai_overview",
            "items": [
              {
                "type": "ai_overview_elem",
                "content": [
                  "UI Manipulation: Updates HTML text and switches visual CSS styles instantly without needing page refreshes.",
                  "Event Handling: Listens for user interactions like mouse clicks, form submissions, and keyboard typing.",
                  "Data Processing: Requests, parses, and formats data packages behind the scenes using structured JSON formatting.",
                  "Media Support: Coordinates browser games, interactive canvas maps, and playback controls for streaming media. Wikipedia +4",
                  "Number: Integer or floating-point values.",
                  "String: Text segments wrapped in quotes.",
                  "Boolean: True or false conditions.",
                  "Undefined: A declared variable lacking an assigned value. MDN Web Docs +2",
                  "Interactive Playgrounds: Learn syntax interactively via JavaScript.com or jump straight into the browser challenges on LearnJavaScript.online.",
                  "Documentation Guides: Read the official MDN JavaScript Guide or browse the comprehensive reference manual on W3Schools JavaScript Tutorial.",
                  "Structured Courses: Follow lessons, step-by-step projects, and quizzes over at the Codecademy JavaScript Track."
                ]
              }
            ],
            "references": [
              {
                "type": "ai_overview_reference",
                "title": "JavaScript - MDN Web Docs",
                "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript",
                "domain": "MDN Web Docs"
              },
              {
                "type": "ai_overview_reference",
                "title": "JavaScript - Wikipedia",
                "url": "https://en.wikipedia.org/wiki/JavaScript",
                "domain": "Wikipedia"
              },
              {
                "type": "ai_overview_reference",
                "title": "The Modern JavaScript Tutorial",
                "url": "https://javascript.info/",
                "domain": "The Modern JavaScript Tutorial"
              }
            ]
          }
        },
        {
          "prompt": "how to learn it",
          "overview": {
            "type": "ai_overview",
            "items": [
              {
                "type": "ai_overview_elem",
                "content": [
                  "Variables: Master let, const, and how they store data.",
                  "Data Types: Understand strings, numbers, booleans, arrays, and objects.",
                  "Conditionals: Learn if/else statements and logic gates (&&, ||).",
                  "Functions: Write reusable code blocks and understand arrow functions (=>).",
                  "Selecting Elements: Use querySelector() to grab elements from a page.",
                  "Changing Content: Use textContent and classList to change text or styles.",
                  "Event Listeners: Capture user actions like click, submit, or keydown.",
                  "Build This: A digital counter, a modal popup, or a dark-mode toggle switch.",
                  "Array Methods: Master map(), filter(), and forEach() to handle data lists.",
                  "Asynchronous JS: Understand how fetch(), promises, and async/await work.",
                  "Working with APIs: Fetch real-world data (like weather information or movie stats).",
                  "Build This: A live weather application or a searchable recipe finder."
                ]
              }
            ],
            "references": []
          }
        },
        {
          "prompt": "the books of it",
          "overview": {
            "type": "ai_overview",
            "items": [
              {
                "type": "ai_overview_elem"
              }
            ],
            "references": [
              {
                "type": "ai_overview_reference",
                "title": "JavaScript from Beginner to Professional: Learn JavaScript Quickly by Building Fun, Interactive, and Dynamic Web Apps, Games, and Pages",
                "url": "https://books.google.com/books/about/JavaScript_from_Beginner_to_Professional.html?id=n_xTEAAAQBAJ",
                "domain": "JavaScript from Beginner to Professional: Learn JavaScript Quickly by Building Fun, Interactive, and Dynamic Web Apps, Games, and Pages"
              },
              {
                "type": "ai_overview_reference",
                "title": "Head First JavaScript Programming: A Brain-Friendly Guide",
                "url": "https://books.google.com/books/about/Head_First_JavaScript_Programming.html?id=eSIsAwAAQBAJ",
                "domain": "Head First JavaScript Programming: A Brain-Friendly Guide"
              }
            ]
          }
        }
      ]
    },
    "url": "https://www.google.com/search?num=10&udm=50",
    "screenshot": "https://image.datasea.network/screenshots/1781687302116-ed2df0d21e7c2fdb.png"
  }
}

积点消耗说明

API调用消耗积点数
获取完整的AI Overview信息AI Overview2个/次

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json

用于接口任务提交的信息

The body is of type object.

Response

200 - application/json

成功返回示例

The response is of type object.