Mediastack (Independent Publisher) (Preview)

Feed the latest and most popular news articles into your application or website, fully automated & updated every minute.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Fördős András
Email fordosa90+ipc_mstack@gmail.com
Connector Metadata
Publisher Fördős András
Website https://mediastack.com/
Privacy policy https://www.ideracorp.com/Legal/PrivacyPolicy
Categories Lifestyle and Entertainment

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring The API key for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

List news

The full set of available real-time news articles can be accessed and filtered down with additional parameters.

List sources

Using the sources endpoint together with a series of search and filter parameters you will be able to search all news sources supported by the mediastack API.

List news

The full set of available real-time news articles can be accessed and filtered down with additional parameters.

Parameters

Name Key Required Type Description
Sources
sources string

Use this parameter to include or exclude one or multiple comma-separated news sources. Example: To include CNN, but exclude BBC: 'cnn,-bbc'.

Categories
categories string

Use this parameter to include or exclude one or multiple comma-separated news categories. Example: To include business, but exclude sports: 'business,-sports'.

Countries
countries string

Use this parameter to include or exclude one or multiple comma-separated countries. Example: To include Australia, but exclude the US: 'au,-us'.

Languages
languages string

Use this parameter to include or exclude one or multiple comma-separated languages. Example: To include English, but exclude German: 'en,-de'.

Keywords
keywords string

Use this parameter to search for sentences, you can also exclude words that you do not want to appear in your search results. Example: To search for "New movies 2021" but exclude "Matrix": 'new movies 2021 -matrix'.

Date
date string

Use this parameter to specify a date or date range in YYYY-MM-DD format. Example: '2020-01-01,2020-01-31'.

Sort
sort string

Use this parameter to specify a sorting order.

Limit
limit integer

Use this parameter to specify a pagination limit (number of results per page), maximum allowed is 100.

Offset
offset integer

Use this parameter to specify a pagination offset value, combined with the 'limit' parameter.

Returns

Name Path Type Description
Limit
pagination.limit integer

Returns your pagination limit value.

Offset
pagination.offset integer

Returns your pagination offset value.

Count
pagination.count integer

Returns the results count on the current page.

Total
pagination.total integer

Returns the total count of results available.

Data
data array of object

Array of requested data.

Author
data.author string

Returns the name of the author of the given news article.

Title
data.title string

Returns the title text of the given news article.

Description
data.description string

Returns the description text of the given news article.

URL
data.url string

Returns the URL leading to the given news article.

Source
data.source string

Returns the source the given news article was published at.

Image
data.image string

Returns an image URL associated with the given news article.

Category
data.category string

Returns the category associated with the given news article.

Language
data.language string

Returns the language the given news article is in.

Country
data.country string

Returns the country code associated with the given news article.

Published at
data.published_at string

Returns the exact time stamp the given news article was published.

List sources

Using the sources endpoint together with a series of search and filter parameters you will be able to search all news sources supported by the mediastack API.

Parameters

Name Key Required Type Description
Search
search True string

Use this parameter to specify one or multiple search keywords.

Countries
countries string

Use this parameter to include or exclude one or multiple comma-separated countries.

Languages
languages string

Use this parameter to include or exclude one or multiple comma-separated languages.

Categories
categories string

Use this parameter to include or exclude one or multiple comma-separated news categories.

Limit
limit integer

Use this parameter to specify a pagination limit (number of results per page), maximum 100.

Offset
offset integer

Use this parameter to specify a pagination offset value.

Returns

Name Path Type Description
Limit
pagination.limit integer

Returns your pagination limit value.

Offset
pagination.offset integer

Returns your pagination offset value.

Count
pagination.count integer

Returns the results count on the current page.

Total
pagination.total integer

Returns the total count of results available.

Data
data array of object

Array of requested data.

ID
data.id string

Returns the source ID of the given news source. This is also the ID you need to pass to the when requesting live or historical news data.

Name
data.name string

Returns the name of the given news source.

Category
data.category string

Returns the category associated with the given news source.

Country
data.country string

Returns the country associated with the given news source.

Language
data.language string

Returns the language associated with the given news source.

URL
data.url string

Returns a URL leading to the given news source.