Skip to main content

Moving data: Snowflake API

How to use the Snowflake SQL API to move data to other systems

About the Snowflake API

The Snowflake SQL API enables interaction with Snowflake databases via a REST interface. It allows for the execution of SQL statements, management of queries, and retrieval of results.

Key Features:

The Snowflake API has the following capabilities:

  • Submitting SQL Statements: Execute standard queries, DDL, and DML operations.

  • Managing Execution: Check the status or cancel the execution of SQL statements.

  • Authentication: Use OAuth or Key Pair methods.

  • Batch Requests: Execute multiple SQL statements in one request.

  • Error Handling: Retrieve detailed error information.

Limitations:

The Snowflake SQL API has a few limitations:

  • Rate Limits: There are limits on the number of API requests that can be made within a specific timeframe.

  • Response Size: The maximum size of a response that can be returned by the API is capped.

  • Timeouts: The API has a timeout for SQL execution; long-running queries may need to be broken into smaller queries.

  • Batch Request Limits: There are restrictions on the number of SQL statements that can be executed in a single batch request.

More information:

For more details, visit the Snowflake SQL API documentation.

Did this answer your question?