Skip to content

Language Query Examples

Excluding articles in a specific language and from a specific country

This query retrieves news articles, excluding those in French and from France.

python
params = {
    "ignore.source.country.code": "fr",
    "ignore.language.code": "fr",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?ignore.source.country.code=fr&ignore.language.code=fr&api_key=YOUR_API_KEY"

Getting articles in multiple languages

This query retrieves news articles in English and French.

python
params = {
    "language.code": "en,fr",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?language.code=en,fr&api_key=YOUR_API_KEY"

Multilingual analysis with source filtering

This query analyzes news in English, Japanese, and German from high-ranking sources.

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

Business news in specific languages

This query retrieves business news in Chinese and Korean.

python
params = {
    "language.code": "zh,ko",
    "category.id": "medtop:04000000",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?language.code=zh,ko&category.id=medtop:04000000&api_key=YOUR_API_KEY"

Multilingual organization sentiment analysis

This query analyzes positive coverage of Google in different languages.

python
params = {
    "language.code": "en,fr,de",
    "organization.name": "Google",
    "sentiment.overall.polarity": "positive",
    "sort.by": "published_at",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?language.code=en,fr,de&organization.name=Google&sentiment.overall.polarity=positive&sort.by=published_at&api_key=YOUR_API_KEY"

Comparing regional news in different languages

This query compares news in Arabic and Turkish, sorted by emotional tone.

python
params = {
    "language.code": "ar,tr",
    "category.id": "medtop:11000000",
    "sort.by": "sentiment.overall.score",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?language.code=ar,tr&category.id=medtop:11000000&sort.by=sentiment.overall.score&api_key=YOUR_API_KEY"

Cross-language technology coverage comparison

This query analyzes how AI developments are covered across European and Asian languages.

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

Language-specific health news analysis

This query focuses on health news in multiple languages.

python
params = {
    "language.code": "en,es,pt,it",
    "title": "health,medical,vaccine",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?language.code=en,es,pt,it&title=health,medical,vaccine&api_key=YOUR_API_KEY"

Multilingual financial market sentiment tracking

This query monitors financial market sentiment across major global financial centers in their native languages.

python
params = {
    "language.code": "en,de,pt,tr",
    "category.id": "medtop:04000000",
    "title": "market,economy,trade",
    "sort.by": "sentiment.overall.score",
    "sort.order": "asc",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?language.code=en,de,pt,tr&category.id=medtop:04000000&title=market,economy,trade&sort.by=sentiment.overall.score&sort.order=asc&api_key=YOUR_API_KEY"