Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Charles Jones
Charles Jones
1,415 Points

What is an API?

I am a manual tester - just trying to learn the basics of APIs. Unsure what processes I should take or what methods are best available to utilize/learn from?

If anyone has any information that would help - I'd love to take a look.

Thank you!

1 Answer

Hi Charles!

Typically, an API is just a website endpoint that provides organized data, often in JSON format or as returned by a database query.

Keep in mind, many APIs require some kind of credentials to access, such as an API Key and/or Access Token,

So as to not reinvent the wheel, I'll provide some links:




https://rapidapi.com/blog/most-popular-api/ (Great Examples)

I use #2 (OpenWeatherMap) from the link above here:

https://www.moneyband.org/news.php (Used in the "Monterey Weather Stats" section.)

Also, a very simple example of an API is this (no creds required):

https://teamtreehouse.com/charlesjones7.json (Returns JSON data for your Treehouse stats)

I hope that helps.

Stay safe and happy coding!