Playground
SERP Batch API
API Guide
Amazon Scrape API
通用采集 API
AI Overview SERP API
Keyword Trends API
Map Data API
Playground
SERP Batch API
批量创建 SERP任务
POST
/
extractTask
/
batch
/
search
curl --request POST \
--url https://scrapeapi.pangolinfo.com/api/v3/extractTask/batch/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": [
"https://www.google.com/search?q=how+java+work"
],
"callback": "<string>",
"edgeId": "<string>",
"isGetHealthEdge": true,
"params": {},
"query": "<string>",
"timeout": 25000
}'{
"status": 1,
"taskId": "string",
"url": "string",
"errorMessage": "string",
"html": "string",
"data": {
"items": {
"items": [
{
"type": "organic",
"items": [
{
"text": "Amazon Web Services (AWS)",
"type": "organic",
"title": "What is Java? - Java Programming Language Explained",
"url": "https://aws.amazon.com/what-is/java/"
},
{
"text": "Carnegie Mellon University",
"type": "organic",
"title": "How Java Works",
"url": "https://www.cs.cmu.edu/~jcarroll/15-100-s04/supps/basics/hist.html"
},
{
"text": "People also ask...Feedback",
"type": "organic",
"title": ""
}
]
},
{
"type": "related_searches",
"items": [
"What is Java programming used for",
"How JVM works",
"What is Java Oracle",
"What is Java syntax"
]
}
]
}
}
}积点消耗说明
0.5个/次Authorizations
Bearer token authentication
Body
application/json
用于接口任务提交的信息
The body is of type object.
Response
200 - application/json
成功返回示例
The response is of type object.
curl --request POST \
--url https://scrapeapi.pangolinfo.com/api/v3/extractTask/batch/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": [
"https://www.google.com/search?q=how+java+work"
],
"callback": "<string>",
"edgeId": "<string>",
"isGetHealthEdge": true,
"params": {},
"query": "<string>",
"timeout": 25000
}'{
"status": 1,
"taskId": "string",
"url": "string",
"errorMessage": "string",
"html": "string",
"data": {
"items": {
"items": [
{
"type": "organic",
"items": [
{
"text": "Amazon Web Services (AWS)",
"type": "organic",
"title": "What is Java? - Java Programming Language Explained",
"url": "https://aws.amazon.com/what-is/java/"
},
{
"text": "Carnegie Mellon University",
"type": "organic",
"title": "How Java Works",
"url": "https://www.cs.cmu.edu/~jcarroll/15-100-s04/supps/basics/hist.html"
},
{
"text": "People also ask...Feedback",
"type": "organic",
"title": ""
}
]
},
{
"type": "related_searches",
"items": [
"What is Java programming used for",
"How JVM works",
"What is Java Oracle",
"What is Java syntax"
]
}
]
}
}
}
