/v4/spreadsheets/{spreadsheetId}
GET
/v4/spreadsheets/{spreadsheetId}
spreadsheets
fields
URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the includeGridData
parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using A1 notation. You can define a single cell (for example, A1
) or multiple cells (for example, A1:D5
). You can also get cells from other sheets within the same spreadsheet (for example, Sheet2!A1:C4
) or retrieve multiple ranges at once (for example, ?ranges=A1:D5&ranges=Sheet2!A1:C4
). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sheets.googleapis.com//v4/spreadsheets/'
Response Response Example
Request
Path Params
spreadsheetId
string
required
Query Params
includeGridData
string
optional
ranges
array[string]
optional