Ahrefs API only provides information relating to Backlinks and does not include search related information. Thus, any search related data like organic keywords, search volume, search traffic, SERP positions, etc. will not be retrieved from our API.  

If this is a feature which you would like us to consider having, do add it or upvote it (if it's already there) on https://ahrefs.canny.io/ and we will consider it at an appropriate time👌

Related

Did this answer your question?