Skip to content

Author Query Examples

Search for news by a specific author

This query retrieves news articles written by AFP.

python
params = {
    "author.name": "AFP",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=AFP&api_key=YOUR_API_KEY"

Search for news by multiple authors

This query retrieves news articles written by AFP or Reuters.

python
params = {
    "author.name": "AFP,Reuters",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=AFP,Reuters&api_key=YOUR_API_KEY"

Filter by author and language

This query retrieves news articles written by AFP in English.

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

Author expertise analysis

This query analyzes AFP's sports coverage.

python
params = {
    "author.name": "AFP",
    "category.id": "medtop:15000000",
    "sort.by": "published_at",
    "sort.order": "desc",
    "per_page": "10",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=AFP&category.id=medtop:15000000&sort.by=published_at&sort.order=desc&per_page=10&api_key=YOUR_API_KEY"

Author sentiment bias analysis

This query compares sentiment differences between two news agencies.

python
params = {
    "author.name": "AFP,Reuters",
    "sort.by": "sentiment.overall.score",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=AFP,Reuters&sort.by=sentiment.overall.score&api_key=YOUR_API_KEY"

Author topic evolution tracking

This query tracks changes in Reuters' writing topics over time.

python
params = {
    "author.name": "Reuters",
    "sort.by": "published_at",
    "sort.order": "desc",
    "per_page": "10",
    "api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=Reuters&sort.by=published_at&sort.order=desc&per_page=10&api_key=YOUR_API_KEY"