How many tokens does a historical search use?

Any data older than 30 days is historical. Historical data is stored in yearly databases, and an article search on historical data costs 5 tokens for each year that the date range touches (event searches: 20 tokens per year). Like any search, it returns up to 100 articles.

  • A search from 2024-03-01 to 2024-06-30 touches 1 year: 5 tokens.
  • A search from 2024-12-15 to 2025-01-15 crosses the end of the year: 2 years, 10 tokens.
  • A search over 10 years: 50 tokens per request.

To download many articles efficiently:

  • search year by year and download all pages for one year before moving to the next, or
  • sort the results by date - then the pages come from one yearly database at a time. Sorting by relevance over many years pulls results from all years and uses more tokens.

Every response includes the total number of matching articles (totalResults), so one request over the whole period tells you how many articles there are and roughly how many tokens a full download needs (about 1 request per 100 articles).