创建任务

创建SERP任务

请求URL

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

请求头

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

请求参数

参数必填类型说明
urlYesstring目标网页URL
parserNameYesstring解析器名称
formatYesstring数据返回格式
scrapeContextNoObject爬取上下文

scrapeContext爬取上下文参数说明

参数类型备注
resultNumint返回结果数
regionstring爬取地区

响应值

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

返回参数 data 说明

返回值类型说明
jsonstring[]返回json数据
urlstring任务URL
taskIdstring任务ID

请求示例

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://www.google.com/search?q=how+java+work",
  "format": "json",
  "parserName": "googleSearch",
  "scrapeContext": {
    "resultNum": 10,
    "region": "us"
  }
}'

返回示例

{
    "code": 0,
    "message": "ok",
    "data": {
        "json": [{"code":0,"data":{"items":[{"type":"organic","items":[{"text":"Medium · Fasrin AleemMedium · Fasrin AleemJava works in the same way, . The Java Virtual Machine can then compile the bytecode into machine code (JVM).","type":"organic","title":"Let's Understand Java. How Java Works? | by Fasrin Aleem","url":"https://medium.com/nerd-for-tech/lets-understand-java-261b2e6bcf2e"},{"text":"Microsoft Azure › cloud-computing-dictionaryMicrosoft Azure › cloud-computing-dictionaryGet a beginner's guide to the Java programming language.  to build apps and programs and discover the features and benefits of Java.","type":"organic","title":"What is Java?—Beginner's Guide to Java","url":"https://azure.microsoft.com/en-us/resources/cloud-computing-dictionary/what-is-java-programming-language"},{"text":"People also askWhat is Java and how does it work?Is Java closer to C or C++?What are the 4 types of Java?What are the 5 phases of Java?Feedback","type":"organic","title":""},{"text":"Amazon Web Services › ... › Developer ToolsAmazon Web Services › ... › Developer ToolsHow does Java work? · 1. . This is the front-end communication between the developer and the Java platform. · 2. Java Virtual Machine. This ...","type":"organic","title":"What is Java? - Java Programming Language Explained","url":"https://aws.amazon.com/what-is/java/"},{"text":"Videos12:03YouTube Telusko ·#4 How Java WorksYouTube Telusko ·Jan 16, 2023 by converting your code into bytecode, which is then executed by the JVM.8:50YouTube Soham Kamani ·How does Java Actually Work? (JVM, JDK, and JRE explained)YouTube Soham Kamani ·Nov 3, 2024JVM interprets bytecode, JRE provides libraries and garbage collector, JDK includes tools for development.36:02YouTube Concept && Coding - by Shrayansh ·2. How Java Program Works and its 3 Important Components ...YouTube Concept && Coding - by Shrayansh ·Sep 15, 2023 is a platform independent language and a very popular object oriented programming right and the major advantage.FeedbackView all","type":"organic","title":"","url":"https://www.youtube.com/watch?v=NHrsLjhjmi4"},{"text":"Scaler › topics › how-java-program-wo...Scaler › topics › how-java-program-wo...Java is an object oriented programming language. In this article by Scaler topics covers  and also discuss the execution of Java ...","type":"organic","title":"How Java Program Works?","url":"https://www.scaler.com/topics/java/how-java-program-works/"},{"text":" · r/java · 50+ comments · 2 years agoReddit · r/java · 50+ comments · 2 years agoIf you know java as a language, threads, io and know your way around the ecosystem (maven, ...MoreTop answerJava dev here. It depends on the project the company you are planning to work on. I worked on ...More · 1 answer · 1 year agoQuora · 1 answer · 1 year ago · r/learnjava · 9 comments · 7 years agoReddit · r/learnjava · 9 comments · 7 years agoSee more","type":"organic","title":"","url":"https://www.reddit.com/r/java/comments/10q3qor/what_are_the_main_things_i_need_to_know_to_be/"},{"text":"W3Schools › java › java_introW3Schools › java › java_intro is a popular programming language, created in 1995. It is owned by Oracle, and more than 3 billion devices run Java. It is used for: Mobile applications ( ...","type":"organic","title":"Introduction to Java","url":"https://www.w3schools.com/java/java_intro.asp"},{"text":"GeeksforGeeks › java › compilation-ex...GeeksforGeeks › java › compilation-ex... — Jul 11, 2025","type":"organic","title":"Compilation and Execution of a Java Program","url":"https://www.geeksforgeeks.org/java/compilation-execution-java-program/"},{"text":"Dev.java › learn › getting-startedDev.java › learn › getting-started — Mar 26, 2024There are several steps that you need to follow to create a . This tutorial shows you how to create a very simple Java application.Compiling And Executing Java...Setting Up A Java...Common Problems And Their...","type":"organic","title":"Getting Started with Java","url":"https://dev.java/learn/getting-started/"},{"text":"GeeksforGeeks › java › introduction-to-...GeeksforGeeks › java › introduction-to-... is a high-level, object-oriented programming language developed by Sun Microsystems in 1995. It is mostly used for building desktop applications, ...Java Programming BasicsLearn JavaJava CommentsJava Features","type":"organic","title":"Introduction to Java","url":"https://www.geeksforgeeks.org/java/introduction-to-java/"}]},{"type":"related_searches","items":["How java work step by step","How java work for beginners","Features of Java","What is Java programming used for","Java tutorial","Java compiler","History of Java","What is Java language"]}]},"message":"ok"}],
        "url": "https://www.google.com/search?q=how+java+work&gl=us&lr=lang_en",
        "taskId": "b6d9022f693b44f6bd7a87b31112df00"
    }
}

积点消耗说明

resultNum参数消耗积点数
每个请求返回10个结果10(Default)0.5个/次