Skip to content
登录 注册

Bing SERP API 基本请求

Terminal window
curl "https://serp.shifter.io/v1?engine=bing&api_key=YOUR_API_KEY&q=shoes"
Terminal window
curl "https://serp.shifter.io/v1?engine=bing&api_key=YOUR_API_KEY&q=pizzeria&location=Rome%2C+Italy&cc=IT&setLang=it-IT&device=mobile"

Bing 使用 first(结果偏移量)和 count(每页结果数,默认值为 10)进行分页。

Terminal window
# Page 1 (results 1-10)
curl "https://serp.shifter.io/v1?engine=bing&api_key=YOUR_API_KEY&q=news&first=1&count=10"
# Page 2 (results 11-20)
curl "https://serp.shifter.io/v1?engine=bing&api_key=YOUR_API_KEY&q=news&first=11&count=10"