Full Text Search API
Public Information
Parameter | Description | Example |
---|---|---|
basePath | Base path to call search API | https://genaiapi.cloudsway.net/ |
endpointPath | Generated random path for endpoint | LPUqHEAjfonOmohV |
AccessKey | Access key for the search API | RWxxxxxxxx0Gd |
Based on the above example, the final request path of the Bing Search API is:
https://genaiapi.cloudsway.net/LPUqHEAjfonOmohV/bing/v7.0/search
Or
https://genaiapi.cloudsway.net/v7.0/search
Request Method
GET
Request Path
-
With endpointPath:
-
{basePath}/{endpointPath}/bing/v7.0/search
-
Precisely locates the unique endpoint
-
-
Without endpointPath:
-
{basePath}/v7.0/search
-
Automatically selects the endpoint, choosing the first one if there are multiple
-
Request Headers
Parameter | Description | Example |
---|---|---|
Authorization | Yes | AccessKey Bearer ${AccessKey} |
Accept | No | The default media type is application/json。To specify the response in JSON-LD,set the Accept header to application/ld+json. |
Accept-Language | No | A comma-separated list of languages for UI strings, ordered by preference. For more information, including the expected format,see RFC2616。 This header and the setLang query parameter are mutually exclusive—do not specify both. If you set this header, you must also specify the cc query parameter. To determine the market for the returned results, Bing uses the first supported language found in the list and combines it with the cc parameter value. If the list contains no supported language, Bing finds the closest supported one or uses an aggregate or default market. To determine the market Bing used, see the BingAPIs-Market response header. Only use this header and the cc query parameter when specifying multiple languages. Otherwise, use the mkt and setLang query parameters. UI strings are label strings in the user interface. There are a few UI strings in the JSON response object. Any links in the response object that refer to Bing.com properties apply the specified language. |
Pragma | No | By default, Bing returns cached content (if available). To prevent Bing from returning cached content, set the Pragma header to no-cache. |
User-Agent | No | The user agent that made the request. Bing uses the user agent to provide a better experience for mobile users. Although optional, it is recommended to always specify this header. The user agent should be a string sent by any common browser. For information about user agents, see RFC 2616。 Examples: Android — Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; SCH-I500 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML; like Gecko) Version/4.0 Mobile Safari/533.1 iPhone — Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML; like Gecko) Mobile/10B142 iPhone4;1 BingWeb/3.03.1428.20120423 PC — Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko iPad — Mozilla/5.0 (iPad; CPU OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 |
X-MSEdge-ClientID | No | This header is used for both request and response. Bing uses this header to provide consistent behavior across Bing API calls for the user. Bing often rolls out new features and improvements and uses client ID as the key for different test group assignments. If you do not use the same client ID across multiple requests for the same user, Bing may assign the user to multiple conflicting test groups. Being assigned to multiple conflicting test groups can cause an inconsistent user experience. For example, if the second request's test assignment differs from the first, the experience may be unexpected. Additionally, Bing can use the client ID to customize the web results based on the search history associated with that client ID, providing clearer relevance improvements to help improve results ranking, which can lead to higher click-through rates (CTR). Important: While optional, this header should be considered essential. Maintaining a consistent client ID for the same end-user and device pairing across multiple requests allows for: 1. Consistent user experience, 2. Higher quality results from Bing API improving CTR. Usage rules: Each user utilizing your application on the device must have a unique, Bing-generated client ID. If you do not include this header in your request, Bing generates an ID and returns it in the X-MSEdge-ClientID response header. The only time you should not include this header in your request is when the user is using your application on that device for the first time. Note: You must ensure that this client ID is not linkable to an authenticated user's account information. Use the client ID for every Bing API request made by the user on the device. Persist the client ID. To persist the ID in a browser app, use persistent HTTP cookies to ensure the ID persists across all sessions. Do not use session cookies. For other applications (e.g., mobile apps), use the device's persistent storage to persist the ID. Next time the user uses your app on the device, retrieve your persisted client ID. Note: The Bing response may or may not contain this header. If the response contains this header, capture the client ID and use it for all subsequent Bing requests on that device. Note: If you include X-MSEdge-ClientID, do not include cookies in your request. |
X-MSEdge-ClientIP | No | The client's IPv4 or IPv6 address. The IP address is used to uncover the user's location. Bing uses this information to determine safe search behavior. Note: Although optional, it is recommended to always specify this header along with the X-Search-Location header. Do not obscure the address (e.g., changing the last octet to 0). Obscuring the address may result in an inaccurate location being returned, leading to Bing providing inaccurate results. |
X-Search-Location | No | A semicolon-delimited list of key/value pairs that describe the client's geographic location. Bing uses location information to determine safe search behavior and return relevant local content. The key/value pairs are formatted as lat — Required. The latitude of the client's location, in degrees. Latitude must be between -90.0 and +90.0. Negative values indicate southern latitude, and positive values indicate northern latitude. long — Required. The longitude of the client's location, in degrees. Longitude must be between -180.0 and +180.0. Negative values indicate western longitude, and positive values indicate eastern longitude. re — Required. The radius, in meters, that specifies the horizontal accuracy of the coordinates. Pass the value returned by the device location service. Typical values can be 22 meters for GPS/Wi-Fi, 380 meters for cell tower triangulation, and 18,000 meters for reverse IP lookup. ts — Optional. The UTC UNIX timestamp representing the time when the client was at this location. (UNIX timestamps are in seconds since January 1, 1970.) head — Optional. The relative direction that the client is moving or facing. Specify the direction of travel in clockwise degrees relative to true north, from 0 to 360 degrees. Only specify this key when sp is non-zero. sp — Optional. The horizontal speed of the client's device, in meters per second. alt — Optional. The altitude of the client's device, in meters. are — Optional. The radius, in meters, that specifies the vertical accuracy of the coordinates. Only specify this key when alt is specified. disp — Optional. The user's geographic location in the format disp: Notes: Parameter order is important. For example, if you specify the disp parameter, the order must be lat, long, re, and disp. If the query string contains a location, Bing ignores this header. For example, if this header is set to San Francisco but the query is restaurants seattle, Bing returns restaurants located in Seattle, Washington. Although many keys are optional, providing more location information yields more accurate location results. Although optional, it is recommended to always specify the user's geographic location. If the client's IP address does not accurately reflect the user's physical location (e.g., the client is using a VPN), providing the location information is even more critical. For best results, include both this header and the X-Search-ClientIP header, but at least include this header. |
QueryParams
Parameter | Description | Example | |
---|---|---|---|
searchType | Yes | String | Search Type, fixed to ALL_CONTENT under this type |
contentType | Yes | String | Web content return format, supports HTML and MARKDOWN |
contentTimeout | Yes | String | Get web content timeout, in seconds, maximum 10 seconds. If fetching web content exceeds this time, content will return null |
answerCount | No | Integer | The number of answers you want in the response. Bing returns answers based on ranking. For example, if Bing returns web pages, images, videos, and related searches for a request, and you set this parameter to 2, the response will include web pages and images. For information about promoting ranked answers to the response, see the promote query parameter. |
cc | No | String | A 2-character country/region code indicating the country/region to get results from. If you set this parameter, you must also specify the Accept-Language header. Bing uses the first supported language found in the specified languages and combines it with the country code to determine the market for the results. If the language list does not contain a supported language, Bing finds the closest supported language and market, or it might use an aggregate or default market to return results.To know which market Bing used, check the BingAPIs-Market header in the response.Use this query parameter and the Accept-Language header only when specifying multiple languages. Otherwise, you should use the mkt and setLang query parameters.This parameter and the mkt query parameter are mutually exclusive—do not specify both. |
count | No | Short | The number of search results included in the results. The default is 10, with a maximum value of 50. The actual number returned might be less than the requested count. Use this parameter along with the offset parameter to paginate results.For example, if your user interface displays 10 search results per page, set count to 10, set offset to 0 to get the first page of results. For each subsequent page, increment the offset by 10 (e.g., 0, 10, 20). Multiple pages might contain some overlapping results. This parameter affects only the number of web results and does not impact the count of other answers (such as images or videos) returned by Bing. |
freshness | No | String | Filter search results by the following case-insensitive time values: Day — Returns web pages discovered by Bing within the last 24 hours. Week — Returns web pages discovered within the last 7 days. Month — Returns web pages discovered within the last 30 days. To get articles discovered by Bing within a specific date range, specify the dates in the format YYYY-MM-DD..YYYY-MM-DD. For example, &freshness=2019-02-01..2019-05-30 . To limit results to a single date, set this parameter to that date. For example, &freshness=2019-02-04 . |
mkt | No | String | The market to get results from. Typically, mkt is the country where the request originates. However, if the user is not in a country where Bing provides results, it might be a different country. The market must be in the form Note: If known, it is strongly recommended to always specify the market. Specifying the market helps Bing route the request and return the most appropriate and optimal response. If you specify a market that is not listed in the market codes, Bing finds the best matching market code based on its internal mapping, which might change. To know which market Bing used, check the BingAPIs-Market header in the response.This parameter is mutually exclusive with the cc query parameter—do not specify both. |
offset | No | Short | The zero-based offset that indicates the number of search results to skip before returning results. The default is 0. The offset should be less than the (totalEstimatedMatches - count).totalEstimatedMatches is a field in the response.Use this parameter along with the count parameter to paginate results. For example, if your user interface displays 10 search results per page, set count to 10, set offset to 0 to get the first page of results. For each subsequent page, increment the offset by 10 (e.g., 0, 10, 20). Multiple pages might contain some overlapping results. |
promote | No | String | A comma-delimited list of answers you want to include in the response regardless of their rank. For example, if you set answerCount to 2 (meaning Bing returns the top two ranked answers), but you also want the response to include news, you can set promote to news. If the top two ranked answers are web pages, images, videos, and related searches, the response will include web pages and images because news is not a ranked answer. However, if you set promote to video, Bing will promote the video answer to the response, and it will return web pages, images, and videos.The answers you want to promote do not count towards the answerCount limit. For example, if the ranked answers are news, images, and videos, and you set answerCount to 1 and promote to news, the response will include news and images. Or, if the ranked answers are videos, images, and news, the response will include videos and news.Possible values are: Computation Entities Images News RelatedSearches SpellSuggestions TimeZone Videos Webpages Note: Use this only when you specify the answerCount parameter. |
q | Yes | String | The user's search query term. The term cannot be empty. The query term can include Bing advanced operators. For example, to limit the results to a specific domain, you can use the site: operator (q=fishing+site:fishing.contoso.com ). Note that the results might include content from other websites, depending on how many relevant results are found on the specified site. |
responseFilter | No | List |
A comma-delimited list of answers to include in the response. If you do not specify this parameter, the response includes all search results that Bing checks for relevant data. Possible filter values are: Computation Entities Images News Places RelatedSearches SpellSuggestions TimeZone Translations Videos Webpages If you want to exclude specific types of content (such as images) from the response, you can exclude them by adding a hyphen (-) before the responseFilter value. For example, &responseFilter=-images .Although this filter can be used to fetch a single type of answer, you should always use the endpoint specific to the answer (if one exists) to get richer results. For example, to receive only images, send the request to one of the Image Search API endpoints. To include answers excluded by ranking, see the promote query parameter. |
safeSearch | No | String | Filter adult content in web, image, and video results. Possible filter values are: Off — Returns content with adult text and images but not adult videos. Moderate — Returns web pages with adult text but not adult images or videos. Strict — Does not return adult text, images, or videos. The default is Moderate .Note: For video results, if safeSearch is set to Off, Bing ignores it and uses Moderate .Note: If the request is from a market that Bing's adult policy requires safeSearch to be set to Strict , Bing ignores the safeSearch value and uses Strict .Note: If you use the site: query operator, the response might include adult content regardless of the safeSearch query parameter setting. Use the site: operator only when you trust the site content and your scenario supports possibly including adult content. |
setLang | No | String | The language to use for user interface strings. You can specify the language using either the two-letter or four-letter code, with the four-letter code being recommended. If setLang contains a valid two-letter neutral culture code (e.g., fr ) or a valid four-letter specific culture code (e.g., fr-ca ), Bing loads the localized strings for the specified language. For fr-ca , Bing loads the strings for the fr culture.If the setLang is invalid (e.g., zh ) or not supported by Bing (e.g., af , af-na ), Bing defaults to en (English).To specify the two-letter code, set this parameter to the ISO 639-1 language code. To specify the four-letter code, use the form en-US for English (United States).Although optional, you should always specify the language. Typically, you set setLang to the same language specified by mkt , unless the user wants the user interface strings displayed in a different language.This parameter and the Accept-Language header are mutually exclusive—do not specify both.User interface strings are strings used as labels in the user interface. There are a few user interface strings in the JSON response object. Also, any links in the response object that refer to Bing.com properties apply the specified language. |
textDecorations | No | Boolean | A Boolean value indicating whether display strings in the results should contain decoration markers (e.g., hit highlighting characters). If set to true, the strings might contain markers. The default is false .To specify whether to use Unicode characters or HTML tags as markers, see the textFormat query parameter.For more information about hit highlighting, see Hit Highlighting. |
textFormat | No | String | The markers to use for text decorations (see the textDecorations query parameter).Possible values are: Raw — Use Unicode characters to mark content that needs special formatting. The Unicode character range is E000 through E019. For example, Bing uses E000 and E001 to mark the beginning and end of query terms for hit highlighting. HTML — Use HTML tags to mark content that needs special formatting. For example, use the <b> tag to highlight query terms in the display string.The default is Raw . |
Response Headers
Header | Description |
---|---|
BingAPIs-Market | The market used for the request. The format is If the market value specified in the mkt query parameter of your request is not in the market codes list, this value may differ from the one you specified. The same applies if the values for cc and Accept-Language you specified cannot be reconciled. |
BingAPIs-TraceId | The ID of the log entry that contains detailed information about the request. Record this ID if an error occurs. If you cannot identify and resolve the issue, submit this ID along with other information you provide to the support team. |
Retry-After | If you exceed the queries per second (QPS) or queries per month (QPM) limits allowed, this header will be included in the response. The header contains the number of seconds you must wait before sending another request. |
X-MSEdge-ClientID | See the request header: X-MSEdge-ClientID. |
Response Body
Attribution
Defines which publisher the content is attributed to.
Name | Value | Type |
---|---|---|
providerDisplayName | The name of the publisher used for attributing the content. | String |
seeMoreUrl | The URL of the publisher's website. Use the providerDisplayName and this URL to create a hyperlink and display it in the user interface. | String |
Computation
Defines an expression and its answer.
Name | Value | Type |
---|---|---|
expression | The mathematical or conversion expression. If the query includes a unit conversion request (e.g., meters to feet), this field contains the original unit, and the value field contains the target unit. If the query includes a mathematical expression (e.g., 2+2), this field contains the expression and the value field contains the answer. Note that the mathematical expression may be normalized. For instance, if the query is sqrt(4^2+8^2), the normalized expression might be sqrt((4^2)+(8^2)). If the user's query is a mathematical one and the textDecorations query parameter is set to true, the expression string might contain formatting markers. For example, if the user's query is log(2), the normalized expression includes the subscript marker. For more information, see hit highlighting. | String |
value | The answer to the expression. | String |
Error
Defines the error that occurred.
Name | Value | Type |
---|---|---|
code | The error code identifying the category of the error. For a list of possible codes, see Error Codes. | String |
message | The error description. | String |
moreDetails | A description providing additional information about the error. | String |
parameter | The request query parameter that caused the error. | String |
subCode | The error code identifying the error. For example, if the code is InvalidRequest, the subCode might be ParameterInvalid or ParameterInvalidValue. | String |
value | The invalid query parameter value. | String |
ErrorResponse
The top-level object included in the response when the request fails.
Name | Value | Type |
---|---|---|
_type | The type hint, set to ErrorResponse. | String |
errors | A list of errors describing the reasons for the request failure. | Error[] |
Identifiable
Defines the identity of a resource.
Name | Value | Type |
---|---|---|
id | The identifier. | String |
Image
Defines an image.
Note:
Since the URL format and parameters might change without notice, all image URLs should be used as-is; do not depend on the URL format or parameters. Exceptions are those discussed under resizing and cropping thumbnail images.
Name | Value | Type |
---|---|---|
height | The height of the source image, in pixels. | Unsigned Short |
hostPageUrl | The URL of the webpage that contains the image. This URL and contentUrl might be the same. | String |
name | An optional text string containing random information about the image. | String |
provider | The source of the image. The array will contain one item. You must attribute the image to the provider. For example, you could display the provider's name when hovering the cursor over the image, or make the image a clickable link to the provider's website. | Organization[] |
thumbnailUrl | The URL to the image thumbnail. For information about resizing images, see Resizing and Cropping Thumbnail Images. | String |
width | The width of the source image, in pixels. | Unsigned Short |
License
Defines the license that enables you to use the content.
Name | Value | Type |
---|---|---|
name | The name of the license. | String |
url | The URL to a webpage describing the license. Use the name and URL to create a hyperlink. | String |
LicenseAttribution
Defines the contractual rules for the license attribution.
Name | Value | Type |
---|---|---|
_type | The type hint, set to LicenseAttribution. | String |
license | The license that enables using the content. | License |
licenseNotice | The license notice to display next to the field it applies to. For example, "Text under CC-BY-SA license." Create a hyperlink to the webpage describing the license details using the name and URL in the license field, then replace the license name (e.g., CC-BY-SA) in the licenseNotice string with the hyperlink you just created. | String |
mustBeCloseToContent | A Boolean value indicating whether the content must be placed near the field it applies to. If true, place the content nearby. If false, or the field does not exist, the placement is up to the caller. | Boolean |
targetPropertyName | The name of the field this rule applies to. | String |
LinkAttribution
Defines the contractual rules for link attribution.
Name | Value | Type |
---|---|---|
_type | The type hint, set to LinkAttribution. | String |
mustBeCloseToContent | A Boolean value indicating whether the content must be placed near the field it applies to. If true, the content must be placed nearby. If false, or this field does not exist, the placement is up to the caller. | Boolean |
targetPropertyName | The name of the field this rule applies to. If no target is specified, the attribution applies to the entire entity and should be displayed immediately after the entity is shown. If there are multiple link and text attributions with no target, they should be concatenated and displayed with a "Data from:" label. For example, "Data from |
String |
text | The attribution text. | String |
url | The URL to the provider's website. Use the text and URL to create a hyperlink. | String |
Malware
Defines the notification that a webpage might present potential issues when a user clicks on the URL link.
Name | Value | Type |
---|---|---|
beSafeRxUrl | The URL to a webpage where users can get more information about buying prescription drugs online safely. | String |
malwareWarningType | The type of malware notification. Possible values are: NABP — Warning that the National Association of Boards of Pharmacy has listed this pharmacy on its not recommended list. Malware — Warning that the site might download malware that could harm the user's device. MaliciousPageLink — Warning that the site might contain links that could download malware which could harm the user's device. Phishing — Warning that the site might attempt to trick users into disclosing financial, personal, or other sensitive information. | String |
warningExplanationUrl | The URL to a webpage where users can get an explanation of the issue. For NABP warnings, users can use this link to verify the pharmacy. | String |
warningLetterUrl | The URL to a webpage where users can get more information about the notification. For NABP warnings, users can use this link to see the list of online websites not recommended by the association. | String |
MediaAttribution
Defines the contractual rules for media attribution.
Name | Value | Type |
---|---|---|
_type | The type hint, set to MediaAttribution. | String |
mustBeCloseToContent | A Boolean value indicating whether the content must be placed near the field it applies to. If true, the content must be placed nearby. If false, or this field does not exist, the placement is up to the caller. | Boolean |
targetPropertyName | The name of the field this rule applies to. | String |
url | The URL to create a hyperlink for the media content. For example, if the target is an image, you can use the URL to make the image clickable. | String |
MetaTag
Defines the metadata of a webpage.
Name | Value | Type |
---|---|---|
content | The metadata. | String |
name | The name of the metadata. | String |
Organization
Defines the publisher.
Note that the publisher might provide their name, their website, or both.
Name | Value | Type |
---|---|---|
name | The name of the publisher. | String |
url | The URL of the publisher's website. Note that the publisher might not provide a website. | String |
Query
Defines the search query.
The SpellSuggestions object uses this object to suggest a query string that might represent the user's intent. The RelatedSearchAnswer also uses it to return related searches performed by other users.
Name | Value | Type |
---|---|---|
displayText | The display version of the query term. This version of the query term might contain special characters that highlight the search words found in the query string. The string contains highlight characters only if query string highlighting is enabled (see the textDecorations query parameter). For details about highlighting, see Highlighting. | String |
text | The query string. Use this string as the query term in a new search request. | String |
webSearchUrl | The URL to take the user to the Bing search results page. Only Related Search results include this field. | String |
QueryContext
Defines the query string that Bing used for the request.
Name | Value | Type |
---|---|---|
adultIntent | A Boolean value indicating whether the specified query has adult intent. If the query has adult intent, the value is true. If true, and the request's safeSearch query parameter is set to Strict, the response includes only news results (if applicable). | Boolean |
alterationOverrideQuery | The query string to force Bing to use the original string. For example, if the query string is saling downwind, the override query string is +saling downwind. Remember to encode the query string, resulting in %2Bsaling+downwind. The object includes this field only if the original query string contains a spelling mistake. | String |
alteredQuery | The query string that Bing used to perform the query. If the original query string contains a spelling mistake, Bing uses the altered query string. For example, if the query string is saling downwind, the altered query string is sailing downwind. The object includes this field only if the original query string contains a spelling mistake. | String |
askUserForLocation | A Boolean value indicating whether Bing needs the user's location to provide accurate results. If you specify the user's location using the X-MSEdge-ClientIP and X-Search-Location headers, you can ignore this field. For location-aware queries that need the user's location to provide accurate results (for example, "weather today" or "restaurants near me"), this field is set to true. For location-aware queries that contain the location (for example, "Seattle weather"), this field is set to false. For non-location-aware queries (for example, "best sellers"), this field is also set to false. | Boolean |
originalQuery | The query string specified in the request. | String |
RankingGroup
Defines a group of search results, such as a mainline.
Name | Value | Type |
---|---|---|
items | A list of search result items to display in the group. | RankingItem[] |
RankingItem
Defines the search result item to display. For more information on how to use the ID, see Ranking Results.
Name | Value | Type |
---|---|---|
answerType | The answer that contains the item to display. For example, news. Use the type to find the answer in the SearchResponse object. The type is the field name in the SearchResponse object. | String |
resultIndex | The zero-based index of the item in the answer. If the item doesn't include this field, display all items in the answer. For example, display all news articles in the news answer. | Integer |
value | The ID that identifies the answer or answer item to display. If the ID identifies an answer, display all items in the answer. | Identifiable |
RankingResponse
Defines where and in what order to place the content on the search results page.
Name | Value | Type |
---|---|---|
mainline | The search results to display in the mainline portion of the search results page. | RankingGroup |
pole | The search results to emphasize and give prominent treatment (for example, displaying above the mainline and sidebar). | RankingGroup |
sidebar | The search results to display in the sidebar of the search results page. | RankingGroup |
RelatedSearchAnswer
Defines a list of related queries that others have performed.
Name | Value | Type |
---|---|---|
id | A unique identifier for the related search answer. This field is included only if the Ranking answer specifies that all related searches should be displayed in the group. For more info on how to use the ID, see Ranking Results. | String |
value | A list of related queries that others have performed. | Query[] |
SearchResponse
The top-level object that the response includes if the request succeeded.
By default, the search API includes all relevant answers unless one of the following applies:
- The query specifies the responseFilter query parameter to limit the answers returned.
- One or more search components do not return results (for example, the query does not return news results).
- The subscription key does not have rights to access a search component.
- If the service suspects a denial of service attack, the request succeeds (HTTP status code is 200 OK), but the response is empty.
Name | Value | Type |
---|---|---|
_type | The type hint, set to SearchResponse. | String |
computation | The answer that contains the mathematical or unit conversion expression. | Computation |
entities | A list of entities that are relevant to the search query. | EntityAnswer |
images | A list of images that are relevant to the search query. | ImageAnswer |
news | A list of news articles that are relevant to the search query. | NewsAnswer |
places | A list of places that are relevant to the search query. | LocalEntityAnswer |
queryContext | The query string that Bing used for the request. | QueryContext |
rankingResponse | The order in which Bing suggests you display search results. | RankingResponse |
relatedSearches | A list of related queries that others have performed. | RelatedSearchAnswer |
spellSuggestions | A query string that might represent the user’s intent. | SpellSuggestions |
timeZone | The date and time of one or more geographic locations. | TimeZone |
translations | Translates words or phrases from the query string into another language. | TranslationAnswer |
videos | A list of videos that are relevant to the search query. | VideosAnswer |
webPages | A list of webpages that are relevant to the search query. | WebAnswer |
SpellSuggestions
Defines the suggested query strings that might represent the user’s intent.
If Bing determines the user might have intended to search for something else, the search results include this response. For example, if the user searches for "alon brown," Bing might determine that users who searched for "alon brown" intended to search for "Alton Brown."
Name | Value | Type |
---|---|---|
id | A unique identifier for the spell suggestion answer. Use this field when displaying spell suggestions using the ranking response. For more info on how to use the ID, see Ranking Results. | String |
value | A list of suggested query strings that might represent the user’s intent. The list contains a single Query object. | Query[] |
TextAttribution
Defines the contractual rules for text attribution.
Name | Value | Type |
---|---|---|
_type | The type hint, set to TextAttribution. | String |
text | The attribution text. Text attribution applies to the entire entity and should be displayed immediately after the entity is shown. If there are multiple text or link attributions with no specified targeting, they should be concatenated and displayed with a "Data from:" label. | String |
TimeZone
Defines the date and time of one or more geographic locations.
Name | Value | Type |
---|---|---|
date | The date as a string. For example, Thursday, June 5, 2019. The answer might include this field if the user’s query asks Bing to calculate a date. For example, 90 days from today. | String |
description | The description of the response. The answer might include this field if the query asks Bing to calculate the number of days or weeks in a time period (for example, weeks in a year or days in a month), or convert a time to a different time zone (for example, from PST to EST). | String |
otherCityTimes | A list of the date and time for the location. The answer includes this field for queries such as "US time zones" or "Time zone in Arizona". The list is ordered by UTC offset. | TimeZoneInformation[] |
primaryCityTime | The current date and time (UTC) of the geographic location specified in the query. If the query specifies a specific geographic location (for example, a city), this object includes the name of the geographic location and the current date and time of the location. If the query specifies a general geographic location, such as a state or country/region, this object includes the date and time of the primary city or state within the specified state or country/region. If the location contains other time zones, the otherCityTimes field includes the date and time of cities or states located in other time zones. | TimeZoneInformation |
primaryResponse | The primary data that satisfies the request. If the query string is "how many weeks in 2019," this field contains "52 weeks and 1 day". Other query examples: "How many days in this month" and "Today's date". | String |
primaryTimeZone | An object that contains the primary time zone of the geographic location. If a location contains multiple time zones, Bing determines which time zone is the primary time zone. The answer includes this field for queries such as "time zone" and "times zones in Arizona" or "US time zones". | TimeZoneInformation |
timeZoneDifference | The time difference between time zones (in hours). For example, there is a 3-hour difference between PST and EST. | TimeZoneDifference |
TimeZoneDifference
Defines the time difference between time zone 1 and time zone 2 (in hours).
Name | Value | Type |
---|---|---|
location1 | The date and time of the first time zone. For example, if the query is from PST to EST, this field includes the date and time of the Pacific time zone. | TimeZoneInformation |
location2 | The date and time of the second time zone. For example, if the query is from PST to EST, this field includes the date and time of the Eastern time zone. | TimeZoneInformation |
text | The string representing the time difference between the time zones. | String |
TimeZoneInformation
Defines the date and time of a geographic location.
Name | Value | Type |
---|---|---|
location | The type of geographic location. For example, county; city; city, state; city, state, country/region; or time zone. | String |
time | The specified UTC date and time in YYYY-MM-DDThh:mm:ss.ssssssZ format. | String |
timeZoneName | The name of the time zone that the geographic location is in. If the query is not time zone related, this string might be empty. | String |
utcOffset | The offset from UTC. For example, UTC-7. | String |
TranslationAnswer
Defines the translation of words or phrases in the query string.
Name | Value | Type |
---|---|---|
attributions | A list of publishers whose info you must attribute when presenting the answer. You must show the names of all publishers in the list as the data source. Typically, you would show a line with the name of the provider after the translation. For example, “Data from: |
Object[] |
contractualRules | A list of contractual rules to follow when displaying the answer. The following contractual rules might apply. For info about displaying contractual rules, see Data usage and attribution. | Object[] |
id | The unique identifier of this answer. The RankingResponse answer uses this ID to indicate where in the response to display this answer. For info about how to use this field, see How to use Ranking to display search results. | String |
inLanguage | The language of the text before translation. Identify the language by using the ISO 639-1 two-letter language code. For example, es identifies Spanish. | String |
originalText | The text to translate. | String |
translatedLanguageName | The language of the translated text. Identify the language by using the ISO 639-1 two-letter language code. For example, en identifies English. | String |
translatedText | The translated text. | String |
WebAnswer
Defines a list of relevant webpage links.
Name | Value | Type |
---|---|---|
id | The unique identifier of the webpage answer. This field is included only if the Ranking answer suggests displaying all webpage results in the group. For more info on how to use the ID, see Ranking Results. | String |
someResultsRemoved | A Boolean value that indicates whether the response excluded some results. If Bing excluded some results, the value is true. | Boolean |
totalEstimatedMatches | The estimated number of webpages relevant to the query. Use this number with the count and offset query parameters to page the results. | Long |
value | A list of relevant webpages. | WebPage[] |
webSearchUrl | The URL that takes the user to the Bing search results page for the request. | String |
WebPage
Defines a webpage that is relevant to the query.
Name | Value | Type |
---|---|---|
about | For internal use only. | Object[] |
dateLastCrawled | The date and time when Bing last crawled the webpage. The date is in the YYYY-MM-DDTHH:MM:SS format. For example, 2015-04-13T05:23:39. | String |
datePublished | The date and time when the webpage was published. The date is in the YYYY-MM-DDTHH:MM:SS format. For example, 2015-04-13T05:23:39. | String |
datePublishedDisplayText | The display version of datePublished. | String |
contractualRules | A list of rules to follow when displaying the answer. The following contractual rules might apply. For information on displaying contractual rules, see Data usage and attribution. | Object[] |
deepLinks | A list of related content links that Bing found on the website that contains the webpage. The WebPage object in this context contains only the name and url fields, and optionally the snippet field. | WebPage[] |
displayUrl | The display URL of the webpage. This URL is for display purposes only and not well-formed. | String |
id | The unique identifier of the webpage in the webpage results list. This field is included only if the Ranking answer specifies that you should mix the webpage with other search results. Each webpage includes an ID that matches the ID in the Ranking answer. For more information, see Ranking Results. | String |
isFamilyFriendly | A Boolean value that indicates whether the webpage contains adult content. If the webpage does not contain adult content, isFamilyFriendly is set to true. | Boolean |
isNavigational | A Boolean value that indicates whether the user’s query is frequently used to navigate to different parts of the webpage’s domain. If users navigate from that page to other parts of the site, the value is true. | Boolean |
language | The two-letter language code that identifies the webpage’s language. For example, en means English. | String |
malware | If Bing believes the webpage might present potential issues when a user clicks the URL link, you should display a notice beside the link to the webpage, prominently. | Malware |
name | The name of the webpage. Use this name and url to create a hyperlink that the user clicks to go to the webpage. | String |
mentions | For internal use only. | Object |
searchTags | A list of search tags specified by the webpage owner in the page. The API returns only indexed search tags. The name field in the MetaTag object contains the indexed search tag. Search tags start with search.* (for example, search.assetId). The content field contains the value of the tag. | MetaTag[] |
snippet | A snippet of text that describes the webpage’s content. | String |
url | The URL of the webpage. Use this URL and name to create a hyperlink that the user clicks to go to the webpage. | String |
content | Page content | String |
Request Example
curl --request GET \
--url 'https://genaiapi.cloudsway.net/czlbjfZMUTB/bing/v7.0/search?q=panda&count=3&searchType=ALL_CONTENT&contentType=HTML&contentTimeout=5&mkt=zh-CN' \
--header 'Accept: */*' \
--header 'Accept-Encoding: gzip, deflate, br' \
--header 'Authorization: Bearer RWxxxxxxxxxGC' \
--header 'Connection: keep-alive' \
--header 'User-Agent: PostmanRuntime-ApipostRuntime/1.1.0'
Response Example
{
"_type": "SearchResponse",
"queryContext": {
"originalQuery": "panda"
},
"webPages": {
"webSearchUrl": "https://www.bing.com/search?q=panda",
"totalEstimatedMatches": 1290000,
"value": [
{
"id": "https://api.bing.microsoft.com/api/v7/#WebPages.0",
"name": "Giant panda | Facts, Habitat, Population, & Diet | Britannica",
"url": "https://www.britannica.com/animal/giant-panda",
"datePublished": "2024-10-24T08:00:00.0000000",
"datePublishedFreshnessText": "6 天之前",
"isFamilyFriendly": true,
"displayUrl": "https://www.britannica.com/animal/giant-panda",
"snippet": "Giant panda, bear with striking black-and-white coloration inhabiting bamboo forests in the mountains of central China. Its coloration, bulky body, and round face gives it a captivating appearance that has endeared it to people worldwide. Learn more about the giant panda in this article.",
"dateLastCrawled": "2024-10-28T17:08:00.0000000Z",
"cachedPageUrl": "http://cc.bingj.com/cache.aspx?q=panda&d=4826899462955382&mkt=zh-CN&setlang=zh-CN&w=3yObt6reyeyTBWEIY2neFE4QU8v8_lBD",
"language": "en",
"isNavigational": true,
"noCache": false,
"siteName": "Britannica",
"content": "<body>\n <div>\n <div>\n Please enable cookies.\n </div>\n <div>\n <div>\n <h1>\n Sorry, you have been blocked\n </h1>\n <h2>\n You are unable to access britannica.com\n </h2>\n </div>\n <div>\n <div>\n <div>\n <h2>\n Why have I been blocked?\n </h2>\n <p>\n This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.\n </p>\n </div>\n <div>\n <h2>\n What can I do to resolve this?\n </h2>\n <p>\n You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.\n </p>\n </div>\n </div>\n </div>\n <div>\n <p>\n Cloudflare Ray ID: 8d9fcd0b88cc9e76\n•\n Your IP:\n Click to reveal\n183.6.211.215\n•\nPerformance & security by Cloudflare\n </p>\n </div>\n </div>\n </div>\n</body>\n"
},
{
"id": "https://api.bing.microsoft.com/api/v7/#WebPages.1",
"contractualRules": [
{
"_type": "ContractualRules/LicenseAttribution",
"targetPropertyName": "snippet",
"targetPropertyIndex": 1,
"mustBeCloseToContent": true,
"license": {
"name": "CC-BY-SA",
"url": "http://creativecommons.org/licenses/by-sa/3.0/"
},
"licenseNotice": "CC-BY-SA 许可证中的文本"
}
],
"name": "Giant panda - Wikipedia",
"url": "https://en.wikipedia.org/wiki/Giant_panda",
"thumbnailUrl": "https://www.bing.com/th?id=OIP.-W8Tpf_Hda-PZJG5uXLc6AHaE8&w=80&h=80&c=1&pid=5.1",
"datePublished": "2024-10-28T08:00:00.0000000",
"datePublishedFreshnessText": "2 天之前",
"isFamilyFriendly": true,
"displayUrl": "https://en.wikipedia.org/wiki/Giant_panda",
"snippet": "The giant panda (Ailuropoda melanoleuca), also known as the panda bear or simply panda, is a bear species endemic to China. It is characterised by its white coat with black patches around the eyes, ears, legs and shoulders. Its body is rotund; adult individuals weigh 100 to 115 kg (220 to 254 lb) and are typically 1.2 to 1.9 m (3 ft 11 in to 6 ...",
"dateLastCrawled": "2024-10-29T00:34:00.0000000Z",
"primaryImageOfPage": {
"thumbnailUrl": "https://www.bing.com/th?id=OIP.-W8Tpf_Hda-PZJG5uXLc6AHaE8&w=80&h=80&c=1&pid=5.1",
"width": 80,
"height": 80,
"sourceWidth": 474,
"sourceHeight": 316,
"imageId": "OIP.-W8Tpf_Hda-PZJG5uXLc6AHaE8"
},
"cachedPageUrl": "http://cc.bingj.com/cache.aspx?q=panda&d=4974328510812257&mkt=zh-CN&setlang=zh-CN&w=BBmIwAfFWfnWEBrTFEYdvTA1UJoJoCAO",
"language": "en",
"isNavigational": false,
"noCache": false,
"siteName": "Wikipedia",
"content": "暂未获取网页内容"
},
{
"id": "https://api.bing.microsoft.com/api/v7/#WebPages.2",
"name": "PANDA中文(简体)翻译:剑桥词典 - Cambridge Dictionary",
"url": "https://dictionary.cambridge.org/zhs/%E8%AF%8D%E5%85%B8/%E8%8B%B1%E8%AF%AD-%E6%B1%89%E8%AF%AD-%E7%AE%80%E4%BD%93/panda",
"isFamilyFriendly": true,
"displayUrl": "https://dictionary.cambridge.org/zhs/词典/英语-汉语...",
"snippet": "panda的 例句. Panda seedlings clearly occur in areas without elephants. One other decision that we have to announce shortly is that concerning the panda crossing experiment. He referred to what he described as \"panda car alienation\" and the need to bring the police nearer to, into and among the community.",
"dateLastCrawled": "2024-10-23T22:43:00.0000000Z",
"cachedPageUrl": "http://cc.bingj.com/cache.aspx?q=panda&d=4729858974294580&mkt=zh-CN&setlang=zh-CN&w=OaluzTdLwf9m5DfkUG85DOe5DtvOYywL",
"language": "zh_chs",
"isNavigational": false,
"noCache": false,
"siteName": "Cambridge Dictionary",
"content": "<body>\n <img 0;=\"\" 95vh;=\"\" 95vw;=\"\" 99vh;\\\"=\"\" 99vw;=\"\" absolute;=\"\" alt='\\\"\\\"' height='\\\"99999\\\"' height:=\"\" left:=\"\" max-height:=\"\" max-width:=\"\" none;=\"\" position:=\"\" src='\\\"\\\"' style='\\\"pointer-events:' top:=\"\" width='\\\"99999\\\"/' width:=\"\"/>\n <header>\n <div>\n <div>\n <div>\n <div>\n <a>\n <amp-img>\n <img alt='\\\"Cambridge' class='\\\"i-amphtml-fill-content' decoding='\\\"async\\\"' dictionary\\\"=\"\" i-amphtml-replaced-content\\\"=\"\" src='\\\"/zhs/external/images/logo-lrg-small.png?version=6.0.36\\\"/'/>\n </amp-img>\n </a>\n </div>\n </div>\n <nav>\n <ul>\n <li>\n <a>\n 词典\n </a>\n </li>\n <li>\n <a>\n 翻译\n </a>\n </li>\n <li>\n <a>\n 语法\n </a>\n </li>\n <li>\n <a>\n 同义词词典\n </a>\n </li>\n <li>\n <a>\n +Plus\n剑桥词典+Plus\n </a>\n </li>\n <li>\n <a>\n Shop\n </a>\n </li>\n </ul>\n </nav>\n </div>\n <div>\n <div>\n <div>\n <div>\n <div>\n <ul>\n <li>\n <a>\n 剑桥词典+Plus\n </a>\n </li>\n <li>\n <a>\n 我的主页\n </a>\n </li>\n <li>\n <a>\n +Plus 帮助\n </a>\n </li>\n <li>\n 退出\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n <ul>\n <li>\n <a>\n </a>\n </li>\n <li>\n <a>\n </a>\n </li>\n <li>\n <a>\n </a>\n </li>\n </ul>\n <div>\n <div>\n <div>\n <div>\n <ul>\n <li>\n <a>\n 剑桥词典+Plus\n </a>\n </li>\n <li>\n <a>\n 我的主页\n </a>\n </li>\n <li>\n <a>\n +Plus 帮助\n </a>\n </li>\n <li>\n 退出\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div>\n 登录\n / \n注册\n </div>\n <div>\n 中文 (简体)\n </div>\n </div>\n </div>\n </div>\n <div>\n <div>\n <form>\n <div>\n <div>\n 英语-中文(简体)\n </div>\n <div>\n <div>\n <div>\n <amp-list>\n <template>\n <div>\n <a>\n {{#beta}}\n {{/beta}}\n </a>\n </div>\n </template>\n </amp-list>\n </div>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n <div>\n 英语-中文(繁体)\n \n\n 英语\n \n\n 英语语法\n </div>\n </div>\n </div>\n </div>\n </form>\n </div>\n </div>\n </header>\n <div>\n <div>\n <div>\n <div>\n <article>\n <div>\n <div>\n <div>\n <h1>\n panda 在英语-中文(简体)词典中的翻译\n </h1>\n </div>\n </div>\n <div>\n <div>\n <div>\n <a>\n </a>\n </div>\n <div>\n <a>\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n <div>\n <div>\n <div>\n panda\n </div>\n <div>\n noun [ C ]\n </div>\n uk\n\nYour browser doesn\\'t support HTML5 audio\n\n\n/ˈpæn.də/ us\n\nYour browser doesn\\'t support HTML5 audio\n\n\n/ˈpæn.də/ plural pandas or panda (also giant panda)\n </div>\n <div>\n <div>\n <div>\n <div>\n <div>\n <a>\n Add to word list\n </a>\n <a>\n Add to word list\n </a>\n </div>\n <div>\n <div>\n a\n <a>\n large\n </a>\n ,\n <a>\n black\n </a>\n and\n <a>\n white\n </a>\n <a>\n mammal\n </a>\n that\n <a>\n lives\n </a>\n in\n <a>\n forests\n </a>\n in\n <a>\n China\n </a>\n . Pandas\n <a>\n eat\n </a>\n bamboo.\n </div>\n </div>\n <div>\n 熊猫,大熊猫\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div>\n <p>\n (panda在剑桥英语-中文(简体)词典的翻译 © Cambridge University Press)\n </p>\n </div>\n <div>\n <div>\n <div>\n <h2>\n panda的例句\n </h2>\n </div>\n <div>\n <div>\n panda\n </div>\n <div>\n <div>\n The adder may not be as appealing as the giant panda but it has its place in the scheme of things.\n <div>\n 来自\n <div>\n Hansard archive\n </div>\n <div>\n <div>\n 该例句来自Hansard存档。包含以下议会许可信息\n <a>\n 开放议会许可v3.0\n </a>\n </div>\n </div>\n </div>\n </div>\n <div>\n But this new system results from comprehensive planning: panda cars did not come out on the streets by chance.\n <div>\n 来自\n <div>\n Hansard archive\n </div>\n <div>\n <div>\n 该例句来自Hansard存档。包含以下议会许可信息\n <a>\n 开放议会许可v3.0\n </a>\n </div>\n </div>\n </div>\n </div>\n <div>\n The local people feel that they do not have the protection of the bobby on the street or the police officer in the panda car.\n <div>\n 来自\n <div>\n Hansard archive\n </div>\n <div>\n <div>\n 该例句来自Hansard存档。包含以下议会许可信息\n <a>\n 开放议会许可v3.0\n </a>\n </div>\n </div>\n </div>\n </div>\n <div>\n I believe that the panda is a most undesirable new animal to have on the roads.\n <div>\n 来自\n <div>\n Hansard archive\n </div>\n <div>\n <div>\n 该例句来自Hansard存档。包含以下议会许可信息\n <a>\n 开放议会许可v3.0\n </a>\n </div>\n </div>\n </div>\n </div>\n <div>\n A major issue relates to the position of the red panda in the tree.\n <div>\n 来自\n <a>\n Cambridge English Corpus\n </a>\n </div>\n </div>\n <div>\n He was going to put all his men in panda cars.\n <div>\n 来自\n <div>\n Hansard archive\n </div>\n <div>\n <div>\n 该例句来自Hansard存档。包含以下议会许可信息\n <a>\n 开放议会许可v3.0\n </a>\n </div>\n </div>\n </div>\n </div>\n <div>\n To-day we have police in panda cars who fly about chasing motorists.\n <div>\n 来自\n <div>\n Hansard archive\n </div>\n <div>\n <div>\n 该例句来自Hansard存档。包含以下议会许可信息\n <a>\n 开放议会许可v3.0\n </a>\n </div>\n </div>\n </div>\n </div>\n <div>\n I hope that we shall see those pandas and other creatures producing more offspring.\n <div>\n 来自\n <div>\n Hansard archive\n </div>\n <div>\n <div>\n 该例句来自Hansard存档。包含以下议会许可信息\n <a>\n 开放议会许可v3.0\n </a>\n </div>\n </div>\n </div>\n </div>\n <div>\n 示例中的观点不代表剑桥词典编辑、剑桥大学出版社和其许可证颁发者的观点。\n </div>\n </div>\n </div>\n </div>\n </div>\n A1\n </div>\n <div>\n <div>\n <h2>\n panda的翻译\n </h2>\n <div>\n <div>\n <div>\n 中文(繁体)\n </div>\n <div>\n 熊貓,大熊貓…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n <div>\n <div>\n 西班牙语\n </div>\n <div>\n oso panda, panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n <div>\n <div>\n 葡萄牙语\n </div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <amp-accordion>\n <section>\n <header>\n 更多语言\n </header>\n <div>\n <div>\n <div>\n 日语\n </div>\n <div>\n 土耳其语\n </div>\n <div>\n 法语\n </div>\n <div>\n 加泰罗尼亚语\n </div>\n <div>\n in Dutch\n </div>\n <div>\n 阿拉伯语\n </div>\n <div>\n 捷克语\n </div>\n <div>\n 丹麦语\n </div>\n <div>\n 印尼语\n </div>\n <div>\n 泰语\n </div>\n <div>\n 越南语\n </div>\n <div>\n 波兰语\n </div>\n <div>\n in Swedish\n </div>\n <div>\n 马来语\n </div>\n <div>\n 德语\n </div>\n <div>\n 挪威语\n </div>\n <div>\n 韩语\n </div>\n <div>\n in Ukrainian\n </div>\n <div>\n 意大利语\n </div>\n <div>\n 俄语\n </div>\n </div>\n </div>\n </section>\n </amp-accordion>\n <div>\n <div>\n <div>\n <div>\n パンダ…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n حَيوان الباندا…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n หมีแพนด้า…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n gấu trúc…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n der Panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n 자이언트 판다…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n панда…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n panda…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n панда…\n </div>\n <div>\n <a>\n 查看更多内容\n </a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n 需要一个翻译器吗?\n </div>\n <p>\n 获得快速、免费的翻译!\n </p>\n <div>\n <a>\n <div>\n 翻译器工具\n </div>\n </a>\n </div>\n </div>\n </div>\n </div>\n <div>\n <a>\n panda的发音是什么?\n </a>\n </div>\n <div>\n <a>\n 在英语词典中查看 panda 的释义\n </a>\n </div>\n <div>\n <h2>\n 浏览\n </h2>\n <div>\n <div>\n <a>\n pancreatic duct\n </a>\n </div>\n <div>\n <a>\n pancreatic juice\n </a>\n </div>\n <div>\n <a>\n pancreatic mass\n </a>\n </div>\n <div>\n <a>\n pancreatitis\n </a>\n </div>\n <div>\n panda\n </div>\n <div>\n <a>\n pandan\n </a>\n </div>\n <div>\n <a>\n pandemic\n </a>\n </div>\n <div>\n <a>\n pandemonium\n </a>\n </div>\n <div>\n <a>\n pander to someone/something phrasal verb\n </a>\n </div>\n </div>\n </div>\n </article>\n <div>\n <div>\n <div>\n <a>\n <amp-img>\n <img alt='\\\"/games/word-scramble\\\"' class='\\\"i-amphtml-fill-content' decoding='\\\"async\\\"' height='\\\"250\\\"' i-amphtml-replaced-content\\\"=\"\" src='\\\"https://dictionary.cambridge.org/zhs/external/images/games/Word_Scramble_Hooks.gif?version=6.0.36\\\"' width='\\\"300\\\"/'/>\n </amp-img>\n </a>\n </div>\n </div>\n <aside>\n <h2>\n panda更多的中文(简体)翻译\n </h2>\n <div>\n <amp-accordion>\n <section>\n <header>\n 全部\n </header>\n <div>\n <ul>\n <li>\n <a>\n red panda\n </a>\n </li>\n <li>\n <a>\n giant panda\n </a>\n </li>\n </ul>\n <a>\n 查看全部意思»\n </a>\n </div>\n </section>\n </amp-accordion>\n </div>\n </aside>\n <div>\n <div>\n <div>\n <a>\n </a>\n </div>\n <div>\n <a>\n </a>\n </div>\n <div>\n <p>\n “每日一词”\n </p>\n <p>\n <a>\n animation\n </a>\n </p>\n <div>\n UK\n\nYour browser doesn\\'t support HTML5 audio\n\n\n\n/ˌæn.ɪˈmeɪ.ʃən/\n </div>\n <div>\n US\n\nYour browser doesn\\'t support HTML5 audio\n\n\n\n/ˌæn.əˈmeɪ.ʃən/\n </div>\n </div>\n </div>\n <div>\n <p>\n moving images created from drawings, models, etc. that are photographed or created by a computer\n </p>\n <a>\n 关于这个\n </a>\n </div>\n </div>\n <div>\n <a>\n <amp-img>\n <img (idioms=\"\" alt='\\\"Cooking' books?=\"\" class='\\\"i-amphtml-fill-content' decoding='\\\"async\\\"' height='\\\"360\\\"' hitting=\"\" i-amphtml-replaced-content\\\"=\"\" or=\"\" src='\\\"/zhs/rss/images/Cooking-or-hitting-books_82193302.jpg\\\"' the=\"\" width='\\\"540\\\"/' with=\"\" ‘book’)\\\"=\"\"/>\n </amp-img>\n </a>\n <div>\n <p>\n 博客\n </p>\n <p>\n <a>\n Cooking or hitting the books? (Idioms with ‘book’)\n </a>\n </p>\n <div>\n October 23, 2024\n </div>\n <div>\n <a>\n 查看更多\n </a>\n </div>\n </div>\n </div>\n <div>\n <a>\n <amp-img>\n <img alt='\\\"<p>paycation\\\"' class='\\\"i-amphtml-fill-content' decoding='\\\"async\\\"' height='\\\"360\\\"' i-amphtml-replaced-content\\\"=\"\" src='\\\"/zhs/rss/images/paycation.jpg\\\"' width='\\\"540\\\"/'/>\n </amp-img>\n </a>\n <div>\n <p>\n 新词\n </p>\n <div>\n <a>\n </a>\n <p>\n <a>\n paycation\n </a>\n </p>\n </div>\n <div>\n October 28, 2024\n </div>\n <a>\n 查看更多\n </a>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n <div>\n <div>\n 已添加至 list\n </div>\n </div>\n </div>\n </div>\n <div>\n <div>\n <div>\n 回到页面顶端\n </div>\n <div>\n <div>\n 内容\n </div>\n <div>\n <a>\n 英语-中文(简体)\n </a>\n <a>\n 例句\n </a>\n <a>\n 翻译\n </a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <footer>\n <div>\n <div>\n <div>\n <a>\n </a>\n <a>\n </a>\n <a>\n </a>\n </div>\n <div>\n <a>\n </a>\n <p>\n ©剑桥大学出版社与评估2024\n </p>\n </div>\n </div>\n <div>\n <div>\n <div>\n 学习\n </div>\n <div>\n <a>\n 学习\n </a>\n <a>\n 学习\n </a>\n <a>\n 新词\n </a>\n <a>\n 帮助\n </a>\n <a>\n 纸质书出版\n </a>\n <a>\n Word of the Year 2021\n </a>\n <a>\n Word of the Year 2022\n </a>\n <a>\n Word of the Year 2023\n </a>\n </div>\n </div>\n <div>\n <div>\n 开发\n </div>\n <div>\n <a>\n 开发\n </a>\n <a>\n 开发\n </a>\n <a>\n 词典API\n </a>\n <a>\n 双击查看\n </a>\n <a>\n 搜索Widgets\n </a>\n <a>\n 执照数据\n </a>\n </div>\n </div>\n <div>\n <div>\n 关于\n </div>\n <div>\n <a>\n 关于\n </a>\n <a>\n 关于\n </a>\n <a>\n 无障碍阅读\n </a>\n <a>\n 剑桥英语教学\n </a>\n <a>\n 剑桥大学出版社与评估\n </a>\n 授权管理\n <a>\n Cookies与隐私保护\n </a>\n <a>\n 语料库\n </a>\n <a>\n 使用条款\n </a>\n <a>\n 京ICP备14002226号-2\n </a>\n </div>\n </div>\n </div>\n <div>\n <div>\n <a>\n </a>\n <a>\n </a>\n <a>\n </a>\n </div>\n <div>\n <a>\n </a>\n <p>\n ©剑桥大学出版社与评估2024\n </p>\n </div>\n </div>\n </div>\n </footer>\n <amp-sidebar>\n <div>\n <div>\n <div>\n <div>\n <a>\n </a>\n </div>\n <div>\n <div>\n <div>\n <div>\n <div>\n <ul>\n <li>\n <a>\n 剑桥词典+Plus\n </a>\n </li>\n <li>\n <a>\n 我的主页\n </a>\n </li>\n <li>\n <a>\n +Plus 帮助\n </a>\n </li>\n <li>\n 退出\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div>\n <nav>\n <div>\n <a>\n </a>\n </div>\n <div>\n 词典\n <div>\n <div>\n 定义\n <div>\n <div>\n <div>\n 清晰解释自然的书面和口头英语\n </div>\n <div>\n <a>\n 英语\n </a>\n </div>\n <div>\n <a>\n 学习词典\n </a>\n </div>\n <div>\n <a>\n 基础英式英语\n </a>\n </div>\n <div>\n <a>\n 基础美式英语\n </a>\n </div>\n </div>\n </div>\n </div>\n <div>\n 翻译\n <div>\n <div>\n <div>\n 点击箭头改变翻译方向。\n </div>\n <div>\n 双语词典\n </div>\n <div>\n <a>\n 英语-中文(简体)\n </a>\n <a>\n Chinese (Simplified)–English\n </a>\n </div>\n <div>\n <a>\n 英语-中文(繁体)\n </a>\n <a>\n Chinese (Traditional)–English\n </a>\n </div>\n <div>\n <a>\n 英语-荷兰语\n </a>\n <a>\n 荷兰语-英语\n </a>\n </div>\n <div>\n <a>\n 英语-法语\n </a>\n <a>\n 法语-英语\n </a>\n </div>\n <div>\n <a>\n 英语-德语\n </a>\n <a>\n 德语-英语\n </a>\n </div>\n <div>\n <a>\n 英语-印尼语\n </a>\n <a>\n 印尼语-英语\n </a>\n </div>\n <div>\n <a>\n 英语-意大利语\n </a>\n <a>\n 意大利语-英语\n </a>\n </div>\n <div>\n <a>\n 英语-日语\n </a>\n <a>\n 日语-英语\n </a>\n </div>\n <div>\n <a>\n 英语-挪威语\n </a>\n <a>\n 挪威语-英语\n </a>\n </div>\n <div>\n <a>\n 英语-波兰语\n </a>\n <a>\n 波兰语-英语\n </a>\n </div>\n <div>\n <a>\n 英语-葡萄牙语\n </a>\n <a>\n 葡萄牙语-英语\n </a>\n </div>\n <div>\n <a>\n 英语-西班牙语\n </a>\n <a>\n 西班牙语-英语\n </a>\n </div>\n <div>\n <a>\n English–Swedish\n </a>\n <a>\n Swedish–English\n </a>\n </div>\n </div>\n <div>\n <div>\n 半双语词典\n </div>\n <div>\n <a>\n 英语-阿拉伯语\n </a>\n </div>\n <div>\n <a>\n 英语-孟加拉语\n </a>\n </div>\n <div>\n <a>\n 英语-加泰罗尼亚语\n </a>\n </div>\n <div>\n <a>\n 英语-捷克语\n </a>\n </div>\n <div>\n <a>\n 英语-丹麦语\n </a>\n </div>\n <div>\n <a>\n English–Gujarati\n </a>\n </div>\n <div>\n <a>\n 英语-印地语\n </a>\n </div>\n <div>\n <a>\n 英语-韩语\n </a>\n </div>\n <div>\n <a>\n 英语-马来语\n </a>\n </div>\n <div>\n <a>\n 英语-马拉地语\n </a>\n </div>\n <div>\n <a>\n 英语-俄语\n </a>\n </div>\n <div>\n <a>\n English–Tamil\n </a>\n </div>\n <div>\n <a>\n English–Telugu\n </a>\n </div>\n <div>\n <a>\n 英语-泰语\n </a>\n </div>\n <div>\n <a>\n 英语-土耳其语\n </a>\n </div>\n <div>\n <a>\n 英语-乌克兰语\n </a>\n </div>\n <div>\n <a>\n English–Urdu\n </a>\n </div>\n <div>\n <a>\n 英语-越南语\n </a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div>\n <a>\n 翻译\n </a>\n </div>\n <div>\n <a>\n 语法\n </a>\n </div>\n <div>\n <a>\n 同义词词典\n </a>\n </div>\n <div>\n <a>\n Pronunciation\n </a>\n </div>\n <div>\n <a>\n 剑桥词典+Plus\n </a>\n </div>\n <div>\n <a>\n Shop\n </a>\n </div>\n <div>\n <section>\n <div>\n <div>\n <ul>\n <li>\n <a>\n 剑桥词典+Plus\n </a>\n </li>\n <li>\n <a>\n 我的主页\n </a>\n </li>\n <li>\n <a>\n +Plus 帮助\n </a>\n </li>\n <li>\n 退出\n </li>\n </ul>\n </div>\n </div>\n </section>\n <section>\n 登录 /\n 注册\n </section>\n </div>\n </nav>\n <div>\n <div>\n 中文 (简体) \nChange\n <div>\n <div>\n <a>\n English (UK)\n </a>\n <a>\n English (US)\n </a>\n <a>\n Español\n </a>\n <a>\n Русский\n </a>\n <a>\n Português\n </a>\n <a>\n Deutsch\n </a>\n <a>\n Français\n </a>\n <a>\n Italiano\n </a>\n <a>\n 中文 (简体)\n </a>\n <a>\n 正體中文 (繁體)\n </a>\n <a>\n Polski\n </a>\n <a>\n 한국어\n </a>\n <a>\n Türkçe\n </a>\n <a>\n 日本語\n </a>\n <a>\n Tiếng Việt\n </a>\n <a>\n हिंदी\n </a>\n <a>\n தமிழ்\n </a>\n <a>\n తెలుగు\n </a>\n </div>\n </div>\n </div>\n </div>\n <div>\n <div>\n 关注我们\n <div>\n <div>\n <a>\n </a>\n </div>\n <div>\n <a>\n </a>\n </div>\n <div>\n <a>\n </a>\n </div>\n </div>\n </div>\n </div>\n </div>\n <button>\n Close the sidebar\n </button>\n </amp-sidebar>\n <amp-sidebar>\n <div>\n <div>\n <div>\n 选择一本词典\n </div>\n <ul>\n <li>\n 最近的词和建议\n <div>\n <div>\n <div>\n <div>\n 英语-中文(简体)\n \n 英语-中文(繁体)\n \n 英语\n \n 英语语法\n </div>\n </div>\n </div>\n </div>\n </li>\n <li>\n 定义\n <div>\n <div>\n 清晰解释自然的书面和口头英语\n </div>\n <div>\n 英语\n学习词典\n基础英式英语\n基础美式英语\n </div>\n </div>\n </li>\n <li>\n 语法与同义词词典\n <div>\n <div>\n 对自然书面和口头英语用法的解释\n </div>\n <div>\n 英语语法\n同义词词典\n </div>\n </div>\n </li>\n <li>\n Pronunciation\n <div>\n <div>\n British and American pronunciations with audio\n </div>\n <div>\n English Pronunciation\n </div>\n </div>\n </li>\n <li>\n 翻译\n <div>\n <div>\n 点击箭头改变翻译方向。\n </div>\n <div>\n 双语词典\n </div>\n <ul>\n <li>\n 英语-中文(简体)\nChinese (Simplified)–English\n </li>\n <li>\n 英语-中文(繁体)\nChinese (Traditional)–English\n </li>\n <li>\n 英语-荷兰语\n荷兰语-英语\n </li>\n <li>\n 英语-法语\n法语-英语\n </li>\n <li>\n 英语-德语\n德语-英语\n </li>\n <li>\n 英语-印尼语\n印尼语-英语\n </li>\n <li>\n 英语-意大利语\n意大利语-英语\n </li>\n <li>\n 英语-日语\n日语-英语\n </li>\n <li>\n 英语-挪威语\n挪威语-英语\n </li>\n <li>\n 英语-波兰语\n波兰语-英语\n </li>\n <li>\n 英语-葡萄牙语\n葡萄牙语-英语\n </li>\n <li>\n 英语-西班牙语\n西班牙语-英语\n </li>\n <li>\n English–Swedish\nSwedish–English\n </li>\n </ul>\n <div>\n 半双语词典\n </div>\n <div>\n 英语-阿拉伯语\n英语-孟加拉语\n英语-加泰罗尼亚语\n英语-捷克语\n英语-丹麦语\nEnglish–Gujarati\n英语-印地语\n英语-韩语\n英语-马来语\n英语-马拉地语\n英语-俄语\nEnglish–Tamil\nEnglish–Telugu\n英语-泰语\n英语-土耳其语\n英语-乌克兰语\nEnglish–Urdu\n英语-越南语\n </div>\n </div>\n </li>\n <li>\n 词典+Plus\n <div>\n <div>\n 词汇表\n </div>\n </div>\n </li>\n </ul>\n </div>\n </div>\n <button>\n Close the sidebar\n </button>\n </amp-sidebar>\n <amp-sidebar>\n <div>\n <nav>\n <div>\n 选择语言\n </div>\n <div>\n 中文 (简体)\n <div>\n <a>\n English (UK)\n </a>\n <a>\n English (US)\n </a>\n <a>\n Español\n </a>\n <a>\n Русский\n </a>\n <a>\n Português\n </a>\n <a>\n Deutsch\n </a>\n <a>\n Français\n </a>\n <a>\n Italiano\n </a>\n <a>\n 正體中文 (繁體)\n </a>\n <a>\n Polski\n </a>\n <a>\n 한국어\n </a>\n <a>\n Türkçe\n </a>\n <a>\n 日本語\n </a>\n <a>\n Tiếng Việt\n </a>\n <a>\n हिंदी\n </a>\n <a>\n தமிழ்\n </a>\n <a>\n తెలుగు\n </a>\n </div>\n </div>\n </nav>\n </div>\n <button>\n Close the sidebar\n </button>\n </amp-sidebar>\n <amp-sidebar>\n <div>\n <div>\n <div>\n 内容\n </div>\n <div>\n <ul>\n <li>\n <div>\n <a>\n 英语-中文(简体)\n </a>\n </div>\n <div>\n <div>\n <a>\n Noun\n </a>\n </div>\n </div>\n </li>\n <li>\n <a>\n 例句\n </a>\n </li>\n </ul>\n </div>\n <ul>\n <li>\n <a>\n Translations\n </a>\n </li>\n <li>\n <a>\n 语法\n </a>\n </li>\n <li>\n <a>\n 所有翻译\n </a>\n </li>\n </ul>\n </div>\n </div>\n <button>\n Close the sidebar\n </button>\n </amp-sidebar>\n <amp-sidebar>\n <div>\n <div>\n <div>\n <div>\n 我的词汇表\n </div>\n <p>\n To add panda to a word list please sign up or log in.\n </p>\n <div>\n 注册\n或者\n登录\n </div>\n </div>\n <div>\n <div>\n 我的词汇表\n </div>\n <p>\n 把panda添加到下面的一个词汇表中,或者创建一个新词汇表。\n </p>\n <div>\n <form>\n <div>\n <template>\n <div>\n {{#verifyErrors}}\n <p>\n {{message}}\n </p>\n {{/verifyErrors}}\n {{^verifyErrors}}\n {{#message}}\n <p>\n {{message}}\n </p>\n {{/message}}\n {{^message}}\n <p>\n 出了个小问题。\n </p>\n {{/message}}\n {{/verifyErrors}}\n </div>\n </template>\n </div>\n </form>\n </div>\n <amp-list>\n <template>\n <div>\n </div>\n </template>\n </amp-list>\n <div>\n <div>\n 更多词汇表\n </div>\n </div>\n <div>\n 前往\n <a>\n 词汇表\n </a>\n </div>\n <form>\n <div>\n <template>\n <div>\n {{#verifyErrors}}\n <p>\n {{message}}\n </p>\n {{/verifyErrors}}\n {{^verifyErrors}}\n {{#message}}\n <p>\n {{message}}\n </p>\n {{/message}}\n {{^message}}\n <p>\n 出了个小问题。\n </p>\n {{/message}}\n {{/verifyErrors}}\n </div>\n </template>\n </div>\n </form>\n </div>\n </div>\n </div>\n <button>\n Close the sidebar\n </button>\n </amp-sidebar>\n <amp-sidebar>\n <div>\n <div>\n <div>\n <div>\n 对该例句有想法吗?\n </div>\n <form>\n <div>\n <div>\n <label>\n 例句中的单词与输入词条不匹配。\n </label>\n </div>\n <div>\n <label>\n 该例句含有令人反感的内容。\n </label>\n </div>\n <div>\n <div>\n <button>\n 取消\n </button>\n <button>\n 提交\n </button>\n </div>\n </div>\n </div>\n <div>\n <template>\n <div>\n Thanks! Your feedback will be reviewed.\n </div>\n </template>\n </div>\n <div>\n <template>\n <div>\n {{#verifyErrors}}\n <p>\n {{message}}\n </p>\n {{/verifyErrors}}\n {{^verifyErrors}}\n {{#message}}\n <p>\n {{message}}\n </p>\n {{/message}}\n {{^message}}\n <p>\n 无法发送你的报告。\n </p>\n {{/message}}\n {{/verifyErrors}}\n </div>\n </template>\n </div>\n </form>\n <form>\n <div>\n <div>\n <label>\n 例句中的单词与输入词条不匹配。\n </label>\n </div>\n <div>\n <label>\n 该例句含有令人反感的内容。\n </label>\n </div>\n <div>\n <div>\n <button>\n 取消\n </button>\n <button>\n 提交\n </button>\n </div>\n </div>\n </div>\n <div>\n <template>\n <div>\n Thanks! Your feedback will be reviewed.\n </div>\n </template>\n </div>\n <div>\n <template>\n <div>\n {{#verifyErrors}}\n <p>\n {{message}}\n </p>\n {{/verifyErrors}}\n {{^verifyErrors}}\n {{#message}}\n <p>\n {{message}}\n </p>\n {{/message}}\n {{^message}}\n <p>\n 无法发送你的报告。\n </p>\n {{/message}}\n {{/verifyErrors}}\n </div>\n </template>\n </div>\n </form>\n </div>\n </div>\n </div>\n <button>\n Close the sidebar\n </button>\n </amp-sidebar>\n</body>\n"
}
]
},
"rankingResponse": {
"mainline": {
"items": [
{
"answerType": "WebPages",
"resultIndex": 0,
"value": {
"id": "https://api.bing.microsoft.com/api/v7/#WebPages.0"
}
},
{
"answerType": "WebPages",
"resultIndex": 1,
"value": {
"id": "https://api.bing.microsoft.com/api/v7/#WebPages.1"
}
},
{
"answerType": "WebPages",
"resultIndex": 2,
"value": {
"id": "https://api.bing.microsoft.com/api/v7/#WebPages.2"
}
}
]
}
}
}
MarketCode
Country/Region | Language | Market code |
---|---|---|
Argentina | Spanish | es-AR |
Australia | English | en-AU |
Austria | German | de-AT |
Belgium | Dutch | nl-BE |
Belgium | French | fr-BE |
Brazil | Portuguese | pt-BR |
Canada | English | en-CA |
Canada | French | fr-CA |
Chile | Spanish | es-CL |
Denmark | Danish | da-DK |
Finland | Finnish | fi-FI |
France | French | fr-FR |
Germany | German | de-DE |
Hong Kong SAR | Traditional Chinese | zh-HK |
India | English | en-IN |
Indonesia | English | en-ID |
Italy | Italian | it-IT |
Japan | Japanese | ja-JP |
Korea | Korean | ko-KR |
Malaysia | English | en-MY |
Mexico | Spanish | es-MX |
Netherlands | Dutch | nl-NL |
New Zealand | English | en-NZ |
Norway | Norwegian | no-NO |
People's republic of China | Chinese | zh-CN |
Poland | Polish | pl-PL |
Republic of the Philippines | English | en-PH |
Russia | Russian | ru-RU |
South Africa | English | en-ZA |
Spain | Spanish | es-ES |
Sweden | Swedish | sv-SE |
Switzerland | French | fr-CH |
Switzerland | German | de-CH |
Taiwan | Traditional Chinese | zh-TW |
Türkiye | Turkish | tr-TR |
United Kingdom | English | en-GB |
United States | English | en-US |
United States | Spanish | es-US |
Country/Region Code
Country/Region | Country/Region Code |
---|---|
Argentina | AR |
Australia | AU |
Austria | AT |
Belgium | BE |
Brazil | BR |
Canada | CA |
Chile | CL |
Denmark | DK |
Finland | FI |
France | FR |
Germany | DE |
Hong Kong SAR | HK |
India | IN |
Indonesia | ID |
Italy | IT |
Japan | JP |
Korea | KR |
Malaysia | MY |
Mexico | MX |
Netherlands | NL |
New Zealand | NZ |
Norway | NO |
People's Republic of China | CN |
Poland | PL |
Portugal | PT |
Republic of the Philippines | PH |
Russia | RU |
Saudi Arabia | SA |
South Africa | ZA |
Spain | ES |
Sweden | SE |
Switzerland | CH |
Taiwan | TW |
Türkiye | TR |
United Kingdom | GB |
United States | US |
Supported Languages
Supported Languages | Language Code |
---|---|
Arabic | ar |
Basque | eu |
Bengali | bn |
Bulgarian | bg |
Catalan | ca |
Chinese (Simplified) | zh-hans |
Chinese (Traditional) | zh-hant |
Croatian | hr |
Czech | cs |
Danish | da |
Dutch | nl |
English | en |
English-United Kingdom | en-gb |
Estonian | et |
Finnish | fi |
French | fr |
Galician | gl |
German | de |
Gujarati | gu |
Hebrew | he |
Hindi | hi |
Hungarian | hu |
Icelandic | is |
Italian | it |
Japanese | jp |
Kannada | kn |
Korean | ko |
Latvian | lv |
Lithuanian | lt |
Malay | ms |
Malayalam | ml |
Marathi | mr |
Norwegian (Bokmål) | nb |
Polish | pl |
Portuguese (Brazil) | pt-br |
Portuguese (Portugal) | pt-pt |
Punjabi | pa |
Romanian | ro |
Russian | ru |
Serbian (Cyrylic) | sr |
Slovak | sk |
Slovenian | sl |
Spanish | es |
Swedish | sv |
Tamil | ta |
Telugu | te |
Thai | th |
Turkish | tr |
Ukrainian | uk |
Vietnamese | vi |
Bing Advanced Operators
Symbol | Function |
---|---|
+ | Find web pages that contain all terms preceded by the "+" sign. Also allows inclusion of terms that are normally ignored. |
" " | Find the exact words in a phrase. |
() | Find or exclude web pages that contain a set of words. |
AND or & | Find web pages that contain all terms or phrases. |
NOT or – | Exclude web pages that contain the term or phrase |
OR or | | Find web pages that contain any of the terms or phrases. |
Notes:
-
By default, all searches are AND searches.
-
The NOT and OR operators must be capitalized. Otherwise, Bing will ignore them as stop words, which are common words and numbers omitted to speed up full-text searches.
-
Stop words and all punctuation marks not introduced in this topic are ignored unless enclosed in quotation marks or preceded by the "+" sign.
-
Only the first 10 terms are used to get search results.
-
The following preferred order supports grouping terms and Boolean operators:
-
Since OR is the operator with the lowest priority, enclose OR words in parentheses when combined with other operators in the search.
-
Some features and functionalities covered here may not be available in your country/region.
-
()
-
""
-
NOT – +
-
AND &
-
OR |
Azure SDK Example
- Install Dependencies
python -m pip install azure-cognitiveservices-search-websearch
- Initialize Client and Use
Note: Pay attention to change the authentication method and endpoint
# Import required modules.
from azure.cognitiveservices.search.websearch import WebSearchClient
from azure.cognitiveservices.search.websearch.models import SafeSearch
from msrest.authentication import BasicTokenAuthentication
# Replace with your subscription key.
subscription_key = "xxx"
endpoint = "https://genaiapi.cloudsway.net/{endpointPath}"
# Instantiate the client and replace with your endpoint.
auth = BasicTokenAuthentication({'access_token': subscription_key})
client = WebSearchClient(endpoint=endpoint, credentials=auth)
# Make a request. Replace Yosemite if you'd like.
web_data = client.web.search(query="pandas")
print("result:{}", web_data)
Azure SDK Compatibility Example
Using Azure Java SDK as an example
- Add Azure Bing Search SDK dependency to pom
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure</artifactId>
<version>1.9.0</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.3</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure.cognitiveservices</groupId>
<artifactId>azure-cognitiveservices-websearch</artifactId>
<version>1.0.1</version>
</dependency>
- Initialize Client and Call
Note that the authentication method needs to be changed
package com.example.demo.service;
import java.io.IOException;
import com.microsoft.azure.cognitiveservices.search.websearch.BingWebSearchAPI;
import com.microsoft.azure.cognitiveservices.search.websearch.BingWebSearchManager;
import com.microsoft.azure.cognitiveservices.search.websearch.models.SearchResponse;
import com.microsoft.rest.credentials.ServiceClientCredentials;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient.Builder;
import okhttp3.Request;
import okhttp3.Response;
public class BingSearchService {
public static final String KEY = "Bearer {ak}";
public static final String BASE_URL = "https://genaiapi.cloudsway.net/{endpointPath}/bing/v7.0/";
public void bingSearch() {
ServiceClientCredentials serviceClientCredentials = new ServiceClientCredentials() {
@Override
public void applyCredentialsFilter(Builder builder) {
builder.addNetworkInterceptor(new Interceptor() {
@Override
public Response intercept(Chain chain) throws IOException {
Request request = null;
Request original = chain.request();
Request.Builder requestBuilder = original.newBuilder().addHeader("Authorization", KEY);
request = requestBuilder.build();
return chain.proceed(request);
}
});
}
};
BingWebSearchAPI client = BingWebSearchManager.authenticate(BASE_URL, serviceClientCredentials);
SearchResponse webData = client.bingWebs().search()
.withQuery("panda")
.execute();
}
}