Articles already read
The text of each article arrives with its headline.
The news API takes a query and returns recent articles, newest first, each with its outlet and publish time. Ask for the articles too and each one comes back read as clean markdown. A search costs 1 credit, plus 1 credit for each article read, and a search that finds nothing costs nothing.
5 outlets
{
"query": "PostgreSQL release",
"status": "ok",
"results": [
{
"title": "PostgreSQL 19.0: What the new database relea",
"source": "heise online",
"publishedAt": "2026-11-20"
},
{
"title": "EDB Announces General Availability of Postgr",
"source": "Yahoo Finance",
"publishedAt": "2026-11-19"
}
]
}5 outlets
{
"query": "electric vehicle battery plant",
"status": "ok",
"results": [
{
"title": "Yet Another Battery Industry Plant Forced to",
"source": "Hungary Today",
"publishedAt": "2026-11-27"
},
{
"title": "Global Lithium-Ion Battery Market Set for St",
"source": "PR Newswire",
"publishedAt": "2026-11-26"
}
]
}01Options
curl https://api.hydrafetch.com/v1/web/news \
-H "X-API-Key: $HYDRAFETCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "PostgreSQL release",
"timeRange": "month",
"limit": 5
}'{
"data": {
"query": "PostgreSQL release",
"status": "ok",
"results": [
{
"title": "Why PostgreSQL 19 shipped late",
"url": "https://www.databricks.com/blog/why-postgresql-19-shipped-late",
"source": "databricks.com",
"publishedAt": "2026-11-18T16:01:00.000Z",
"snippet": "PostgreSQL 19 shipped about a month after…"
}
]
}
}02Handled
The text of each article arrives with its headline.
Pick the window that fits what you are tracking.
Keep a search to the publications you name.
A search with no articles in the window is free.
03Connect
For agents
One MCP server. Every endpoint is a tool.
Add Hydrafetch from your terminal.
claude mcp add --scope user --transport http hydrafetch https://api.hydrafetch.com/mcpStart Claude Code, run /mcp, choose hydrafetch and then Authenticate. Your browser opens: sign in, pick a workspace and approve.
Open Hydrafetch in Claude's connector directory and choose Connect.
Open in ClaudeSign in to Hydrafetch and approve in the window that opens.
Open Hydrafetch in ChatGPT's apps and choose Connect.
Open in ChatGPTSign in to Hydrafetch and approve.
Add Hydrafetch to ~/.cursor/mcp.json. Create the file if it does not exist.
{
"mcpServers": {
"hydrafetch": { "url": "https://api.hydrafetch.com/mcp" }
}
}Open Cursor Settings, then MCP. Hydrafetch asks you to sign in: choose Connect and approve in your browser.
Add Hydrafetch to .vscode/mcp.json in your workspace.
{
"servers": {
"hydrafetch": { "type": "http", "url": "https://api.hydrafetch.com/mcp" }
}
}Choose Start above the server in that file, then sign in and approve when VS Code asks.
Add Hydrafetch from your terminal.
codex mcp add hydrafetch --url https://api.hydrafetch.com/mcpStart Codex. The first time it uses Hydrafetch, your browser opens to sign in.
Add Hydrafetch from your terminal.
gemini mcp add hydrafetch --url https://api.hydrafetch.com/mcp --scope userStart Gemini CLI. The first time it uses Hydrafetch, your browser opens to sign in.
Open the MCP Servers panel and choose Configure to open the settings file.
Add Hydrafetch to it. Replace hf_your_key with a key from the API keys page.
{
"mcpServers": {
"hydrafetch": {
"type": "streamableHttp",
"url": "https://api.hydrafetch.com/mcp",
"headers": { "Authorization": "Bearer hf_your_key" },
"disabled": false,
"autoApprove": []
}
}
}Add Hydrafetch to your global OpenCode config.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"hydrafetch": { "type": "remote", "url": "https://api.hydrafetch.com/mcp", "enabled": true }
}
}Start OpenCode. It sees that Hydrafetch needs a sign-in and opens your browser.
For your code
An official client in 6 languages, or plain HTTP.
curl https://api.hydrafetch.com/v1/web/news \
-H "X-API-Key: $HYDRAFETCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "PostgreSQL release", "timeRange": "month"}'import { Hydrafetch } from "@hydrafetch/node-sdk";
const hf = new Hydrafetch(process.env.HYDRAFETCH_API_KEY);
const { results } = await hf.news("PostgreSQL release", {
timeRange: "month",
});
for (const article of results) console.log(article.source, article.title);from hydrafetch import Hydrafetch
hf = Hydrafetch()
res = hf.news("PostgreSQL release", timeRange="month")
for article in res["results"]:
print(article["source"], article["title"])Working in a coding agent? Hand it this.
04Price
05Questions
Recent articles for a query, newest first. Each has a title, a URL, the outlet, the publish time and a snippet, and the full text as markdown when you set scrapeResults.
1 credit a search, plus 1 credit for each article read. A search that finds no articles in the window costs nothing.
Set timeRange to the last hour, day, week or month. Results are ordered by publish time, newest first.
Yes. Run the same search on a schedule and keep the URLs you have seen, or create a monitor on the search and be told when new articles appear.
Yes. includeDomains keeps only the outlets you name, excludeDomains drops them, and country leans results toward one edition.