What is an API key? An API key is a mechanism used to authenticate two pieces of software for programmatic access. Contrast this with a username and password, which is typically used for a user like you or I to authenticate with a website so that we can navigate around and use the site. An API key is meant to be a way for a programmer or other advanced user to automatically interact with the system.