What are the limits on the number of keywords, concepts and sources in a query?

The limits per query are:

Free trialPaid plans
Sources1,00050,000
Keywords1560
Concepts1560
Categories1020
Languages510
Locations1015

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.