NewsAPI
Data API keySearch news headlines and articles with NewsAPI from any Windmill script, flow or app.
Set up in 3 steps
1
Get your credential
At newsapi.org, register and copy the API key from your account page.
2
Add the resource in Windmill
Open Resources, add a resource of type newsapi, and fill it in.
3
Run your first script
Fork any script below and read before writing anything.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Resource type
newsapi — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| apiKey | string | Yes |
Questions
Results are delayed or refused
NewsAPI's free plan is development-only: it serves delayed articles and refuses requests from production hosts. A paid plan is needed for a scheduled flow.
Is my credential stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.