Skip to content

Topic Query Examples

Search for news on a specific topic

This query retrieves news articles about cryptocurrency.

python
params = {
    "topic.id": "industry.crypto_news",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?topic.id=industry.crypto_news&api_key=YOUR_API_KEY"

Multi-topic sentiment analysis

This query analyzes positive sentiment across energy-related topics.

python
params = {
    "topic.id": "industry.green_energy_news,industry.energy_news",
    "sentiment.overall.polarity": "positive",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?topic.id=industry.green_energy_news,industry.energy_news&sentiment.overall.polarity=positive&api_key=YOUR_API_KEY"

Comparative topic analysis with language filtering

This query compares AI topics across different languages.

python
params = {
    "topic.id": "industry.ai_news,industry.technology_news",
    "language.code": "en,de,fr",
    "sort.by": "published_at",
    "sort.order": "desc",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?topic.id=industry.ai_news,industry.technology_news&language.code=en,de,fr&sort.by=published_at&sort.order=desc&api_key=YOUR_API_KEY"

Topic and entity intersection analysis

This query analyzes cryptocurrency news in relation to specific entities.

python
params = {
    "topic.id": "industry.crypto_news",
    "title": "Bitcoin,Ethereum",
    "sort.by": "published_at",
    "sort.order": "desc",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?topic.id=industry.crypto_news&title=Bitcoin,Ethereum&sort.by=published_at&sort.order=desc&api_key=YOUR_API_KEY"

Topic-based market tracking

This query finds news about financial markets.

python
params = {
    "topic.id": "industry.financial_news",
    "title": "market,stock,trading",
    "sort.by": "published_at",
    "sort.order": "desc",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?topic.id=industry.financial_news&title=market,stock,trading&sort.by=published_at&sort.order=desc&api_key=YOUR_API_KEY"

This query analyzes how a topic has trended over time.

python
params = {
    "topic.id": "industry.ai_news",
    "sort.by": "published_at",
    "sort.order": "asc",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?topic.id=industry.ai_news&sort.by=published_at&sort.order=asc&api_key=YOUR_API_KEY"

Topic sentiment comparison across sources

This query compares how different sources cover a specific topic.

python
params = {
    "topic.id": "industry.technology_news",
    "source.domain": "theguardian.com,foxnews.com,nytimes.com",
    "sort.by": "sentiment.overall.score",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?topic.id=industry.technology_news&source.domain=theguardian.com,foxnews.com,nytimes.com&sort.by=sentiment.overall.score&api_key=YOUR_API_KEY"

Cross-regional topic impact analysis

This query examines how military news is reported across different countries with advanced filtering by relevance and credibility.

python
params = {
    "topic.id": "industry.military_news",
    "source.country.code": "us,gb,de,fr",
    "title": "threat,attack,defense",
    "sort.by": "source.country.code,sentiment.overall.score",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?topic.id=industry.military_news&source.country.code=us,gb,de,fr&title=threat,attack,defense&sort.by=source.country.code,sentiment.overall.score&api_key=YOUR_API_KEY"

Topic and organization intersectional sentiment analysis

This query analyzes the sentiment around specific organizations within the technology topic space, filtered by visual content.

python
params = {
    "topic.id": "industry.technology_news",
    "organization.name": "Google,Microsoft,Apple,Amazon",
    "media.images.count": "1",
    "sort.by": "organization.name,sentiment.overall.score",
    "sort.order": "desc",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?topic.id=industry.technology_news&organization.name=Google,Microsoft,Apple,Amazon&media.images.count=1&sort.by=organization.name,sentiment.overall.score&sort.order=desc&api_key=YOUR_API_KEY"