# 必应关键词排名查询API

**Use case:** 

查询任意关键词的必应排名：按城市与设备返回页码和位置，定时运行即可积累排名历史，补齐主流工具缺失的必应数据。输出JSON便于集成。

## Input

```json
{
  "query": "crm software",
  "max_pages": 2,
  "include_ads": false,
  "location": "Seattle, Washington",
  "safe_search": "Moderate",
  "device": "desktop"
}
```

## Output

```json
{
  "resultType": {
    "label": "Result type",
    "format": "string"
  },
  "page": {
    "label": "Page",
    "format": "integer"
  },
  "position": {
    "label": "Position",
    "format": "integer"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "snippet": {
    "label": "Snippet",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "displayedUrl": {
    "label": "Displayed URL",
    "format": "string"
  },
  "date": {
    "label": "Date",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Bing Search API | SERP, Rank Tracking and Ads Data](https://apify.com/johnvc/bing-search-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/bing-search-api) to learn more, explore other use cases, and run it yourself.