Read and write spreadsheets. The most accessible database in the world.
https://sheets.googleapis.com
The Google Sheets API (v4) lets you read, write, and format spreadsheet data. Use it as a lightweight database, config store, or data pipeline destination. The API supports reading ranges, appending rows, batch updates, and creating new spreadsheets.
Authentication uses OAuth2 access tokens or API keys (for public sheets). For server-to-server access, use a service account. The API uses A1 notation for cell ranges (e.g., Sheet1!A1:D10).
| Method | Path | Description |
|---|---|---|
| GET | /v4/spreadsheets/{id} |
Get spreadsheet metadata (sheets, named ranges) |
| GET | /v4/spreadsheets/{id}/values/{range} |
Read cell values from a range |
| PUT | /v4/spreadsheets/{id}/values/{range} |
Write values to a range |
| POST | /v4/spreadsheets/{id}/values/{range}:append |
Append rows to a sheet |
| POST | /v4/spreadsheets |
Create a new spreadsheet |
| POST | /v4/spreadsheets/{id}:batchUpdate |
Batch update cells and formatting |
Write analytics results, crawl data, or API responses to spreadsheets for sharing.
Use a spreadsheet as a configuration store that non-developers can edit.
Generate weekly/monthly reports by writing structured data to formatted sheets.
Read Google Forms responses and process them programmatically.