What is what?

Image for post
Image for post
Photo by Thomas Jensen on Unsplash

Difficulty: Beginner | Easy | Normal | Challenging

Are you using an Endpoint, an API or both? Read this article to really pin down the differences in these terms!


API Endpoint: The URL of a server or service

Endpoint: An endpoint is a remote computing device that communicates back and forth with a network to which it is connected

URL: Uniform Resource Locator. An address of a web page or resource

What is an API, and what is an Endpoint?

On the other hand, an Endpoint is a URL that enables the API to access resources on a server, often through a RESTful API interface.

Image for post
Image for post

The interface can (as shown above), provide a series of Endpoints that can be called at any time.

Break it down

A simple example of this is this particular Websites and article. The Websites is Medium, and your Web Browser makes a request for the content.

The Endpoint for this particular article is https://medium.com/@stevenpcurtis.sc/endpoint-vs-api-ee96a91e88ca, and this is obtained by the browser making a GET request, and receiving this article in return.

Note: It is true that more is going on in real life than this, this is a simplified example for easy digestion on this particular topic.

Image for post
Image for post

The Endpoint gives us the exact location of the service/resource that we wish to access (in this case this particular article).

The performance of any particular Endpoint, and the API in general depends on how well (quantitively and qualitatively) the requests are dealt with.

Securing API Endpoints

Use the HTTPS protocol

And that’s a good thing.

Rate limiting

Everyone wants to stop this type of attack.

Input validation


Done and done!

The Twitter contact:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store