What are the limits on the number of keywords, concepts and sources in a query?
The limits per query are:
| Free trial | Paid plans | |
|---|---|---|
| Sources | 1,000 | 50,000 |
| Keywords | 15 | 60 |
| Concepts | 15 | 60 |
| Categories | 10 | 20 |
| Languages | 5 | 10 |
| Locations | 10 | 15 |
The current table is on the documentation introduction page: https://newsapi.ai/documentation?tab=introduction.
- Keywords are counted per word, not per phrase: "natural gas" counts as 2 keywords, and 24 phrases of 6 words count as 144 keywords.
- The limit is about the number of keywords, not the length of the query in characters.
- If you have a long list of alternatives (OR), split it into several queries with smaller groups of keywords and combine the results. This doesn't work for conditions joined with AND - those must be in the same query.
- The limits exist so that every query can be computed in a reasonable time; they can't be raised for individual accounts.