# SheetDB > SheetDB turns a Google Sheet into a JSON REST API. Sign in with Google, paste a spreadsheet URL and get an endpoint that reads, searches, adds, updates and deletes rows over HTTP, with no Google Cloud project, no OAuth code and built-in caching. Free plan available, no credit card required. Key facts: - Each API is bound to one Google spreadsheet; the first row is the header and every other row is returned as a JSON object keyed by the header names, e.g. `GET https://sheetdb.io/api/v1/58f61be4dda40` returns `[{"id":"1","name":"Tom","age":"15","comment":""}, ...]` (a public demo API). - Endpoints: `GET /api/v1/{id}` (read), `GET /search` and `/search_or` (filter with comparisons like `age=>18`, wildcards `*` and negation), `POST` (add rows), `PATCH`/`PUT /{column}/{value}` (update), `DELETE /{column}/{value}` (delete), plus batch update, JSON import, CSV export and tab management. - Security is optional and per API: Bearer token or HTTP Basic auth, per-method permissions (read/create/update/delete), CORS origin restriction and IP whitelist. - Read responses are cached for 15 seconds by default; the duration is configurable and the cache can be purged. - SheetDB calls the official Google Sheets API on the user's behalf; cached reads do not reach Google, which keeps sites within Google's per-minute quotas. - Plans are billed by monthly requests and number of APIs: - Free: free forever, 2 APIs, 500 requests/month. - Basic: $29.99/month ($25.49/month billed yearly), 5 APIs, 10,000 requests/month. - Premium: $49.99/month ($42.49/month billed yearly), 20 APIs, 50,000 requests/month. - Business: $129.99/month ($110.49/month billed yearly), 50 APIs, 500,000 requests/month. - Enterprise: $399.99/month and up, unlimited APIs, unlimited requests/month. - Works from any language or tool that sends HTTP requests: JavaScript, PHP, Node.js, Python, WordPress (free plugin), Bubble, Adalo, n8n, Make, other no-code tools with an HTTP step, and plain HTML forms. ## Product - [Homepage](https://sheetdb.io/): What SheetDB is, code examples and how the JSON API works. - [Pricing](https://sheetdb.io/pricing): Free and paid plans, request quotas and features per plan. - [Use cases and tutorials](https://sheetdb.io/use-cases): Integrations and step-by-step guides. ## Guides - [Use Google Sheets as a database](https://sheetdb.io/solutions/google-sheets-as-database): Query, insert, update and delete rows from a website or app; structure, limits and caching. - [Import JSON to Google Sheets](https://sheetdb.io/solutions/import-json-to-google-sheets): Create a sheet from JSON or a JSON URL, and read any sheet as JSON. - [Display Google Sheets on a website](https://sheetdb.io/use-cases/display-google-sheets-on-website): Show live rows as an HTML table, list or catalog with one script tag or fetch(). - [HTML form to Google Sheets](https://sheetdb.io/use-cases/submit-to-google-sheets-with-html-form): Save form submissions into a sheet without a backend. - [WordPress with Google Sheets](https://sheetdb.io/use-cases/wordpress-with-google-sheets): Free plugin and shortcodes to show sheet data in WordPress. - [Google Sheets API in PHP](https://sheetdb.io/use-cases/google-sheets-json-data-with-php): Read, search, insert and update rows from PHP. - [Google Sheets API in Node.js](https://sheetdb.io/use-cases/google-spreadsheet-data-with-node-js): Fetch, insert and update rows without googleapis. - [Bubble with Google Sheets](https://sheetdb.io/use-cases/bubble-with-google-sheets): API Connector setup for reading and writing rows. - [Adalo with Google Sheets](https://sheetdb.io/use-cases/adalo-with-google-sheets): Use a sheet as an Adalo External Collection. - [n8n and Make with Google Sheets](https://sheetdb.io/use-cases/n8n-make-with-google-sheets): HTTP Request node setup and automation recipes. - [Dialogflow with Google Sheets](https://sheetdb.io/use-cases/dialogflow-with-google-spreadsheet): Save chatbot data to a sheet with a webhook. ## Comparisons - [SheetDB vs alternatives](https://sheetdb.io/compare): Overview table of SheetDB, the Google Sheets API, Apps Script and Sheety. - [SheetDB vs Google Sheets API](https://sheetdb.io/compare/sheetdb-vs-google-sheets-api): Setup, OAuth, quotas (60 reads and 60 writes per minute per user by default), caching, search and code side by side. - [SheetDB vs Google Apps Script](https://sheetdb.io/compare/sheetdb-vs-google-apps-script): A doGet/doPost web app versus a ready REST API, including CORS and auth. - [SheetDB vs Sheety](https://sheetdb.io/compare/sheetdb-vs-sheety): Two hosted Google Sheets REST APIs: JSON format, filters, write support, free plans. ## Documentation - [Introduction](https://docs.sheetdb.io/): Overview of the SheetDB API. - [Quickstart](https://docs.sheetdb.io/quickstart): Create a first API in a few steps. - [What is a request](https://docs.sheetdb.io/what-is-a-request): How requests are counted against the plan quota. - [Authentication](https://docs.sheetdb.io/authentication): Bearer token and Basic auth per API. - [Permissions](https://docs.sheetdb.io/permissions): Enable or disable read, create, update and delete. - [Read](https://docs.sheetdb.io/sheetdb-api/read): Get rows, keys, count; sheet, limit, offset, sort and cast_numbers parameters. - [Search](https://docs.sheetdb.io/sheetdb-api/search): Filter rows with AND/OR, comparisons and wildcards. - [Create](https://docs.sheetdb.io/sheetdb-api/create): Add one or many rows. - [Update](https://docs.sheetdb.io/sheetdb-api/update): Update rows by column value, batch update. - [Delete](https://docs.sheetdb.io/sheetdb-api/delete): Delete rows by column value. - [Other methods](https://docs.sheetdb.io/sheetdb-api/other): JSON import, CSV export, tabs and more. - [Cache](https://docs.sheetdb.io/cache): How read caching works and how to purge it. - [Limits](https://docs.sheetdb.io/limits): Plan quotas and rate limits. - [Errors](https://docs.sheetdb.io/errors): Error responses and how to fix them. - [HTML snippet](https://docs.sheetdb.io/handlebars): Render sheet rows in any HTML page with one script tag and placeholders. ## Optional - [Full version of this file](https://sheetdb.io/llms-full.txt): Longer reference with API examples, plan details and comparison summaries. - [Status page](https://status.sheetdb.io): Current and past uptime. - [GitHub](https://github.com/sheetdb): Client libraries and examples. - [Blog](https://blog.sheetdb.io/): Articles and tutorials.