curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "world-news-api",
"path": "/top-news",
"method": "GET",
"query": {
"source-country": "",
"language": ""
}
}'
$0.004per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Get the top news stories for a country and language on a given date, clustered across multiple sources and ranked by coverage. Set headlines-only=true to return just id, title, and url. Price: $0.004 per request.
Query parameters
source-countryrequiredstringISO 3166 country code.languagerequiredstringISO 6391 language code (must be spoken in source-country).datestringDate for top news (YYYY-MM-DD). Defaults to today.headlines-onlybooleanReturn only id, title, and url.max-news-per-clusternumberHow many news items per cluster (1-100).More from World News API
- Retrieve News by IDsGET/retrieve-newsUp to $0.0016 per callResponse-based
- Get Geo CoordinatesGET/geo-coordinates$0.004 per callFixed
- Search NewsGET/search-newsUp to $0.048 per callResponse-based
- Extract NewsGET/extract-newsFrom $0.008 per callRequest-based
- Search News SourcesGET/search-news-sources$0.004 per callFixed
- Extract News LinksGET/extract-news-links$0.004 per callFixed