{"id":"pg_fltzgcnejiu3","property_id":"prp_-ukk265czwbd","domain_id":"dom_vqj7b-nyig_h","root_domain":"supabase.com","locale":"en","url":"https://supabase.com/docs/guides/api","url_hash":"99d592261ed00c6b5eb28c376f5da045a612649192518ef2cd4643748010e5c5","path":"/docs/guides/api","depth":1,"canonical_url":"https://supabase.com/docs/guides/api","canonical_page_id":null,"page_type":"docs","page_type_guess":"docs","state":"indexed","skip_reason":null,"priority":"1.4","discovered_via":"sitemap","first_seen_at":"2026-08-27T09:07:11.699Z","last_seen_at":"2026-08-27T09:07:35.687Z","http_status":200,"content_hash":"1540db61f2ba14506e19ae927514de83b0e46b0b2c44a7e83f2efcd5a3acd12e","title":"Data REST API | Supabase Docs","description":"Auto-generating data REST API.","author":"Supabase","published_at":"2026-08-27T08:38:24.780Z","modified_at":"2026-08-27T08:38:24.780Z","word_count":303,"reading_time_sec":83,"lang_detected":"en","images":[],"links_out":null,"markdown_source":"readability","refresh_interval":"monthly","last_fetched_at":"2026-08-27T09:07:31.725Z","next_refresh_at":"2026-09-26T09:07:31.725Z","runs_count":1,"changes_count":0,"last_changed_at":null,"fail_count":0,"last_error":null,"created_at":"2026-08-27T09:07:11.699Z","updated_at":"2026-08-27T09:07:11.699Z","inlinks":2,"inlinks_body":2,"outlinks":31,"outlinks_external":6,"anchor_terms":["Data APIsInstant ready-to-use REST APIs.","the auto-generated Data API endpoints"],"template_score":"0.20000000000000000000","cash":"0.01851851851851855","cash_total":"0.53148148148148265","pagerank":null,"is_orphan":false,"link_confirmed":true,"discovered_wave":0,"embedded_hash":"1540db61f2ba14506e19ae927514de83b0e46b0b2c44a7e83f2efcd5a3acd12e","embedded_at":"2026-08-27T09:13:37.185Z","domain_name":"Supabase","brand_color":"#9de6c5","domain_rank":473,"spam_score":11,"markdown":"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.\n\nThe 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.\n\nYou can use them directly from the browser (two-tier architecture), or as a complement to your own API server (three-tier architecture).\n\nSupabase provides a RESTful API using [PostgREST](https://postgrest.org/), a 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/`.\n\nThe REST interface is automatically reflected from your database's schema and is:\n\n-   **Instant and auto-generated:** As you update your database the changes are immediately accessible through your API.\n-   **Self documenting:** Supabase generates documentation in the Dashboard which updates as you make database changes.\n-   **Secure:** The API is configured to work with Postgres's Row Level Security, provisioned behind an API gateway with key-auth enabled.\n-   **Fast:** Our benchmarks for basic reads are more than 300% faster than Firebase. The API is a very thin layer on top of Postgres, which does most of the heavy lifting.\n-   **Scalable:** The API can serve thousands of simultaneous requests, and works well for Serverless workloads.\n\nThe reflected API is designed to retain as much of Postgres' capability as possible including:\n\n-   Basic CRUD operations (Create/Read/Update/Delete)\n-   Arbitrarily deep relationships among tables/views, functions that return table types can also nest related tables/views.\n-   Works with Postgres Views, Materialized Views and Foreign Tables\n-   Works with Postgres Functions\n-   User defined computed columns and computed relationships\n-   The Postgres security model - including Row Level Security, Roles, and Grants.\n\nThe REST API resolves all requests to a single SQL statement leading to fast response times and high throughput.","storage":{"htmlKey":"stealpage/html/supabase.com/pg_fltzgcnejiu3/run_bqm-gebgdvx-.html.gz","markdownKey":"stealpage/md/supabase.com/pg_fltzgcnejiu3/run_bqm-gebgdvx-.md.gz"},"facets":{"page_id":"pg_fltzgcnejiu3","domain_id":"dom_vqj7b-nyig_h","root_domain":"supabase.com","locale":"en","format":"research","depth":1,"technicality":5,"promotional":1,"originality":2,"audience":"developer","funnel_stage":"consideration","intent":"informational","evidence":"none","tone":"plain","has_code":false,"code_langs":[],"has_data":false,"has_tables":false,"has_images":false,"has_video":false,"has_faq":false,"external_links":1,"heading_count":0,"topics":["api","database","rest"],"keywords":["rest api","supabase","postgrest","database schema","crud operations"],"entities":{},"takeaways":["Supabase automatically generates a REST API from your database schema, eliminating the need to write code for basic CRUD operations.","The API is designed to be fast, secure, and scalable, with performance benchmarks that outpace alternatives like Firebase.","It supports advanced Postgres features such as Row Level Security, views, functions, and computed columns.","The API is self-documenting and updates automatically as the database schema changes.","It can be used in both two-tier and three-tier architectures, offering flexibility for different application needs."],"summary":"The page explains how Supabase auto-generates a REST API from a database schema, providing a fast, secure, and scalable interface for interacting with Postgres.","ai_likelihood":"0","shelf_life":"evergreen","quality_score":"0.4712","fingerprint":"1540db61f2ba14506e19ae927514de83b0e46b0b2c44a7e83f2efcd5a3acd12e","model":"qwen/qwen3-30b-a3b","classified_at":"2026-08-27T09:11:03.546Z","created_at":"2026-08-27T09:11:03.546Z","updated_at":"2026-08-27T09:11:03.546Z"},"assets":[{"kind":"image","src_url":"https://obuldanrptloktxcffvn.supabase.co/functions/v1/og-images?description=Auto-generating+data+REST+API.&site=docs&title=Data+REST+API&type=api","r2_key":null,"alt":null,"caption":null,"width":null,"height":null,"is_hero":true,"zone":"main"},{"kind":"image","src_url":"https://supabase.com/docs/supabase-dark.svg","r2_key":null,"alt":"Supabase wordmark","caption":null,"width":96,"height":18,"is_hero":false,"zone":"nav"},{"kind":"image","src_url":"https://supabase.com/docs/supabase-light.svg","r2_key":null,"alt":"Supabase wordmark","caption":null,"width":96,"height":18,"is_hero":false,"zone":"nav"}],"shots":[],"history":[{"id":"run_bqm-gebgdvx-","started_at":"2026-08-27T09:07:31.650Z","http_status":200,"fetcher":"direct","changed":false,"diff":null,"word_count":303}],"citedBy":[{"id":"pg_eyuinj5vpsvi","url":"https://supabase.com/","title":"Supabase | The Postgres Development Platform","anchors":["Data APIsInstant ready-to-use REST APIs."],"zone":"main"},{"id":"pg_laeaiwqhygmg","url":"https://supabase.com/docs/guides/getting-started/quickstarts/reactjs","title":"Use Supabase with React | Supabase Docs","anchors":["the auto-generated Data API endpoints"],"zone":"main"}]}