NewsAPI integration
News API is a simple HTTP REST API for searching and retrieving live articles…
- Provider
- news_api
- Category
- Other
- Setup
- User-supplied API key
- Actions
- 4 available
Quick start
Call NewsAPI from your generated app's worker code via the OverSkill composio client. The toolkit slug below maps to NewsAPI's public Composio identifier — your app references it by name and OverSkill handles the OAuth round-trip.
// In your generated app's worker handler:
const composio = composioClient(env);
const result = await composio.execute(
"NEWS_API_ACTION_NAME",
{ /* action parameters — see Actions section below */ }
);
return new Response(JSON.stringify(result), {
headers: { "Content-Type": "application/json" }
});
Replace ACTION_NAME with one of the slugs listed in
the Actions section below. The composio client handles auth +
rate limits automatically — no API key is exposed to user code.
Setup
End-users supply their own NewsAPI API key. OverSkill provides a pre-built connection form via the integration card — your app can call the composio client immediately once the user has connected.
Available actions
4 actions exposed via the
NewsAPI integration. Each maps to a callable
slug — pass it to composio.execute(...) in your
worker code.
-
NEWS_API_GET_EVERYTHING -
NEWS_API_GET_SOURCES -
NEWS_API_GET_TOP_HEADLINES -
NEWS_API_GET_V1_ARTICLES
Build with NewsAPI
Open OverSkill, describe what you want to build, and reference NewsAPI in your prompt — the AI will wire up the integration automatically.