For Agents
Search worldwide news articles or fetch top headlines from GNews with filters for language, country, date range, and topic.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the GNews API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with GNews API.
Fetch top headlines worldwide or filtered by country and language for a daily briefing
Search the full GNews article corpus by keyword with quote and boolean syntax
Filter results by topic (business, technology, sports, etc.) for vertical-specific feeds
Constrain a search to a date range using the from and to parameters for back-fills
GET STARTED
Use for: I need to get the top tech headlines today, Search GNews for articles about a specific company name, Find all news in French published this week, Get the latest business headlines for the United Kingdom
Not supported: Does not return full article bodies, social posts, or proprietary newswire feeds - use for top-headline ranking and keyword search across publicly indexed news articles only.
GNews exposes a worldwide news feed through two REST endpoints: top headlines ranked the way Google News ranks them, and a full-text search across the same article corpus with rich filtering. Both endpoints support filtering by language, country, publication date range, and topic, and return article metadata including title, description, content snippet, source, and a publication URL. Authentication is a single API key passed as a query parameter, which keeps GNews well suited to scripts and AI agents that need a low-friction news source.
Limit results to a single language or country code to localise news ingestion
Read the article URL, source, and publication time for citation-grade summaries
Patterns agents use GNews API for, with concrete tasks.
★ Daily Press Brief Generator
Comms teams can build a daily press brief by calling GET /top-headlines with their country and language plus a topic of choice, then formatting the title, description, and source into a digest email. Filtering by date range narrows the result to the last 24 hours so the brief stays fresh. End-to-end integration is a matter of an hour or two.
GET /top-headlines with country=gb, lang=en, topic=technology, max=10 and format the response into an HTML newsletter section.
Brand Mention Monitor
Marketing teams that want to track when their brand or competitors are mentioned in the press can poll GET /search with a quoted brand name and a 24-hour from window. Combining the search keyword with country and language filters narrows the volume, and storing seen URLs avoids duplicate alerts. Setup is typically half a day including a simple deduplication store.
GET /search with q="Acme Corp", from=now-24h, lang=en, then post each new URL to a Slack channel after deduplication.
AI Research Assistant Citations
An AI research assistant routed through Jentic can ground its answers in real news articles by querying /search before responding, then citing source URLs and dates. Because GNews is exactly two endpoints, the agent only needs one Jentic search to wire it in, and the API key handling is handled by the Jentic vault.
Search Jentic for 'search news articles', load the schema for GET /search, and execute with the user's query plus lang=en, then return the top 5 articles with source and URL.
2 endpoints — gnews exposes a worldwide news feed through two rest endpoints: top headlines ranked the way google news ranks them, and a full-text search across the same article corpus with rich filtering.
METHOD
PATH
DESCRIPTION
/top-headlines
Get top headlines, optionally filtered by topic, country, language and date
/search
Search articles by keyword with the same set of filters
/top-headlines
Get top headlines, optionally filtered by topic, country, language and date
/search
Search articles by keyword with the same set of filters
Three things that make agents converge on Jentic-routed access.
Credential isolation
The GNews API key is stored encrypted in the Jentic vault. Agents receive a scoped credential reference and Jentic injects ?apikey= at execution time, so the raw key never enters the agent's prompt context.
Intent-based discovery
Agents search Jentic by intent ('search news articles', 'get top headlines') and Jentic returns the right GNews endpoint with its query parameter schema, so the agent does not need to remember which endpoint takes q vs topic.
Time to first call
Direct GNews integration: an hour for query-string auth, filter handling, and rate-limit backoff. Through Jentic: under 30 minutes - search, load, execute.
Alternatives and complements available in the Jentic catalogue.
Specific to using GNews API through Jentic.
What authentication does the GNews API use?
GNews uses a query-string API key. Pass apikey={YOUR_KEY} on every request to /top-headlines and /search. Through Jentic the key is held in the vault and injected at execution time, so the raw key never appears in the agent's context.
Can I filter GNews articles by date and country?
Yes. Both /top-headlines and /search accept country (ISO country code), lang (ISO language code), from and to (date range), plus topic on /top-headlines and q on /search. Combining filters returns a tightly scoped result list.
What are the rate limits for the GNews API?
GNews enforces per-plan request quotas (free, basic, business). Specific per-second limits depend on the plan you hold; treat HTTP 429 responses as a back-off signal and cache headline pulls when possible to avoid burning quota.
How do I search news articles through Jentic?
Search Jentic for 'search news articles', load the schema for GET /search, and execute with q=your keyword, lang=en, from=ISO timestamp. Run pip install jentic first to install the SDK.
Does GNews return the full article body?
GNews returns the title, description, content snippet, source, and URL for each article rather than full article bodies, since publishers retain full text. Follow the URL when the agent needs the full piece.
Is the GNews API free?
GNews offers a free developer tier with limited quota and paid plans for higher volume and more filters. Sign up at gnews.io to receive an API key and see the plan attached to your account.