The key and api

I have a problem I want to solve

Of course we know that there is an API on this platform, right?
I want to use any API, but I have a problem, which is the key

How do I get the key to use in the API?
Without the need for web scrap