Playground
Keyword Trends API
API Guide
Amazon Scrape API
通用采集 API
SERP API
AI Overview SERP API
Keyword Trends API
Playground
Keyword Trends API
创建SERP任务
POST
/
scrape
curl --request POST \
--url https://scrapeapi.pangolinfo.com/api/v1/scrape \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://trends.google.com",
"format": "json",
"parserName": "googleTrends",
"scrapeContext": {
"keywords": [
"men'\''s running shoes"
],
"time": "2025-08-01 2025-08-06"
}
}'
{
"code": 0,
"message": "ok",
"data": {
"json": [
{
"code": 0,
"data": {
"keywords": [
"men's running shoes"
],
"items": {
"data": [
{
"formattedAxisTime": "Feb 28",
"hasData": [
true
],
"formattedValue": [
"83"
],
"formattedTime": "Feb 28, 2025",
"time": "1740700800",
"value": [
83
]
},
{
"formattedAxisTime": "Mar 1",
"hasData": [
true
],
"formattedValue": [
"100"
],
"formattedTime": "Mar 1, 2025",
"time": "1740787200",
"value": [
100
]
}
],
"queries_list": [
{
"rising": [],
"top": [
{
"query": "mens running shoes",
"hasData": true,
"link": "/trends/explore?q=mens+running+shoes&date=2025-02-28+2025-03-01",
"formattedValue": "100",
"value": 100
}
],
"keyword": "men's running shoes"
}
]
}
},
"message": "ok"
}
],
"url": "https://trends.google.com",
"taskId": "40b2b041b06e4e47a5341e1f0099fd53"
}
}
积点消耗说明
1.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/v1/scrape \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://trends.google.com",
"format": "json",
"parserName": "googleTrends",
"scrapeContext": {
"keywords": [
"men'\''s running shoes"
],
"time": "2025-08-01 2025-08-06"
}
}'
{
"code": 0,
"message": "ok",
"data": {
"json": [
{
"code": 0,
"data": {
"keywords": [
"men's running shoes"
],
"items": {
"data": [
{
"formattedAxisTime": "Feb 28",
"hasData": [
true
],
"formattedValue": [
"83"
],
"formattedTime": "Feb 28, 2025",
"time": "1740700800",
"value": [
83
]
},
{
"formattedAxisTime": "Mar 1",
"hasData": [
true
],
"formattedValue": [
"100"
],
"formattedTime": "Mar 1, 2025",
"time": "1740787200",
"value": [
100
]
}
],
"queries_list": [
{
"rising": [],
"top": [
{
"query": "mens running shoes",
"hasData": true,
"link": "/trends/explore?q=mens+running+shoes&date=2025-02-28+2025-03-01",
"formattedValue": "100",
"value": 100
}
],
"keyword": "men's running shoes"
}
]
}
},
"message": "ok"
}
],
"url": "https://trends.google.com",
"taskId": "40b2b041b06e4e47a5341e1f0099fd53"
}
}