Snowflake SQL API Connector
Query Snowflake over SQL API v2 with RS256 JWT auth and partitioned fetches.
Authenticates to *.snowflakecomputing.com with RS256 key-pair JWTs and submits SQL to /api/v2/statements. Handles HTTP 202 async polling and multi-partition result fetches into typed tables.
What Snowflake SQL API Connector does
Snowflake SQL API Connector lets you query warehouses securely over HTTPS without storing long-lived passwords or exposing private RSA keys inside recipes. Account, user, warehouse, database, and schema live once in Workspace Connections while each source only supplies its SQL statement.
The engine signs RS256 JWT assertions using the key fingerprint, submits to /api/v2/statements, polls HTTP 202 responses until 200 OK, and reads every partition chunk. Results run through DuckDB SQL and checks before serving via Parquet, CSV, REST API, and MCP.
Input & output example
Authenticates with KEYPAIR_JWT and fetches all Snowflake SQL API v2 result partitions.
Snowflake SQL source query
SELECT security_id, trade_date, volume, vwap FROM market_mart.daily_liquidity WHERE trade_date >= DATEADD(day, -30, CURRENT_DATE())
Versioned table columns
| security_id | trade_date | volume | vwap |
|---|---|---|---|
| NVDA | 2026-10-15 | 41820300 | 138.42 |
| MSFT | 2026-10-15 | 19240100 | 426.15 |
How it works
- 1
Enroll Snowflake RSA key-pair connection
Store your encrypted RSA private key in Workspace Connections with account, user, warehouse, database, and schema.
- 2
Execute statements via /api/v2/statements
Signs an RS256 KEYPAIR_JWT, submits SQL, polls HTTP 202 pending responses, and reads all result partitions.
- 3
Normalize and publish versioned snapshots
Cast result columns in DuckDB SQL, attach checks, and expose via Parquet, REST API, and MCP.
Try with an agent
Pre-loads Snowflake SQL in chatExpose a Snowflake mart table via REST API & MCP
Connect my saved Snowflake SQL API workspace connection, extract the last 90 days of daily_liquidity, add primary-key checks, and serve via REST API and MCP.
Enrich Snowflake merchant table with AI classification
Pull distinct merchant descriptions from my Snowflake connection, classify categories with AI Text Classification, and write a clean Parquet snapshot.
Common use cases
- Syncing Snowflake tables into external APIs and MCP
- Enriching Snowflake facts with SEC XBRL, NOAA weather, or satellite data
- Replacing manual CSV exports from Snowflake in research pipelines
- Enforcing key-pair JWT auth with per-dataset scoping
Details
- Category
- Connectors
- Identifier
- snowflake-sql
- Inputs
- Snowflake SQL API v2 · RS256 private-key JWT · Partitioned JSON
- Outputs
- Typed SQL & Parquet tables · Public or workspace views
- Dataset delivery
- Parquet · CSV · JSON · SQL · REST API · MCP
Frequently asked questions
How does Snowflake SQL API Connector authenticate without passwords?
It signs short-lived RS256 JWTs from an encrypted RSA private key stored in Workspace Secrets using X-Snowflake-Authorization-Token-Type: KEYPAIR_JWT.
How are large Snowflake result sets paginated?
When Snowflake returns multiple partitions in /resultSetMetaData/partitionInfo, the connector fetches each partition chunk sequentially.
Can multiple datasets reuse the same Snowflake connection?
Yes. Admins register the Snowflake account and warehouse once at the organization level and grant specific datasets read access.