An API is a defined way for one piece of software to ask another for data or action; API development is designing, building and testing those interfaces.
Good APIs are designed before they are built: clear resources and operations, consistent errors, versions, and documentation others can follow.
Most web APIs follow REST over HTTP and exchange JSON; others use GraphQL or gRPC where their strengths fit.
