# Stripe Database Connect to a Stripe-hosted Postgres database with immediate access to your data. Stripe Database is a Stripe-hosted, read-only Postgres database that gives you direct SQL access to your current Stripe data. You can use any standard Postgres client to connect, and you can query your data with sub-second latency, with no infrastructure to manage on your end. Use it to run analytics on your Stripe account, or build your application directly on top of the Stripe database. > Here’s an example of how you can access your data using a standard Postgres client: ```sql psql "postgres://{id}.db.stripe.com/{id}" select * from customers; ``` ## Data availability Stripe Database includes everything in the public Stripe API that supports a list endpoint. This means: - All listable resources are available: charges, customers, subscriptions, payment intents, invoices, and so on. - Resources that return a single object rather than a list aren’t available. For example, [Balance](https://docs.stripe.com/api/balance.md) is a single object and is not synced. - No data outside the public API is available. Financial reports and other derived datasets aren’t included. You control which tables to sync. You can enable or disable syncing for individual tables at any time. ### API version Every database you create uses your account’s current API version. After you create it, the database stays on that API version. To update to a newer API version, Stripe provisions an entirely new database with the new version. Your existing database remains unchanged. ## Request access (Private preview) Stripe Database is currently in private preview. Sign up below to request access.