An API is a service that lets one website use data or functionality from another website, and most modern webpages rely on at least one API - like the Facebook API for social interaction, the Google Analytics API for tracking, or the DoubleClick API for ads.