Author Query Examples
Search for news by a specific author
This query retrieves news articles written by John Doe.
python
params = {
"author.name": "John Doe",
"api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=John Doe&api_key=YOUR_API_KEY"
Search for news by multiple authors
This query retrieves news articles written by John Doe or Jane Doe.
python
params = {
"author.name": "John Doe,Jane Doe",
"api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=John Doe,Jane Doe&api_key=YOUR_API_KEY"
Filter by author and language
This query retrieves news articles written by John Doe in English.
python
params = {
"author.name": "John Doe",
"language.code": "en",
"api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=John Doe&language.code=en&api_key=YOUR_API_KEY"
Author expertise analysis
This query analyzes Ezra Klein's expertise across politics and economics categories.
python
params = {
"author.name": "Ezra Klein",
"category.id": "3,6",
"sort.by": "published_at",
"sort.order": "desc",
"per_page": "50",
"api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=Ezra%20Klein&category.id=3,6&sort.by=published_at&sort.order=desc&per_page=50&api_key=YOUR_API_KEY"
Cross-source author contribution analysis
This query tracks Kara Swisher's articles across multiple major publications.
python
params = {
"author.name": "Kara Swisher",
"source.domain": "nytimes.com,wsj.com,vox.com",
"published_at.start": "2020-01-01",
"sort.by": "published_at",
"sort.order": "desc",
"api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=Kara%20Swisher&source.domain=nytimes.com,wsj.com,vox.com&published_at.start=2020-01-01&sort.by=published_at&sort.order=desc&api_key=YOUR_API_KEY"
Author sentiment bias analysis
This query compares sentiment differences between two commentators on the same topic.
python
params = {
"author.name": "George Stephanopoulos,Sean Hannity",
"organization.name": "Biden Administration",
"published_at.start": "2023-01-01",
"sort.by": "sentiment.overall.score",
"api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=George%20Stephanopoulos,Sean%20Hannity&organization.name=Biden%20Administration&published_at.start=2023-01-01&sort.by=sentiment.overall.score&api_key=YOUR_API_KEY"
Author topic evolution tracking
This query tracks changes in Yuval Noah Harari's writing topics over time.
python
params = {
"author.name": "Yuval Noah Harari",
"published_at.start": "2018-01-01",
"published_at.end": "2023-12-31",
"sort.by": "published_at",
"sort.order": "asc",
"per_page": "100",
"api_key": "YOUR_API_KEY"
}
shell
curl -X GET "https://api.apitube.io/v1/news/everything?author.name=Yuval%20Noah%20Harari&published_at.start=2018-01-01&published_at.end=2023-12-31&sort.by=published_at&sort.order=asc&per_page=100&api_key=YOUR_API_KEY"