I my opinion there are 3 types of APIs but there will be more or less but the best are Rest APIs. Learn about them through documentation
I read the parameters, the problem is required as an api key, for i have it is expensive