SheetJSON.com

=============

Convert Google Spreadsheets to JSON API endpoints instantly. No signup required. No dumpster diving for an API key.

Quick Start

-----------
  1. Set your spreadsheet access to "Anyone with the link."
  2. Ensure the first row contains the column headers
  3. Replace `docs.google.com` with `sheetjson.com` in the URL

Example

-------

Try this example of a Food Truck directory:

Example Spreadsheet:
https://docs.google.com/spreadsheets/d/1olparkGzvli14s-Jn-uVX66vhAf64Fpt78e7pfQPtQ8/edit?gid=1971483596

API Endpoint:
https://sheetjson.com/spreadsheets/d/1olparkGzvli14s-Jn-uVX66vhAf64Fpt78e7pfQPtQ8/edit?gid=1971483596

What about /edit? Google Docs has several URL suffixes that indicate the mode of a document: /edit for editing, /view for viewing, and /preview for previewing. These suffixes can be ignored. You can keep or omit them.

Sample Response:

[
  {
    "truck_id": "FT003",
    "truck_name": "Pasta.exe",
    "cuisine_type": "Italian",
    "signature_dish": "Code Red Ravioli",
    "price_range": "$$",
    "current_location": "Silicon Valley Mall",
    "is_open": true,
    "rating": 4.7,
    "last_review_date": "2024-01-15",
    "weekly_schedule": "Wed-Sun: 12:00-22:00",
    "close_time": "22:00",
    "updated_at": "11/13/2024 20:10:08"
  },
  // ... more entries
]

Features

--------

Accessing Specific Sheets

-------------------------

Use the gid query param to access different tabs in the spreadsheet:

https://sheetjson.com/spreadsheets/d/{spreadsheetId}?gid=1234

Errors

------

Successful responses are a JSON array of rows. Errors use a non-200 status and this shape:

{ "error": "message", "code": "not_public", "docs": "https://sheetjson.com/#error-not-public" }

For agents and tools: llms.txt, openapi.json.

Use Cases

---------

Limitations

-----------

Credits

-------

Parsing is based on public-google-sheets-parser. Hosted on Cloudflare Workers.

Terms of Use

------------

This service is provided as-is without any guarantees.