Query Records in Marketing Cloud Growth
Salesforce REST API and Bulk API 2.0 include operations for querying records. The query
endpoint in REST API provides results synchronously, making it a useful tool for small queries. For more complex queries, or queries that potentially involve a large number of results, the asynchronous Bulk API 2.0 is a better choice.