News API data for RAG and LLM apps
Retrieve current news data for an internal RAG or agent workflow without dropping the source URL, published time, or filters that made each result worth using. Currents does not provide embeddings, vector storage, prompts, or generation.
1. Search the topic
Use Search API when a prompt or workflow starts with a topic, source, market, or date window.
2. Keep source context
Keep titles, descriptions, source names, URLs, languages, categories, and publication times with the retrieved item.
3. Plan freshness
Use Latest News for recurring feeds, and check plan quota before raising polling frequency.
Choose Search or Latest News
RAG systems usually need both retrieval modes. Search is best when a question needs topic context. Latest News is better when your application refreshes a known feed.
- Search API: query by keyword, topic, source, domain, country, language, category, and date range.
- Latest News API: refresh a feed by country, language, category, source domain, or author.
- Source links: keep the publisher URL and published time with every item your pipeline uses.
First request
Search for news context
curl "https://api.currentsapi.services/v1/search?keywords=semiconductor%20supply&language=en&page_size=5&apiKey=YOUR_API_KEY"
Replace YOUR_API_KEY, inspect the JSON, then decide which fields your retrieval layer should keep.
Build the RAG workflow
| Step | What your system does | Currents path |
|---|---|---|
| Get a key | Create an account, copy the API key, and keep the key server-side. | API key setup |
| Retrieve | Run Search API for the topic, or Latest News for a feed you refresh on a schedule. | Search docs |
| Select fields | Send selected article fields, source URLs, source names, timestamps, and filter metadata into your internal pipeline. | Examples |
| Answer with citations | Keep the article URL, source, and published time attached to internal outputs. Do not let citations disappear after retrieval. | RAG use case |
| Scale carefully | Estimate topic count, refresh frequency, result size, and history needs before choosing a paid plan. | Pricing |
Freshness windows
For prompt-time retrieval, query Search with a date window. For scheduled refreshes, run Latest News and store only the fields your workflow needs.
Usage boundary
Currents provides news data and source links for API workflows. Your system handles embeddings, vector storage, prompts, and generation. For model training, long retention, public outputs, redistribution, or OEM-style products, review the plan terms before shipping.