The first paradigm of APIs was "Remote Procedure Call". In this case, the API call represents some specific action that you would like to take. This could involve modifying multiple linked or unlinked data records in a single transaction.
As for GraphQL, I'd say OData, SPARQL and other Linked Data protocols are competitors