How to connect APITube to n8n
Fetch articles with an HTTP Request node and a saved key
Written by Jacob Partington
July 4, 2026
Updated October 16, 2026
How to connect APITube to n8n
In n8n, save your API key as a Header Auth credential, then use an HTTP Request node to call /v1/news/everything. Add a Schedule Trigger for regular updates and a Split Out node to process articles individually.
How do you set up the APITube credential in n8n?
- Open Credentials → Add credential and choose Header Auth.
- Set Name to
X-API-Key. - Set Value to your APITube key.
- Save the credential as
APITube API.
This keeps the key out of the request URL. See where to find your key and authentication methods.
How do you configure the HTTP Request node?
Set Authentication to Generic Credential Type, choose Header Auth and select your saved credential. Use GET with the news endpoint, turn on Send Query Parameters, and add your filters as name/value rows.
This example configures a search:
{
"url": "https://api.apitube.io/v1/news/everything",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendQuery": true,
"queryParameters": {
"parameters": [
{ "name": "title", "value": "artificial intelligence" },
{ "name": "language.code", "value": "en" },
{ "name": "source.domain", "value": "bbc.com" },
{ "name": "published_at.start", "value": "={{ $now.minus(15, 'minutes').toISO() }}" },
{ "name": "per_page", "value": "50" },
{ "name": "sort.by", "value": "published_at" },
{ "name": "sort.order", "value": "desc" }
]
}
}
title searches headlines, language.code selects a language, source.domain selects a publisher, and published_at.start sets the earliest publication time. sort.by=published_at with sort.order=desc puts newest dates first. See how to combine filters.
How do you loop over the returned articles?
Add Split Out after the HTTP Request. Set Field To Split Out to results. Each article becomes one item for later nodes.
Use title for the headline, href for the link, source.domain for the publisher and published_at for the date. sentiment.overall.score is the overall sentiment score.
Use {{ $json.href }} for the link and {{ $json.source.domain }} for the source. The response does not use url or source.name for these fields.
What can you build once the connection works?
- News monitoring: schedule a search, split articles, filter by sentiment and add matching rows to Google Sheets.
- Team alerts: send each article’s title, source and link to Slack or Telegram.
- Daily digest: fetch top headlines, summarize the list with an AI node and email the result.
Common Questions
- Does APITube have an official n8n node?
- How do I avoid fetching the same article twice?
- How often can n8n poll the API?
- Can I pull more than 250 articles per run?
Does APITube have an official n8n node?
This guide uses the built-in HTTP Request node, so no dedicated APITube node is needed. It uses the same requests as any other HTTP client.
How do I avoid fetching the same article twice?
Use an overlapping date window, then skip saved article IDs. The example’s ={{ $now.minus(15, 'minutes').toISO() }} means the last 15 minutes; choose a window wider than your schedule interval to help catch late articles.
Use Remove Duplicates with id, or store processed IDs across runs. If you use links as your saved identifier, the article link field is href.
How often can n8n poll the API?
Live limits are 10 requests/minute on Free, 50 on Starter, Basic and Professional, or 200 on Corporate. Test keys allow 15. Account keys share their mode’s allowance, so include other apps in your traffic estimate. See rate limits.
Can I pull more than 250 articles per run?
Yes, with multiple requests. Use page or follow next_page until has_next_pages is false. Per-page maximums are 250 on Professional and Corporate, 200 on Basic, 50 on Starter or 10 on Free.
On paid plans, export=csv or export=xlsx returns a file instead of JSON if you need a download.