What is an API key?
DefinitionAn API key is a secret, unique string of characters that an application or developer includes with requests to an application programming interface, so the service can identify the caller and control what it is allowed to do.
Services such as payment processors, email providers, mapping platforms and AI models issue API keys from a dashboard. The key is sent with each request, usually in an HTTP header, and the API uses it to check permissions, apply rate limits and track usage for billing. Many providers let developers create several keys with different scopes, such as read-only access.
Because anyone who has a key can use it, API keys must be kept out of public code repositories and client-side JavaScript, stored securely, and rotated if they might have been exposed, as Campaign Monitor once urged its customers to do. Cloud providers generally recommend using API keys to identify projects and applications, and stronger methods such as OAuth 2.0 to authenticate people.
API key resources
Topics: Privacy and security, Web development
Cite this definition
- APA
What is an API key? (2026, November 22). Glossary. https://glossary.io/api-key/
- MLA
“What Is an API key?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/api-key/.
- Chicago
“What Is an API key?” Glossary. Coywolf. November 22, 2026. https://glossary.io/api-key/.
- HTML link
<a href="https://glossary.io/api-key/">What is an API key?</a>
Published