SERP API 谷歌查询参数
Configure 谷歌 search, maps, trends, reviews, lens, hotels, and flights with Bright Data’s SERP API, including parameters for localization, pagination, device type, parsing, and more.
搜索
gl
用于定义搜索国家/地区的双字母国家/地区代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?gl=us"
hl
用于定义页面语言的双字母语言代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?hl=en"
tbm
定义搜索类型。 对于常规搜索,无需使用 tbm
参数,而其他类型则有唯一的 tbm
值。
示例:\
tbm=isch
- 图片
tbm=shop
- 购物
tbm=nws
- 新闻
tbm=vid
- 视频
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/search?q=pizza&tbm=shop"
ibp
对 Job 搜索类型使用 ibp
参数。
示例:
ibp=htl;jobs
- Jobs
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/search?q=pizza&ibp=htl%3Bjobs"
start
定义结果偏移量——结果从所选值start
。 用于管理分页。
示例:
start=0
(默认) -结果的第一页
start=20
- 结果的第二页
start=40
- 结果的第三页,以此类推
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?开始=20"
num
定义要返回的结果数。
示例:
num=20
(默认) - 返回 20 条结果
num=50
- 返回 50 条结果,以此类推
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?num=40"
ule
代表您希望用于搜索的编码位置,将用于更改地理位置。 可以在此处下载包含所有可用 uule 值的 CSV: https://developers.google.com/adwords/api/docs/appendix/geotargeting
CSV 中“规范名称”列的值可用作 API 的原始字符串
示例:
&ule=New+York,New+York,United+States
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/search?q=pizza&ule=w+CAIQICINVW5pdGVkK1N0YXRlcw"
brd_mobile
定义要在用户代理中表示的设备类型.
默认或 brd_mobile=0 时将提供随机桌面用户代理,而 brd_mobile=1 时将提供随机移动用户代理。
对于特定的移动平台,提供以下值之一:
brd_mobile=ios
- iPhone 用户代理(别名brd_mobile=iphone
)
brd_mobile=ipad
- iPad 用户代理(别名brd_mobile=ios_tablet
)
brd_mobile=android
- 安卓手机
brd_mobile=android_tablet
- 安卓平板
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/search?q=pizza&brd_mobile=1"
brd_browser
Define what browser to be represented in user-agent.
Can be combined with brd_mobile
to get according mobile browser.
Default will provide random browser.
For specific browser provide one of the following values:
brd_browser=chrome
- 谷歌 Chrome
brd_browser=safari
- Safari
brd_browser=firefox
- Mozilla Firefox (not compatible withbrd_mobile=1
)
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/search?q=pizza&brd_browser=chrome"
brd_json
Bright Data 自定义参数允许返回已解析的 JSON 而不是原始 HTML
示例:
brd_json=1
- 返回 JSON 格式的结果
brd_json=html
- 返回带有包含原始 HTML 的html
字段的 JSON 文件
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?brd_json=1"
hotel_occupancy
预订房间的客人数量(最多 4 人)。
brd_occuppany
参数,该参数提供了更大的灵活性。示例:
hotel_occupancy=1
- 1 位客人
hotel_occupancy=2
(默认)- 2 位客人
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/search?q=pizza&hotel_occupancy=4"
hotel_dates
入住日期和退房日期,用逗号分隔。
格式: 年月日,年月日
示例:
hotel_dates=2022-05-01,2022-05-03
- 查找 2022 年 5 月 1 日至 3 日的空房
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/search?q=pizza&hotel_dates=2023-05-01%2C2023-05-03"
download
在代理端下载图片,并使用 POST 请求发布到谷歌
示例:
default
- 如果谷歌无法下载图片,则下载并发布
download=1
- 强制下载并发布图片
download=0
- 带有图像链接的常规 GET 请求
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/searchbyimage?image_url=https%3A%2F%2Flive.staticflickr.com%2F213%2F491726079_4f46636859_w.jpg&download=1"
multi
使用 POST 请求通过我们的 API 服务器发送并行请求。
并行请求将使用相同的对等节点和会话,可用于比较测试,即对选定参数的 2 个不同值发出一对相同的请求。\
multi=[{"query":{"q":"pizza","num":20}},{"query":{"q":"pizza","num":100}}]
- 带有不同num
参数的相同关键词
multi=[{"query":{"q":"pizza"}},{"query":{"q":"burger"}}]
- 不同关键词
要发起请求,请执行:
RESPONSE_ID=$(curl -i --silent --compressed "https://api.brightdata.com/serp/req?customer=<customer-id>&zone=<zone-name>" -H "Content-Type: application/json" -H "Authorization: Bearer API_TOKEN" -d $'{"country":"us","multi":[{"query":{"q":"pizza","num":20}},{"query":{"q":"pizza","num":100}}]}' | sed -En 's/^x-response-id: (.*)/\1/p' | tr -d '\r')
x-response-id
标头将包含请求的 ID,以便在下一次请求中使用它来获取结果
curl -v --compressed "https://api.brightdata.com/serp/get_result?customer=<customer-id>&zone=<zone-name>&response_id=${RESPONSE_ID}" -H "Authorization: Bearer API_TOKEN"
地图
gl
用于定义搜索国家/地区的双字母国家/地区代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?gl=us"
hl
用于定义页面语言的双字母语言代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?hl=en"
geo params
定义搜索位置 GPS 坐标的参数。其结构应符合如下格式:@ + latitude + , + longitude + , + zoom
。
示例:
@47.30227,1.67458,14.00z
zoom
为可选参数,但建议使用该参数以获得更高精度。缩放范围从 3z (地图完全放大)到 21z (地图完全缩小)
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/service%20de%20transport/@47.30227,1.67458,14.00z"
开始
定义结果偏移量——结果从所选值开始。 用于管理分页。
示例:
start=0
(默认)- 结果的第一页
start=20
- 结果的第二页
start=40
- 结果的第三页,以此类推
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?开始=20"
num
定义要返回的结果数。
示例:
num=20
(默认)- 返回 20 条结果
num=50
- 返回 50 条结果,以此类推
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?num=40"
fid
通过 fid
获取谷歌地图位置结果。
在 http://www.google.com/maps/place/data=!3m1!4b1!4m2!3m1!1s 上使用 GET 请求,并在末尾加上 fid
值。
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "http://www.google.com/maps/place/data=!3m1!4b1!4m2!3m1!1s0x89e37742d0f37093:0xbc048b8a744ff75a"
brd_accomodation_type
住宿类型:酒店或度假屋。
示例:
brd_accomodation_type=hotels
(default) - 搜索酒店
brd_accomodation_type=vacation_rentals
- search for Vacation Rentals
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?brd_accomodation_type=vacation_rentals"
brd_json
Bright Data 自定义参数允许返回已解析的 JSON 而不是原始 HTML
示例:
brd_json=1
- 返回 JSON 格式的结果
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/maps/search/hotels+new+york/?brd_json=1"
趋势
geo
感兴趣的位置,由两个字母组成的国家/地区代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://trends.google.com/trends/explore?q=pizza&geo=us"
hl
首选语言,由两个字母组成的语言代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://trends.google.com/trends/explore?q=pizza&hl=de"
date
搜索时间范围。
可用值如下:
now 1-H
- 过去一小时
now 4-H
- 过去 4 小时
now 1-d
- 过去一天
now 7-d
- 过去 7 天
today 1-m
- 过去 30 天
today 3-m
- 过去 90 天
today 12-m(默认)
- 过去 12 个月
today 5-y
- 过去 5 年
2020-07-01 2020-12-31
- 自定义日期范围
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://trends.google.com/trends/explore?q=pizza&date=now+1-d"
cat
要搜索的类别。 默认情况下,在所有类别中搜索。
您可以在此处找到所有类别的列表: https://trends.google.com/trends/api/explore/pickers/category?lang=en-US&tz=240
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://trends.google.com/trends/explore?q=pizza&cat=3"
gprop
要筛选的谷歌属性。 默认为网络搜索。
可能的值如下: images
, news
, froogle
(for 谷歌 Shopping), youtube
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://trends.google.com/trends/explore?q=pizza&gprop=images"
评论
fid
要获取评论的功能 ID。
fid
参数可在谷歌搜索响应的 knowledge.fid
字段中找到。
例如:
https://www.google.com/search?q=hilton%20new%20york%20midtown
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/reviews?fid=0x808fba02425dad8f%3A0x6c296c66619367e0"
hl
首选语言,由两个字母组成的语言代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/reviews?fid=0x808fba02425dad8f%3A0x6c296c66619367e0&hl=de"
sort
评论的排序方式。
可能的值如下:
sort=QualityScore
(默认)- 最相关的评论优先
sort=newestFirst
- 最新评论优先
sort=RatingHigh
- 最高分评论优先
sort=RatingLow
- 最低分评论优先
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/reviews?fid=0x808fba02425dad8f%3A0x6c296c66619367e0&sort=newestFirst"
filter
筛选关键词。 将回复仅包含指定关键词的评论。
例如:
filter=awesome
- 搜索包含“很棒”一词的评论
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/reviews?fid=0x808fba02425dad8f%3A0x6c296c66619367e0&filter=awesome"
开始
定义结果偏移量——结果从所选值开始。 用于管理分页。
示例:
start=0
(默认)- 结果的第一页
start=20
- 结果的第二页
start=40
- 结果的第三页,以此类推
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/reviews?fid=0x808fba02425dad8f%3A0x6c296c66619367e0&开始=10"
num
定义要返回的结果数。
示例:
num=20
(默认)- 返回 20 条结果
num=50
- 返回 50 条结果,以此类推
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/reviews?fid=0x808fba02425dad8f%3A0x6c296c66619367e0&num=10"
镜头
url
您要搜索的图片的网址
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://lens.google.com/uploadbyurl?url=https%3A%2F%2Fwww.youtube.com%2Fimg%2Fdesktop%2Fyt_1200.png"
hl
首选语言,由两个字母组成的语言代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://lens.google.com/uploadbyurl?url=https%3A%2F%2Fwww.youtube.com%2Fimg%2Fdesktop%2Fyt_1200.png&hl=de"
brd_json
Bright Data 自定义参数允许返回已解析的 JSON 而不是原始 HTML
示例:
brd_json=1
- 返回 JSON 格式的结果
brd_json=html
- 返回带有包含原始 HTML 的html
字段的 JSON 文件
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://lens.google.com/uploadbyurl?url=https%3A%2F%2Fwww.youtube.com%2Fimg%2Fdesktop%2Fyt_1200.png&brd_json=1"
upload
上传位于当前目录中名为 cat.jpg
的图片(不支持异步区域)
curl -F "encoded_image=@cat.jpg" --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://lens.google.com/v3/upload"
data
向 https://lens.google.com/exact_matches 发送 POST 请求和 data 字符串。
此字符串源于 /v3/upload 或 /uploadbyurl?url= 请求的 json 响应中的 image_sources(不支持异步区域)。
curl --data "WyJodHRwczovL2xlbnMuZ29vZ2xlLmNvbS9fL0xlbnNXZWJTdGFuZGFsb25lVWkvZGF0YS9iYXRjaGV4ZWN1dGU/cnBjaWRzPUI3ZmRrZSZzb3VyY2UtcGF0aD0lMkZzZWFyY2gmZi5zaWQ9NDc2NTI2MTc4OTExNzkzNDk1MiZibD1ib3FfbGVuc2Zyb250ZW5kYXBpc2VydmVyXzIwMjMxMjA0LjA3X3AzJnNvYy1hcHA9MSZzb2MtcGxhdGZvcm09MSZzb2MtZGV2aWNlPTEmX3JlcWlkPTU2ODk5JnJ0PWMiLCJmLnJlcT0lNUIlNUIlNUIlMjJCN2Zka2UlMjIlMkMlMjIlNUIlNUIlNUMlMjI0MTU4MTI0NjElNUMlMjIlMkMxJTJDMSU1RCUyQyU1Qm51bGwlMkNudWxsJTJDbnVsbCUyQ251bGwlMkNudWxsJTJD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lNUQlNUQlMkMlNUJudWxsJTJDbnVsbCUyQ251bGwlMkNudWxsJTJDbnVsbCUyQ251bGwlMkMlNUIlNUMlMjI4ZWI3YWUxYi1iYzJlLTQzYjEtYWI0ZC1kYzJjNWU2ZTUxMTglNUMlMjIlNUQlMkMlNUIlNUMlMjIlMkZsZW5zLXdlYi1zdGFuZGFsb25lLXByb2QlMkZjZTFhZDFkZS04Mjc4LTQxMDMtOWJkYi1mNWFlMTY2NDBjMDklNUMlMjIlMkMlNUJudWxsJTJDbnVsbCUyQzEwMDAlMkMxMDAwJTVEJTVEJTVEJTVEJTJDbnVsbCUyQyU1QyUyMlFqUTRRalJCUkRndE1UUXpOQzAwTWpFMExUa3pNVFF0T0VOR01FSTVNa0k1TmtJMiU1QyUyMiU1RCUyMiUyQ251bGwlMkMlMjJnZW5lcmljJTIyJTVEJTVEJTVEJiJd" --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://lens.google.com/exact_matches"
酒店
gl
用于定义搜索国家/地区的双字母国家/地区代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/hotels/four%20seasons%20hotel%20new%20york%20downtown/entity/CgoIovWq7d7c9psTEAE/prices?g2lb=2502548,2503771,2503781,4258168,4270442,4284970,4291517,4306835,4401769,4429192,4518326,4597339,4640247,4647135,4649665,4680677,4718357,4721475,4722435,4722900,4723331,4726607,4733969,4734960,4736008,4738608,4741664,4743499&ssta=1&q=four+seasons+hotel+new+york+downtown&grf=EmQKLAgOEigSJnIkKiIKBwjmDxADGB4SBwjmDxAEGAcYAjAeQMoCSgcI5g8QAxgcCjQIDBIwEi6yASsSKQonCiUweDg5YzI1YTE4ZTM1NTNmOGI6MHgxMzM3ZGFlNWVkYWFiYWEy&rp=EKL1qu3e3PabExCi9art3tz2mxM4AkAASAHAAQI&ictx=1&gl=us"
hl
用于定义页面语言的双字母语言代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/hotels/four%20seasons%20hotel%20new%20york%20downtown/entity/CgoIovWq7d7c9psTEAE/prices?g2lb=2502548,2503771,2503781,4258168,4270442,4284970,4291517,4306835,4401769,4429192,4518326,4597339,4640247,4647135,4649665,4680677,4718357,4721475,4722435,4722900,4723331,4726607,4733969,4734960,4736008,4738608,4741664,4743499&ssta=1&q=four+seasons+hotel+new+york+downtown&grf=EmQKLAgOEigSJnIkKiIKBwjmDxADGB4SBwjmDxAEGAcYAjAeQMoCSgcI5g8QAxgcCjQIDBIwEi6yASsSKQonCiUweDg5YzI1YTE4ZTM1NTNmOGI6MHgxMzM3ZGFlNWVkYWFiYWEy&rp=EKL1qu3e3PabExCi9art3tz2mxM4AkAASAHAAQI&ictx=1&hl=en"
brd_dates
入住日期和退房日期,用逗号分隔。
格式:
年月日,年月日
示例:
2022-01-20,2022-02-05
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/hotels/four%20seasons%20hotel%20new%20york%20downtown/entity/CgoIovWq7d7c9psTEAE/prices?g2lb=2502548,2503771,2503781,4258168,4270442,4284970,4291517,4306835,4401769,4429192,4518326,4597339,4640247,4647135,4649665,4680677,4718357,4721475,4722435,4722900,4723331,4726607,4733969,4734960,4736008,4738608,4741664,4743499&ssta=1&q=four+seasons+hotel+new+york+downtown&grf=EmQKLAgOEigSJnIkKiIKBwjmDxADGB4SBwjmDxAEGAcYAjAeQMoCSgcI5g8QAxgcCjQIDBIwEi6yASsSKQonCiUweDg5YzI1YTE4ZTM1NTNmOGI6MHgxMzM3ZGFlNWVkYWFiYWEy&rp=EKL1qu3e3PabExCi9art3tz2mxM4AkAASAHAAQI&ictx=1&brd_dates=2022-04-03%2C2022-04-10"
brd_occupancy
预订房间的客人数量(最多 6 人)。
示例:
brd_occupancy=1
- 寻找 1 人间
brd_occupancy=2
(默认)- 寻找 2 人间
brd_occupancy=3
- 寻找 3 人间,依此类推
还支持以逗号分隔的整数列表,其中:
- 第一个值代表成年客人的数量
- 后续值代表儿童年龄
格式:
brd_occupancy=<number of adults>,<child 1 age>,<child 2 age>,...,<child N age>
示例:
brd_occupancy=1,5,7,12
- 1 名成人和 3 名儿童(5 岁、7 岁和 12 岁)
brd_occupancy=2,1,3
- 2 名成人和 2 名儿童(1 岁和 3 岁)
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/hotels/four%20seasons%20hotel%20new%20york%20downtown/entity/CgoIovWq7d7c9psTEAE/prices?g2lb=2502548,2503771,2503781,4258168,4270442,4284970,4291517,4306835,4401769,4429192,4518326,4597339,4640247,4647135,4649665,4680677,4718357,4721475,4722435,4722900,4723331,4726607,4733969,4734960,4736008,4738608,4741664,4743499&ssta=1&q=four+seasons+hotel+new+york+downtown&grf=EmQKLAgOEigSJnIkKiIKBwjmDxADGB4SBwjmDxAEGAcYAjAeQMoCSgcI5g8QAxgcCjQIDBIwEi6yASsSKQonCiUweDg5YzI1YTE4ZTM1NTNmOGI6MHgxMzM3ZGFlNWVkYWFiYWEy&rp=EKL1qu3e3PabExCi9art3tz2mxM4AkAASAHAAQI&ictx=1&brd_occupancy=4"
brd_free_cancellation
仅显示可免费取消的报价
示例:
brd_free_cancellation=true
- 可免费取消
brd_free_cancellation=false
(默认)- 显示所有报价
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/hotels/four%20seasons%20hotel%20new%20york%20downtown/entity/CgoIovWq7d7c9psTEAE/prices?g2lb=2502548,2503771,2503781,4258168,4270442,4284970,4291517,4306835,4401769,4429192,4518326,4597339,4640247,4647135,4649665,4680677,4718357,4721475,4722435,4722900,4723331,4726607,4733969,4734960,4736008,4738608,4741664,4743499&ssta=1&q=four+seasons+hotel+new+york+downtown&grf=EmQKLAgOEigSJnIkKiIKBwjmDxADGB4SBwjmDxAEGAcYAjAeQMoCSgcI5g8QAxgcCjQIDBIwEi6yASsSKQonCiUweDg5YzI1YTE4ZTM1NTNmOGI6MHgxMzM3ZGFlNWVkYWFiYWEy&rp=EKL1qu3e3PabExCi9art3tz2mxM4AkAASAHAAQI&ictx=1&brd_free_cancellation=true"
brd_accomodation_type
住宿类型:酒店或度假屋。
示例:
brd_accomodation_type=hotels
(默认)- 搜索酒店
brd_accomodation_type=vacation_rentals
- 搜索度假屋
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/hotels/four%20seasons%20hotel%20new%20york%20downtown/entity/CgoIovWq7d7c9psTEAE/prices?g2lb=2502548,2503771,2503781,4258168,4270442,4284970,4291517,4306835,4401769,4429192,4518326,4597339,4640247,4647135,4649665,4680677,4718357,4721475,4722435,4722900,4723331,4726607,4733969,4734960,4736008,4738608,4741664,4743499&ssta=1&q=four+seasons+hotel+new+york+downtown&grf=EmQKLAgOEigSJnIkKiIKBwjmDxADGB4SBwjmDxAEGAcYAjAeQMoCSgcI5g8QAxgcCjQIDBIwEi6yASsSKQonCiUweDg5YzI1YTE4ZTM1NTNmOGI6MHgxMzM3ZGFlNWVkYWFiYWEy&rp=EKL1qu3e3PabExCi9art3tz2mxM4AkAASAHAAQI&ictx=1&brd_accomodation_type=vacation_rentals"
brd_currency
显示价格的币种(3 个字母代码)。
示例:
brd_currency=USD
- 美元
brd_currency=EUR
- 欧元
brd_currency=INR
- 印度卢比
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/hotels/four%20seasons%20hotel%20new%20york%20downtown/entity/CgoIovWq7d7c9psTEAE/prices?g2lb=2502548,2503771,2503781,4258168,4270442,4284970,4291517,4306835,4401769,4429192,4518326,4597339,4640247,4647135,4649665,4680677,4718357,4721475,4722435,4722900,4723331,4726607,4733969,4734960,4736008,4738608,4741664,4743499&ssta=1&q=four+seasons+hotel+new+york+downtown&grf=EmQKLAgOEigSJnIkKiIKBwjmDxADGB4SBwjmDxAEGAcYAjAeQMoCSgcI5g8QAxgcCjQIDBIwEi6yASsSKQonCiUweDg5YzI1YTE4ZTM1NTNmOGI6MHgxMzM3ZGFlNWVkYWFiYWEy&rp=EKL1qu3e3PabExCi9art3tz2mxM4AkAASAHAAQI&ictx=1&brd_currency=USD"
brd_mobile
定义要在用户代理中表示的设备类型
默认或 brd_mobile=0
时将提供随机桌面用户代理,而 brd_mobile=1
时将提供随机移动用户代理。
**对于特定的移动平台,提供以下值之一: **
brd_mobile=ios
- iPhone 用户代理(别名brd_mobile=iphone
)
brd_mobile=ipad
- iPad 用户代理(别名brd_mobile=ios_tablet
)
brd_mobile=android
- 安卓手机
brd_mobile=android_tablet
- 安卓平板
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/hotels/four%20seasons%20hotel%20new%20york%20downtown/entity/CgoIovWq7d7c9psTEAE/prices?g2lb=2502548,2503771,2503781,4258168,4270442,4284970,4291517,4306835,4401769,4429192,4518326,4597339,4640247,4647135,4649665,4680677,4718357,4721475,4722435,4722900,4723331,4726607,4733969,4734960,4736008,4738608,4741664,4743499&ssta=1&q=four+seasons+hotel+new+york+downtown&grf=EmQKLAgOEigSJnIkKiIKBwjmDxADGB4SBwjmDxAEGAcYAjAeQMoCSgcI5g8QAxgcCjQIDBIwEi6yASsSKQonCiUweDg5YzI1YTE4ZTM1NTNmOGI6MHgxMzM3ZGFlNWVkYWFiYWEy&rp=EKL1qu3e3PabExCi9art3tz2mxM4AkAASAHAAQI&ictx=1&brd_mobile=1"
brd_json
Bright Data 自定义参数允许返回已解析的 JSON 而不是原始 HTML
示例:
brd_json=1
- 返回 JSON 格式的结果
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/hotels/four%20seasons%20hotel%20new%20york%20downtown/entity/CgoIovWq7d7c9psTEAE/prices?g2lb=2502548,2503771,2503781,4258168,4270442,4284970,4291517,4306835,4401769,4429192,4518326,4597339,4640247,4647135,4649665,4680677,4718357,4721475,4722435,4722900,4723331,4726607,4733969,4734960,4736008,4738608,4741664,4743499&ssta=1&q=four+seasons+hotel+new+york+downtown&grf=EmQKLAgOEigSJnIkKiIKBwjmDxADGB4SBwjmDxAEGAcYAjAeQMoCSgcI5g8QAxgcCjQIDBIwEi6yASsSKQonCiUweDg5YzI1YTE4ZTM1NTNmOGI6MHgxMzM3ZGFlNWVkYWFiYWEy&rp=EKL1qu3e3PabExCi9art3tz2mxM4AkAASAHAAQI&ictx=1&brd_json=1"
航班
gl
用于定义搜索国家/地区的双字母国家/地区代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/flights/search?tfs=CBwQAhoiEgoyMDI0LTA1LTI5agsIAhIHL20vMGszcHIHCAESA1hSSkABSAFwAYIBCwj___________8BmAEC&gl=us"
hl
用于定义页面语言的双字母语言代码
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/flights/search?tfs=CBwQAhoiEgoyMDI0LTA1LTI5agsIAhIHL20vMGszcHIHCAESA1hSSkABSAFwAYIBCwj___________8BmAEC&hl=en"
tfs
代表航班搜索参数的字符串
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/flights/search?tfs=CBwQAhoiEgoyMDI0LTA1LTI5agsIAhIHL20vMGszcHIHCAESA1hSSkABSAFwAYIBCwj___________8BmAEC"
curr
定义返回价格的币种
curl --proxy brd.superproxy.io:33335 --proxy-user brd-customer-<customer-id>-zone-<zone-name>:<zone-password> "https://www.google.com/travel/flights/search?tfs=CBwQAhoiEgoyMDI0LTA1LTI5agsIAhIHL20vMGszcHIHCAESA1hSSkABSAFwAYIBCwj___________8BmAEC&curr=USD"