Skip to content

Migrating from Mediastack ​

Replace /v1/news with /v1/news/everything. Convert offset to page-based pagination and check search scope: APITube searches headlines.

Why teams switch ​

MediastackAPITube
Article textdescription only — an excerpt. No full-text field on any planFull body and body_html
Free tier100 calls per month (~3/day), delayed data, no historical access, no commercial useHigher limits, no commercial restriction
Article detailsNone — no sentiment, no entities, no topics, no source rankingSentiment, entities with Wikidata IDs, IPTC categories, publisher authority and bias
Article identityNo article ID in the responseStable integer id plus a lookup endpoint
Results per request100250

Your first request ​

bash
# Mediastack
curl "http://api.mediastack.com/v1/news?access_key=YOUR_KEY&keywords=tesla&languages=en&countries=us&limit=100"
bash
# APITube
curl "https://api.apitube.io/v1/news/everything?title=tesla&language.code=en&source.country.code=us&per_page=100" \
  -H "X-API-Key: YOUR_API_KEY"

Mediastack's free tier uses HTTP. APITube uses HTTPS for all requests.

Parameter mapping ​

MediastackAPITubeNote
keywordstitleHeadlines only — see below
languageslanguage.codeMax 3 values
countriessource.country.codeMax 3 values
categoriescategory.idTheir 7 categories become IPTC codes
sourcessource.domainMax 3, exact domain
datepublished_at.start / .endA range becomes two parameters
sort=published_descsort.by=published_at&sort.order=desc
sort=popularitysort.by=source.rank.oprApproximate — publisher authority
limitper_page250 max; 10 on Free, 50 on Starter, 200 on Basic
offsetoffsetWorks directly
access_keyapi_key or X-API-Key header

Mediastack's negation syntax (-cnn inside sources) becomes ignore.source.domain. The full table is in the migration kit.

What does not carry over ​

Search scope. keywords covers the title and description; title= covers headlines only.

date as a range string. Mediastack accepts 2026-07-01,2026-07-27 in one parameter. Split it into published_at.start and published_at.end.

Response fields. Update your response handling for the additional fields returned by APITube.

What you gain ​

APITube responses include full article text, entities with Wikidata links, sentiment, categories, topics, industries, publisher details, readability, share counts and article IDs. You can export results in eight formats.

Next steps ​