DEV Community

Cover image for API vs Protocol vs Query language
Anoch
Anoch

Posted on

API vs Protocol vs Query language

Topic: API vs Protocol vs Query language

API :: A defined interface what data that lets
programs or systems interact and exchange data or
functions.

Protocol :: A set of rules governing how data is
transmitted and communicated between systems.

Query Language :: A formal set of commands or syntax
used to request or manipulate data from a system.

System Query Language Protocol Usage Domain
REST No Yes Web APIs
gRPC No Yes RPC, APIs
SQL Yes No Databases
GraphQL Yes No* API querying

*GraphQL is a specification.

Top comments (0)