{ "opencollection": "1.0.0", "info": { "name": "News Everything Top Headlines API", "version": "2" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Key", "value": "{{X-Api-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Top Headlines", "type": "folder" }, "items": [ { "info": { "name": "Get top headlines", "type": "http" }, "http": { "method": "GET", "url": "https://newsapi.org/v2/top-headlines", "params": [ { "name": "country", "value": "", "type": "query", "description": "The 2-letter ISO 3166-1 code of the country you want to get headlines for. Note: you can't mix this param with the sources param.\n" }, { "name": "category", "value": "", "type": "query", "description": "The category you want to get headlines for. Note: you can't mix this param with the sources param.\n" }, { "name": "sources", "value": "", "type": "query", "description": "A comma-separated string of identifiers for the news sources or blogs you want headlines from. Use the /top-headlines/sources endpoint to locate these. Note: you can't mix this param with the country or category params.\n" }, { "name": "q", "value": "", "type": "query", "description": "Keywords or a phrase to search for." }, { "name": "pageSize", "value": "", "type": "query", "description": "The number of results to return per page. Default is 20, maximum is 100." }, { "name": "page", "value": "", "type": "query", "description": "Use this to page through the results. Default is 1." }, { "name": "apiKey", "value": "", "type": "query", "description": "Your API key. Alternatively provide via the X-Api-Key header." } ] }, "docs": "Provides live top and breaking headlines for a country, specific category in a country, single source, multiple sources, or a query. You can use this endpoint to get breaking news programmatically and use it to fuel your news-driven apps and news feeds.\n" } ] } ], "bundled": true }