Autocomplete suggestions
Returns the ordered query suggestions Bing offers for a partial search, which suits keyword research.
Loading / 加载中…
Bing Search API · Search & SEO data
Five operations cover Bing web search, image search, news search, video search and query autocomplete. Each one takes a free-text query plus market, country and language inputs, so a single integration can follow one topic across web pages, pictures, articles and videos in a chosen locale.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Returns the ordered query suggestions Bing offers for a partial search, which suits keyword research.
Searches Bing images and returns full-size image URLs, source pages, thumbnails and domains, with pixel size when available.
Returns Bing News articles for a keyword with source, snippet, publish age and thumbnail, newest first.
Returns ranked Bing web results with title, URL, snippet and date, plus the extra blocks of the results page when Bing shows them.
Searches Bing videos and returns the watch-page URL, title, duration and hosting platform, with channel, views and upload age when shown.
A bing-search call fills results with organic rows, and each row describes one page:
| Field | What it tells you |
|---|---|
position | the place of the page in the ranking |
title | the page title shown in the result list |
url | the address of the page |
displayed_url | the address in the form the result list prints |
domain | the domain that hosts the page |
site_name | the name of the site |
favicon | the small icon of the site |
snippet | the text excerpt under the title |
date | the date shown for the page |
total_estimate shows the number of matches Bing estimates for the query, while page, page_offset and count show which part of the matches the call returned.
Beside results, the same data carries the extras of the results page when Bing shows them:
ads: advertising rows, each with a position, a block naming the ad block it belongs to, and the title, url, displayed_url, domain and description of the adrelated_searches: the related queries Bing lists for the searchpeople_also_ask: related questions, each with its questionknowledge_panel: a panel with a title, a description and a urlanswer_box: the answer box of the pagebing-images returns images, one row per picture, and links each full-size file to the page it came from:
| Field | What it tells you |
|---|---|
image_url | the full-size version of the picture |
source_url | the page the picture was found on |
thumbnail_url | the link to the smaller preview |
title | the title of the picture |
domain | the domain of the source page |
position | the order of the picture in the results |
width and height | the pixel size, present when Bing has it |
description | the text describing the picture, present when Bing has it |
page_offset and count in data locate the returned part of the image results.
bing-news returns news, one row per article, ordered from the most recent article downward. Each row carries:
| Field | What it tells you |
|---|---|
title | the headline of the article |
url | the address of the article |
source | the outlet that published it |
snippet | a text excerpt of the article |
published | the publish age of the article |
thumbnail_url | the address of the thumbnail |
position | the order of the article in the results |
Bing News indexes only recent articles, so a topic that is old or very niche can match no articles.
Five fields are present on every row of videos: position, title, url, duration and platform. Here url is the watch page and platform names the hosting site, such as YouTube, TikTok or Dailymotion. bing-videos adds further detail when Bing shows it:
thumbnail_url: the address of the thumbnailpublisher: the channel or publisher of the videoviews: the views the video haspublished: the upload age of the videodescription: the text describing the videobing-autocomplete returns the query suggestions Bing shows while someone types. suggestions is an ordered list, so the first entry is the first completion Bing offers. query and mkt show the text and the market that the suggestions belong to, and count shows how many suggestions came back.
The three market inputs work together. body.mkt is a market written as lang-COUNTRY, such as en-US, en-GB, de-DE, fr-FR or ja-JP, and it sets the country and the language of the results at once. body.gl is a 2-letter ISO-3166 country code, for example us, gb, de, in or br, and body.hl is an ISO-639 language code such as en, de or fr.
When body.mkt is missing it is built from body.gl and body.hl, and en-US applies when none of the three is sent. A value that is not recognised is ignored and the default applies.
Bing is a web search engine owned and operated by Microsoft. It was announced on May 28, 2009 and released on June 3, 2009 as the successor to Live Search, after the earlier Microsoft engines MSN Search and Windows Live Search. People use Bing for web, image, video, news and map searches, and its results page can also work as a calculator for basic math.
POST /api/v1/bing/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).bing-autocomplete and storing the suggestions it returns for each market.bing-news, keeping the title, source, url and published of each article in news.bing-search with different body.mkt values and comparing the results.image_url with source_url, or url with duration and platform.body.q is the only required input of the five operations; every other input is optional.body.count runs from 1 to 50 for bing-search (default 10), 1 to 100 for bing-news (default 15), 1 to 60 for bing-images (default 35) and 1 to 60 for bing-videos (default 30); bing-autocomplete has no body.count.body.page and body.first exist on bing-search, bing-images and bing-videos only; bing-news and bing-autocomplete have no paging input.body.freshness exists on bing-search and bing-news only, and bing-search has no hour value.body.device of bing-search accepts desktop and mobile, and both values return the desktop ranking.body.engine takes auto, bing, brave, gnews, gemini or yandex, and yandex is currently unavailable.Call bing-search with your query in body.q. data holds the organic rows in results, each with a position, title, url and snippet; when Bing shows them, ads, related searches, related questions and a knowledge panel come back in the same data. Add body.gl with a country code such as us to localise the answer, and body.count to ask for more than the default 10 rows.
For German results in Germany, send body.mkt as de-DE, or send body.gl as de together with body.hl as de. Use en-GB for British English or ja-JP for Japanese in Japan. The mkt field in data shows the market that answered, so you can compare it with the market you asked for.
Send body.page as 2 with the same query and inputs as page 1. body.first is the alternative: it is a 1-based offset, and 11 starts page 2 on bing-search, which pages by about 10 rows. The image operation pages by about 35 rows and the video operation by about 30, and both take body.page and body.first in the same way. News has no paging input, so raise body.count on bing-news instead.
Yes. Send a seed phrase such as best lap as body.q to bing-autocomplete. data returns suggestions together with query, mkt and count. Repeat the call with another body.gl or body.mkt to collect the suggestions of each market, and send a suggestion back as the next body.q to widen the list.
Call bing-news and set body.freshness to day for the past 24 hours or to week for the past 7 days; month covers the past 30 days and hour the past hour. The window applies on top of the query in body.q, so a brand name together with day gives the articles about that brand from the past day.
Call bing-images with body.q and loop over the images rows. In each one, image_url is the file to display and source_url is the page to link back to. Add body.gl to choose the country of the results, and body.count to choose how many pictures one call returns.
Call bing-videos with body.q and read duration, platform and views from each row of videos. duration and platform are present on every row, while views appears only when Bing shows it, so test for it before you use it. publisher and published follow the same rule as views: they come back only when Bing shows a channel and an upload age.
Put the operators inside body.q: site:example.com and a phrase in double quotes are applied as search operators. A query such as site:example.com "annual plan" combines the two. The same text works as body.q in all five operations. The exception is body.engine set to gemini on bing-search, which drops site: and supports date operators such as after:2026-06-01 instead.
Send body.safe as strict, moderate or off on bing-search, bing-images or bing-videos; off means no filtering. Pick the level per call, and use the same value on all three operations when one workflow mixes web, image and video lookups. bing-news and bing-autocomplete have no SafeSearch input, and a mistyped value is simply ignored.