Hello,
it would help, if you would specify, what you are trying to achieve.
Do you want to include the API call into an external application / script, or do you just want to fetch some information "on the fly"?
Please have a look into this document to understand, how API authentication works.
Regards
Lars