API refers to Application Program Interface. It helps us to easily access data from some other servers by sending a request. Then we will receive a response that contains some information from the other server.
- Endpoint
- Paths
- Parameters
- Authentication
Every API that interact with an external system will have an Endpoint
kanye.rest – Free REST API
Random quote generating API , the endpoint to get a quote is,
Paths & Parameters
API paths and parameters can be used to get specific piece of data from external server.
Eg; Joke API – https://sv443.net/jokeapi/v2/
API endpoint with Parameter:
https://v2.jokeapi.dev/joke/Programming
More Examples on API with parameters: