共用方式為


Bing Search (Preview)

Microsoft Cognitive Services Bing Search API allows you to search content across the web.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Standard All Power Automate regions except the following:
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Standard All Power Apps regions except the following:
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Microsoft
URL Microsoft LogicApps Support
Microsoft Power Automate Support
Microsoft Power Apps Support
Connector Metadata
Publisher Microsoft
Website https://www.bing.com

Connector in-depth

For more information about the connector, see the in-depth section.

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Shareable

Default

Applicable: All regions

Parameters for creating connection.

This is shareable connection. If the power app is shared with another user, connection is shared as well. For more information, please see the Connectors overview for canvas apps - Power Apps | Microsoft Docs

Name Type Description Required
API Key securestring API Key True
API Endpoint string API Endpoint

Throttling Limits

Name Calls Renewal Period
API calls per connection 1200 60 seconds
Frequency of trigger polls 1 900 seconds

Actions

List news by query

Returns a list of news articles for a given query.

List news by query

Returns a list of news articles for a given query.

Parameters

Name Key Required Type Description
Search Query
q True string

The search query string.

Market
mkt string

The market where the results come from. Typically, this is the country where the user is making the request from; however, it could be a different country if the user is not located in a country where Bing delivers results. The market must be in the form -. For example, en-US.

Safe Search
safeSearch string

A filter used to filter results for adult content.

Count
count string

The number of search results to return in the response. The actual number delivered may be less than requested.

Offset
offset string

The zero-based offset that indicates the number of search results to skip before returning results.

Returns

Triggers

On new news article

Triggers when a news article matches the given query.

On new news article

Triggers when a news article matches the given query.

Parameters

Name Key Required Type Description
Search Query
q True string

The search query string.

Market
mkt string

The market where the results come from. Typically, this is the country where the user is making the request from; however, it could be a different country if the user is not located in a country where Bing delivers results. The market must be in the form -. For example, en-US.

Safe Search
safeSearch string

A filter used to filter results for adult content.

Count
count string

The number of search results to return in the response. The actual number delivered may be less than requested.

Offset
offset string

The zero-based offset that indicates the number of search results to skip before returning results.

Returns

Definitions

BingNewsBatch

Name Path Type Description
Items
NewsArticle

NewsArticle

Name Path Type Description
Name
name string

The name of the news article.

URL
url string

The URL to the news article.

Description
description string

A short description of the news article.

Date Published
datePublished date-time

The datetime the article was published.

Category
category string

The category of the news article, such as ScienceAndTechnology.