An Application Programming Interface (API) is an interface between clients and components and represents component responsibility.
A Service Provider Interface (SPI) is an interface between components and service providers and represents a service-provider responsibility.
In the Relaxer architecture, service providers provide business logic for a component.