API keys are generally used to identify the projects, i.e., the applications or sites that make the calls to APIs. They are even used for project authorization, by checking if the application making the call has access to call the API and has the API enabled in their project.