Is there an API for the Docs that I can fetch data from?

Hello! I've recently noticed that some of the bots have commands to get information from the docs. So is there an API that they are using to get the data? How to I get access to it too?
Was this page helpful?