Please follow https://ncbiinsights.ncbi.nlm.nih.gov/2021/10/05/updated-pubmed-api/.