| [ Web Proxy ] |
| Viewing: https://docs.stripe.com/data/database | [Back] [Original] |
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.
Heres an example of how you can access your data using a standard Postgres client:
psql "postgres://{id}.db.stripe.com/{id}" select * from customers;
Stripe Database includes everything in the public Stripe API that supports a list endpoint. This means:
You control which tables to sync. You can enable or disable syncing for individual tables at any time.
Every database you create uses your accounts 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 to join the preview for Stripe Database.
Enter your email to request access.
| Web Proxy Viewer | New URL | Original Page |