A company's data is like a raw set of food ingredients - they harvest that data, and collect it in one or more places.<p>An API is like the restaurant menu - it presents you with the ways that the data can be prepared for you, based on the skills, experience and methods that the company has available.<p>For some of the menu items, you may be able to make specific requests (no dairy products, for example) - whereas other menu items may be more static.<p>If you had the raw data yourself, and seasoned chefs, there's a chance you could prepare the meals that you really want, regardless of whether they're available in the API offered to you.<p>This analogy isn't perfect and isn't worth trying to apply in-detail, but for a high-level non-technical audience it could work.<p>(an example flaw: paging through search results is a common API operation that wouldn't really have a sensible restaurant analogy. at best, ordering profiteroles from the kitchen one at a time, each time requesting the least recently prepared one, or something like that)
The ability to get a websites data. What data? That depends upon the parameters entered. Explain the Twitter api and how your able to change parameters like date and screenname to get specific tweets. This doesn’t exactly explain everything about an api but it covers the most popular case.