API vs REST API

Hello everyone. I have a question. Can an API be created and made available for ecommerce/databased integrations with industry standard scaling capabilities that isn’t a REST API? Please note that I am very new to this and so my questions may appear simple at first until I learn more.

An API is just a way for another program to interface with yours.

REST is a standard way of doing so, and a popular and simple one, but it’s not the only way.

You could make a SOAP API, a JSON-RPC API, or (more modern) a GraphQL API. There are other standards, and not all have found success, but it’s definitely possible to make a scalable, performant API that isn’t RESTful.

1 Like

Thanks t3rminus. I really appreciate your note.