Query API Authentication
You require an API key to access the query API. Check out our API plans to get a key: https://newsfilter.io/api-plans
You can use the API key in two ways. It's either/or:
- Set as
Authorization
header (recommended). Before making aPOST
request tohttps://api.newsfilter.io/search
, you need to set theAuthorization
header toYOUR_API_KEY
. Note: do not include any other words asAuthorization
header value. It's justYOUR_API_KEY
. - Set as query parameter. Example:
https://api.newsfilter.io/search?token=YOUR_API_KEY
In this case, you makePOST
requests to the endpointhttps://api.newsfilter.io/search?token=YOUR_API_KEY
and not anymore tohttps://api.newsfilter.io/search
.