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.

orange sky
Front End Web Development Techdegree Student 4,945 Pointswhat is an API
Hello!
I often hear people talk about APIs. I have heard people say look at the Java API, and now JQuery also has its API.
Can someone please tell me the definition of an API? My guess is that API is a reference manual for that particular programming language, which include all the methods, properties or any info about it , but I am not sure this definition is correct
Thanks
2 Answers

James Barnett
39,199 PointsThere are basically 2 types of APIs, the first type is basically what you explained. The 2nd is a Web API like how Twitter lets you write code and interact with their service.
ryan champin
16,836 Pointsthats exactly what an API is!