Glossary · Web Development

REST API

pronounced as a word plus letters: REST ay-pee-EYEnoun

A REST API is a widely used standard for letting software systems exchange data over the web using standard HTTP requests.

Part of speech
noun
Pronunciation
pronounced as a word plus letters: REST ay-pee-EYE
Origin
REST stands for Representational State Transfer, a term coined by computer scientist Roy Fielding in his 2000 doctoral dissertation. API means application programming interface.

What is REST API?

A REST API is a widely used standard for letting software systems exchange data over the web using ordinary HTTP requests, the same protocol browsers use to load pages. REST stands for Representational State Transfer, and an API is an application programming interface, a defined way for programs to talk to each other. Put together, a REST API is a set of web addresses that a program can call to read or change data, following a consistent, predictable pattern. Because it rides on the plumbing of the web itself, almost any programming language or platform can work with it, which is a large part of why it became the default style for web APIs.

The mechanics center on two ideas: resources and standard HTTP methods. A resource is any thing the API manages, such as a customer, a product, or a blog post, and each resource has its own URL. To act on a resource, the client uses the standard HTTP verbs: GET to retrieve it, POST to create a new one, PUT or PATCH to update it, and DELETE to remove it. The server responds with the data, typically formatted as JSON, along with a status code that signals success or failure. A defining trait is that REST is stateless, meaning each request carries everything the server needs to fulfill it, and the server keeps no memory of previous requests. That simplicity makes REST APIs easy to scale and cache.

The term comes from computer scientist Roy Fielding, who described the REST architectural style in his 2000 doctoral dissertation. Fielding was one of the people who helped define HTTP itself, and REST codified the principles that made the web scale so well: a uniform interface, statelessness, and treating everything as an addressable resource. Rather than inventing a new protocol, REST is a set of conventions layered on top of the web's existing foundations, which is why it spread so quickly and broadly among developers.

For a business, REST APIs are the connective tissue behind most modern websites and marketing tools. When a headless content management system feeds articles to a site, when a store syncs orders with a fulfillment service, or when a marketing platform pushes leads into a database, a REST API is usually doing the work. They enable the decoupled architectures that make sites fast and flexible, and they let you integrate best-in-class services rather than building every feature from scratch. Understanding that your systems speak a common, well-documented language makes vendor selection and future changes far less risky.

Common pitfalls are worth noting. Because REST returns a fixed structure for each resource, a client sometimes gets more data than it needs, called over-fetching, or has to make many separate calls to gather related data, called under-fetching. This is precisely the friction that GraphQL was designed to reduce by letting a client request exactly the fields it wants in one call. REST also relies on good versioning and security practice; an unversioned API that changes its shape can break every application that depends on it, and unprotected endpoints invite abuse. Well-designed REST APIs use clear URLs, proper status codes, authentication, and rate limits to stay reliable and safe.

Why it matters

REST APIs are the connective tissue of modern web projects, letting your site integrate with payment, CRM, and content systems without brittle custom plumbing.