REST API | Supabase Docs (original) (raw)


Supabase auto-generates an API directly from your database schema allowing you to connect to your database through a restful interface, directly from the browser.

The API is auto-generated from your database and is designed to get you building as fast as possible, without writing a single line of code.

You can use them directly from the browser (two-tier architecture), or as a complement to your own API server (three-tier architecture).

Supabase provides a RESTful API using PostgREST. This is a very thin API layer on top of Postgres. It exposes everything you need from a CRUD API at the URL https://<project_ref>.supabase.co/rest/v1/.

The REST interface is automatically reflected from your database's schema and is:

The reflected API is designed to retain as much of Postgres' capability as possible including:

The REST API resolves all requests to a single SQL statement leading to fast response times and high throughput.

Reference:

You can find the API URL and Keys in the Dashboard.