Do you mean something like this plot? :
(Generated by SEDE: /query/201360?ShowScore=0&Tag1=excel&Tag2=python&Tag3=NA&Tag4=NA#graph)
Use the data explorer (SEDE) for that.
To do this with the API, is possible but not pretty.
For example, to replicate the above plot you would need to make 111(Age of SO in months) API calls for python
like this call, a then make 111 API calls for excel
with the same time parameters. (Then piece the results all together and plot it.)
Due to rate limiting, those 222 calls would take at least 8 seconds. More tags, or finer time slices, increases the time proportionally.
Also, you are allowed 10,000 API calls a day, max. So that means, at most, 90 runs such per day -- including tests and development.