No, a blockchain is an immutable ledger, you can't equate a blockchain to an API. That would be like comparing an apple to a car.
Lots of blockchain tech (defi) use various API's in their own ecosystems, some private, and some public like Chainlink's oracle system.