# SheetJSON > Free, keyless JSON API for public Google Sheets. Take a Google Sheets URL, replace `docs.google.com` with `sheetjson.com`, and GET it to receive the rows as a JSON array of objects. ## When to use - You need the contents of a Google Sheet that is shared as "Anyone with the link", as JSON. - Read-only. SheetJSON cannot write to a sheet or read private sheets. - No sign-up, API key or auth header. Plain GET over HTTPS, with CORS open to all origins. ## How to call `GET https://sheetjson.com/spreadsheets/d/{spreadsheetId}/edit?gid={gid}` - `spreadsheetId`: the id from the Google Sheets URL. - `gid`: the numeric tab id (`gid=` in the sheet URL). Optional; defaults to 0. It may also be given as a path segment: `/spreadsheets/d/{spreadsheetId}/{gid}`. `/edit`, `/view` and `/preview` are optional. - Response `200`: `[{"": , ...}, ...]`. Row 1 of the tab supplies the keys. Empty cells are omitted. Columns without a header are keyed by column letter (`A`, `B`, ...). Dates are returned in the sheet's display format. ## Errors Errors are JSON: `{"error": "", "code": "", "docs": ""}`. - `404 not_public`: the sheet does not exist or is not shared as "Anyone with the link". - `404 invalid_url`: the path is not a sheet URL. - `400 invalid_gid`: gid is not numeric. - `413 too_large`: the sheet is too large to convert. - `502 upstream_unavailable`: Google did not respond. Retry later. ## Limits - Responses are cached for about 5 minutes, so sheet edits can take that long to appear. - A gid that does not exist returns another tab of the same sheet (Google's behavior). Check the gid. - Abusive traffic may be rate limited. ## Links - [OpenAPI spec](https://sheetjson.com/openapi.json) - [Home and docs](https://sheetjson.com/)