Skip to content

Reference data

Most APITube filters take an ID, not free text: category.id=medtop:20001126, source.country.code=us, industry.id=…. This section is where those values come from — browsable lists for the fixed taxonomies, and endpoints for the ones large enough to need search.

Browsable lists

Fixed value sets you can read here and hard-code in a filter UI:

ListFeeds the filter
List of Countriessource.country.code
List of Languageslanguage.code
List of Categoriescategory.id — IPTC Media Topics
List of Topicstopic.id — curated news beats
List of Industriesindustry.id — business sectors

APITube does not index every language in existence — check yours with a cheap count request before building on it.

Fetched at runtime

GET /v1/news/event-types returns every valid value for the event.type and event.category filters. Call it to populate a filter UI or to validate input, instead of copying codes by hand.

Autocomplete (Suggest)

Entities, categories, topics and industries are too numerous to list, so each has a typeahead endpoint that turns a name prefix into an ID you can filter on:

EndpointResolves toGuide
GET /v1/suggest/entities?prefix=entity.id — people, companies, brands, places, productsSuggest entities
GET /v1/suggest/categories?prefix=category.idSuggest categories
GET /v1/suggest/topics?prefix=topic.idSuggest topics
GET /v1/suggest/industries?prefix=industry.idSuggest industries
bash
curl "https://api.apitube.io/v1/suggest/entities?prefix=elon&api_key=YOUR_API_KEY"

Entity results carry Wikipedia and Wikidata links alongside the ID, which makes them usable directly in a search UI.

Why IDs matter

An unknown parameter or an invalid value does not raise an error — the request returns 200 ok and the filter silently does not apply, so a typo looks like a successful query over the entire index. Resolving values through these lists and endpoints is the cheapest way to avoid that. See Debugging API requests for how to confirm what the API actually received.

Next steps