Apache Arrow Flight API
Query web3 data with SQL via the Apache Arrow Flight API
Last updated
Was this helpful?
Query web3 data with SQL via the Apache Arrow Flight API
Last updated
Was this helpful?
SQL query results are now available as data frames via a high-performance endpoint.
Arrow Flight is a data protocol built on the high-performance, open-source protocol.
This enables high-speed access to your data in , , , , and , and makes it easy to use libraries like and .
We recommend using our SDKs to connect and query this endpoint. SDKs are available for , , and with more coming soon. In Python, the query results from the SDK can be easily converted to Pandas or NumPy format.
You may also use Apache's pyarrow
library directly.
Use the gRPC + TLS URL: grpc+tls://flight.spiceai.io
For Firecache use the gRPC + TLS URL: grpc+tls://firecache.spiceai.io
For documentation on the Spice Firecache see
Use basic authentication
Username can be set to an empty string
Password should be set to the API key of your app
names must be fully-qualified. For example eth.blocks
Find code samples in Python in Arrow Flight Samples.
If you get this error:
Could not get default pem root certs
Install the .