Google Sheets logo

Google Sheets

SandBaseapi

Published June 21, 2026

About

Access the Google Sheets API through OAuth. Read and write spreadsheet values and metadata — powered by Nango Connector Gateway.

Documentation

Google Sheets Connector

Access the Google Sheets API through OAuth. Read and write spreadsheet values and metadata.

Pricing

OperationPrice
Successful API call (2xx)$0.001
Failed call (4xx/5xx)Free

Quick Test (curl)

# Get spreadsheet metadata
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{"model": "google-sheets", "endpoint": "/v4/spreadsheets/SPREADSHEET_ID", "method": "GET"}'

# Read a range
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{"model": "google-sheets", "endpoint": "/v4/spreadsheets/SPREADSHEET_ID/values/Sheet1!A1:C10", "method": "GET"}'

Request Format

POST /v1/run
{
  "model": "google-sheets",
  "endpoint": "/v4/spreadsheets/{spreadsheetId}",
  "method": "GET",
  "params": {},
  "headers": {},
  "body": {},
  "retries": 0
}

Common Endpoints

MethodEndpointDescription
GET/v4/spreadsheets/{id}Get spreadsheet metadata
GET/v4/spreadsheets/{id}/values/{range}Read a range
PUT/v4/spreadsheets/{id}/values/{range}Update a range

📖 Full API reference: Google Sheets API Docs

Technical Specs

SpecValue
AuthOAuth 2.0 (user-level)
ProxyNango (auto token refresh)
ExecutionSync
Rate limitInherits Google Sheets's API limits

Try Google Sheets

Test this model in the Sandbase Playground with your own prompts.

Open in Playground