# API Endpoint

> One address in an API, plus its method, like GET /users/42.

**Field:** Software Development  
**Category:** APIs  
**Also known as:** Endpoint, API Route, Endpoints

## Think of it like

Think of it like one counter in a post office. Each counter does one kind of job.

## Definition

An endpoint is one address in an API where you can send a request for one kind of job. It is a method plus a path, like GET /users/42 or POST /orders. Each endpoint takes certain inputs and gives back a certain answer. An API is often described as a list of its endpoints. Changing an endpoint can break every app that uses it.

## Example

Jack's app uses three endpoints. GET /products lists items, POST /orders buys, and GET /orders/1042 tracks a parcel.

## Example code

```http
GET /api/orders/1042 HTTP/1.1
Host: example.com
```

This endpoint returns one order, number 1042.

## Why it matters

Endpoints are what other people's code is written against. A clear, stable list makes an API easy to use.

## Common mistake

Renaming an endpoint that apps already use. Keep the old one working, or add a new version.

## Three principles

- **Method plus path.** GET /users/42.
- **One kind of job.** Set inputs, set answer.
- **Keep it stable.** Apps depend on it.

## Related terms

- [Application Programming Interface (API)](https://learn.benibix.com/term/development/api)
- [REST API](https://learn.benibix.com/term/development/rest-api)
- [HTTP Method](https://learn.benibix.com/term/infrastructure/http-method)
- [API Versioning](https://learn.benibix.com/term/development/api-versioning)

## Told apart from

- [Endpoint vs REST Resource](https://learn.benibix.com/compare/endpoint-vs-rest-resource): People think an endpoint and a resource are the same, and they are not. A resource is a thing with an address, such as /orders/42. An endpoint is a method plus a path, such as GET /orders/42. So one resource usually has several endpoints, one for each thing you can do to it.

---

Source: https://learn.benibix.com/term/development/endpoint
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
