← Tools Reference

Mediastack

Mediastack integration (Data, Social). Imported from open-connector.

API key2 toolshttps://api.mediastack.com/v1
GET
mediastack_search_news_sources
Search Mediastack news sources with language, country, category, and pagination filters.

/sources

6 parameters
ParamTypeRequiredDescription
searchstringrequiredSearch text used to match source names or descriptions.
countriesstringoptionalComma-separated country codes used to filter the returned sources.
languagesstringoptionalComma-separated language codes used to filter the returned sources.
categoriesstringoptionalComma-separated categories used to filter the returned sources.
limitintegeroptionalMaximum number of sources to return.
offsetintegeroptionalNumber of leading sources to skip.
GET
mediastack_search_live_news
Search live Mediastack news articles with optional keyword, source, location, and sorting filters.

/news

8 parameters
ParamTypeRequiredDescription
keywordsstringoptionalKeywords used to filter returned news articles by title or description.
sourcesstringoptionalComma-separated source identifiers used to filter returned articles.
countriesstringoptionalComma-separated country codes used to filter returned articles.
languagesstringoptionalComma-separated language codes used to filter returned articles.
categoriesstringoptionalComma-separated categories used to filter returned articles.
sortstringoptionalSort order used by the live news request.
limitintegeroptionalMaximum number of articles to return.
offsetintegeroptionalNumber of leading articles to skip.