Migrating to APITube
Use these guides to move your requests to APITube. Each guide maps parameters, explains differences in search and responses, and links to a compatibility library for keeping your existing response-handling code.
The guides note unsupported features and link to migration kits with parameter mappings.
Pick your API
What every migration has in common
Check these differences before converting requests. They apply across the migration guides.
1. Search covers headlines, not article bodies
Most news APIs search the title and the body text by default. APITube's title= searches headlines only.
# Other APIs: matches "Tesla" anywhere in the article
q=Tesla
# APITube: matches "Tesla" in the headline
title=TeslaIf your previous API searched article bodies, a headline-only search may return fewer results.
Use entity filters when you want news about a person, company or place:
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.apitube.io/v1/news/everything?organization.name=Tesla"Entity filters match subjects mentioned in article text. See Parameters for person.name, location.name, entity.id and other options.
2. Comma-separated filters apply at most three values
language.code=en,de,fr,it # Italian is ignored — no errorThe fourth value onwards is dropped silently. Two ways around it:
# The boolean query language has no value-count limit
query=language.code:(en OR de OR fr OR it OR es)
# Or split into requests of three and deduplicate on the article id3. Unknown parameters are ignored, not rejected
Unknown parameters are ignored even when the request returns 200 ok. Check names before forwarding parameters from another API:
# Both return the entire index with HTTP 200
curl "…/v1/news/count?q=tesla&api_key=KEY"
curl "…/v1/news/count?country=us&api_key=KEY"The compatibility libraries warn about parameters they leave out. If you convert requests by hand, check names against Parameters.
4. Wildcards are not supported, and they fail quietly
title=technology # 75,574 articles ✅
title=technolog* # the entire index ❌ HTTP 200, filter droppedExpand prefix searches into an explicit OR list:
query=title:(technology OR technological OR technologies)The boolean form at least errors properly: query=title:technolog* returns 400 ER0704.
5. Set a generous client timeout and retry on 500
Response time depends on the filters and the number of articles requested. Use smaller pages and request only the fields you need for large jobs.
A timeout may return 500 or 502. The same request can succeed on retry.
Set your client timeout above 30 seconds and retry once on 500. When paging through results, fetch /v1/news/count once for each set of filters rather than for every page.
Endpoint equivalents at a glance
| What you want | APITube endpoint |
|---|---|
| Search everything | /v1/news/everything |
| Top headlines | /v1/news/top-headlines |
| Breaking news | /v1/news/everything?is_breaking=1 |
| Result count | /v1/news/count |
| Geo search | /v1/news/local |
| Aggregation / trends | /v1/news/trends?field=entity.id |
| Real-time push | Webhooks or WebSocket stream |
| Entity autocomplete | /v1/suggest/entities?prefix= |
What you gain
APITube article responses include:
- Named entities with Wikidata and Wikipedia links, occurrence counts, and per-entity sentiment
- Sentiment split into title, body, and overall on a −1…1 scale
- Three ways to group news — IPTC MediaTopics (
category.id), editorial topics (topic.id), and industry sectors (industry.id) - Full article body as text and HTML
- Publisher metadata — political bias, authority rank, country
- Readability scores — Flesch-Kincaid, reading ease, target audience
- 250 articles per request (10 on Free, 50 on Starter, 200 on Basic)
- Export to JSON, JSONL, CSV, TSV, XLSX, XML, RSS, and Parquet from any query
Before you start
Get a key at apitube.io and make one request:
bashcurl -H "X-API-Key: YOUR_API_KEY" \ "https://api.apitube.io/v1/news/everything?title=bitcoin&per_page=3"Check your languages. APITube does not index every language every competitor lists — most notably Russian and Ukrainian are not available. The per-service guides list exactly which codes are rejected. Confirm yours works before converting anything:
bashcurl -H "X-API-Key: YOUR_API_KEY" \ "https://api.apitube.io/v1/news/count?language.code=de"Read your service's guide. Convert requests by hand, or use the compatibility library in its migration kit.
Getting help
- Parameters reference — every filter APITube supports
- Response structure — every field an article carries
- HTTP response codes — what each error code means
- Interactive query builder — build and test a request in the browser
If a mapping is incorrect, open an issue in the relevant migration kit.