API connected to the word frequency over time