Skip to content

Migrating from Mediastack ​

Replace /v1/news with /v1/news/everything. Mediastack's parameter set is small, so the mapping is short. The two changes that matter are that offset pagination becomes page-based and that search covers 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
EnrichmentNone — 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"

Note the scheme: Mediastack's free tier is HTTP-only. APITube is HTTPS everywhere.

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.

Nothing else, really. Mediastack's parameter set is small enough that the migration is mostly mechanical — the work is on the response side, where you gain fields rather than lose them.

What you gain ​

This is the largest jump of any migration in this section. Every article gains: full body text, named entities with Wikidata links, sentiment on title/body/overall, IPTC categories plus topic and industry axes, publisher political bias and authority rank, readability scores, share counts, a stable article ID, and export to eight formats.

Next steps ​