All posts
Blog

Get a Free JSON API from Any Google Sheet

The fastest way to turn a Google Sheet into a JSON REST API — for free, without writing backend code, in under 2 minutes.

2 min read

Your spreadsheet is already a database. Make it act like one.

If you have a Google Sheet with data in it, you're two minutes away from a JSON API you can hit from any app, script, or fetch call — no backend, no OAuth setup, no credit card.

Here's the exact flow.

Step 1: Format your sheet

GKit SheetsAPI reads the first row of each tab as field names. That's the only convention. A sheet that looks like this:

namerolelocation
Ana FolauDesignerAuckland
Ben OkaforEngineerLagos

…becomes clean JSON objects with name, role, and location keys. If your sheet already has headers, you're done.

Step 2: Connect to GKit

Go to GKit and sign in with Google. GKit requests only the Sheets read scope — nothing else. Paste your sheet URL into the dashboard. You get back a userKey.

Step 3: Call your API

The endpoint pattern is:

https://sheetsapi.gkit.mreshank.com/api/spreadsheets/{userKey}/{TabName}

A real fetch call:

const res = await fetch(
  "https://sheetsapi.gkit.mreshank.com/api/spreadsheets/abc123/Team"
);
const data = await res.json();
// data.rows → [{ name: "Ana Folau", role: "Designer", location: "Auckland" }, ...]

What the response looks like

{
  "rows": [
    { "name": "Ana Folau", "role": "Designer", "location": "Auckland" },
    { "name": "Ben Okafor", "role": "Engineer", "location": "Lagos" }
  ],
  "total": 2
}

Every row in the sheet becomes an object. The keys match your header row exactly — casing, spacing, and all.

Filter, sort, and paginate without writing code

The endpoint accepts query parameters so you don't need a backend to do basic data operations:

# Only designers
?search=Designer&searchField=role

# Sorted by name, 10 per page
?sort=name&order=asc&limit=10&offset=0

These work on the URL — you can use them straight from a static site or a no-code tool.

What this costs

Nothing, while GKit is in beta. There are no row limits, no plan tiers, and no "free tier" rate throttling. You get the same API a paying customer would.

When this is the right tool

GKit SheetsAPI is the right choice when:

  • You want to serve data from a sheet to a web app or mobile app
  • You're building a prototype and don't want to spin up a database yet
  • Non-technical teammates manage the data in Sheets and you consume it in code
  • You need CORS-enabled JSON without writing a proxy

It is not the right choice if you need to programmatically update spreadsheet formatting, run formula evaluations, or manipulate cell ranges directly — for that, the Google Sheets API is the right tool. See how the two compare.

Get started

Sign in with Google, paste a sheet URL, and you'll have a working JSON endpoint in under two minutes. No backend required.

Share