LearnWhat Is An API?

Treehouse
writes on August 8, 2019

If you have a sneaking suspicion that APIs are something you should know about in 2019, you’re onto something! In 2019, APIs are more important than ever, and their prominence in the programming world is only growing. But what exactly is an API?

What is an API?

An API, short for application programming interface, is what a website uses to grab information from a particular database. It’s how a certain site is able to show the latest Instagram photos, Tweets, and weather report all on the same home page, for example. 

We put together a quick visual to explain the basics of how an API works.

Take a closer look at an API:

If you want to create your own API…

There’s no shortage of great data out there, and certainly no shortage of websites eager to display it—build them an API, and everybody wins! You can learn this highly marketable skill through our Full Stack Javascript Techdegree, which gives you unlimited access to courses, workshops, and community support. Try a free seven day trial to see if Javascript is right for you!


Gather more Treehouse tidbits on Twitter, Instagram, YouTube, and Facebook. We’d love to share tips and hear how your learning is going.

Where to next? Try one of these:

3 Responses to “What Is An API?”

  1. Anonymous on August 30, 2019 at 4:08 pm said:

    I could not resist commenting. Very well written!

  2. Anonymous on August 28, 2019 at 6:32 am said:

    ON POINT!!
    Exact content what I’m searching for. Additionally, that video solves all the questions that I have. Thank you so much Katie-Wojciechowski for this valuable content. Keep sharing!!

  3. Hi!!
    Love your post. It’s really amazing & helpful too. I like the way you explained everything, kind of example you used. By sharing this amazing this you have solved my queries . Keep sharing 🙂

Leave a Reply

You must be logged in to post a comment.

Want to learn more about Javascript?

Learn how to use JavaScript to add interactivity to websites.

Learn more