Skip to content
登录 注册

Yandex SERP API 基本请求

Terminal window
curl "https://serp.shifter.io/v1?engine=yandex&api_key=YOUR_API_KEY&q=proxy"
Terminal window
curl "https://serp.shifter.io/v1?engine=yandex&api_key=YOUR_API_KEY&q=рестораны&lr=2&lang=ru"

Yandex 使用 p(从 0 开始的页码)进行分页。

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