Endpoint vs. API

Steven Curtis
3 min readApr 24, 2020

What is what?

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!

Terminology

API: Application programming interface. A set of accessible tools for building software applications

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?

An API is a set of protocol and tools that allow two applications to communicate. The two applications can sit on the same machine (your current Application, that is your Web Browser, communicates with the Operating System on your machine to display this article).
The use of an API means that an interface is public so programs can easily communicate with each other and act in expected ways (forming a contract across the interface).

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.

--

--