6. NewsAPI Top Headlines

Fetch top headlines by category via safe C# server-side proxy (key stored in Services/FreeApiSecretStore.cs).

No API key is exposed in JavaScript. Configure your NewsAPI key in Services/FreeApiSecretStore.cs, appsettings (ApiKeys:NewsApiKey), or NEWSAPI_KEY.

Fetching news via C# proxy...
{{error}}
No headlines found.
{{a.title}}

{{a.description}}

Source: {{a.source.name}}
next