Google Sheets to JSON API - Sheet as a JSON Endpoint avatar

Google Sheets to JSON API - Sheet as a JSON Endpoint

Pricing

from $5.00 / 1,000 sheet rows

Go to Apify Store
Google Sheets to JSON API - Sheet as a JSON Endpoint

Google Sheets to JSON API - Sheet as a JSON Endpoint

Your spreadsheet as a JSON dataset, on demand or on a schedule. Rows come back keyed by column header with real types - numbers as numbers, dates as ISO-8601 - so they drop into a pipeline, a database load or an LLM prompt with no cleaning step. No Google login for link-shared sheets.

Pricing

from $5.00 / 1,000 sheet rows

Rating

0.0

(0)

Developer

Blackcube

Blackcube

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 hours ago

Last modified

Share

Google Sheets to JSON API

The Google Sheets suite

Your spreadsheet as JSON, on demand or on a schedule. Every row keyed by column header, with real types — so it drops straight into a pipeline, a database load or a prompt with no cleaning step.

Quick start

  1. Open the sheet → ShareGeneral accessAnyone with the linkViewer.
  2. Click Copy link.
  3. Paste it into the Sheet URL input and press Start.
{ "url": "https://docs.google.com/spreadsheets/d/1BxiMVs.../edit?usp=sharing" }

What people use it for

  • A JSON endpoint backed by a spreadsheet. Operations edits the sheet; the app reads JSON.
  • Config and content in Sheets. Copy decks, feature flags, pricing tables, translation strings — edited by people who will never open a repo, consumed as structured data.
  • Loading a database or a warehouse from a sheet without writing a parser for it.
  • Feeding an LLM or an agent rows that already have the right types.

Types, without a cleaning step

With Typed values on (the default):

In the sheetIn your JSON
1234.51234.5 — a number, not "1234.5"
TRUEtrue
22/03/2023"2023-03-22T00:00:00.000Z" — ISO-8601, whatever the sheet's display locale
Senior"Senior"

Turn it off and every value is exactly the text the sheet displays, which is what you want when the formatting itself is the data.

Only the rows you want

The Query input filters on Google's side before anything is sent, so filtered-out rows are never delivered and never billed:

{ "url": "https://docs.google.com/spreadsheets/d/<id>/edit",
"query": "select A, B, D where D > 0 order by D desc limit 100" }

Column letters are the spreadsheet's own. Selecting, filtering, ordering, limiting and date functions all work.

What a row looks like

{
"type": "row",
"spreadsheetId": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
"spreadsheetTitle": "Example Spreadsheet",
"sheetName": "Class Data",
"gid": 0,
"rowNumber": 2,
"changeStatus": null,
"cells": {
"Student Name": "Alexandra",
"Gender": "Female",
"Class Level": "4. Senior",
"Home State": "CA",
"Major": "English",
"Extracurricular Activity": "Drama Club"
},
"scrapedAt": "2026-09-01T00:00:00.000Z"
}

Every cell is keyed by its column header. With Typed values on (the default) numbers arrive as numbers, booleans as booleans and date cells as ISO-8601 strings, so the data is ready for a database load, a JSON pipeline or an LLM prompt without a cleaning pass. Turn it off and every value is exactly the text the sheet displays. Duplicate headers are de-duplicated (Tags, Tags_2), a headerless sheet names its columns with the sheet's own letters (A, B, …), and the invisible trailing columns Google pads every sheet with are dropped.

Alongside the data rows every run returns free rows you are never billed for: a coverage row per sheet (tabs requested, read and errored; rows read, delivered, unchanged and removed; whether the run was complete) and one summary row with the exact spend.

What it costs

You pay forPrice
Each row delivered$5.00 per 1,000 rows
Each row from a private sheet (service account)$10.00 per 1,000 rows
Each spreadsheet successfully read$0.015

Free, always: a sheet that could not be read, a tab that failed, error rows, coverage rows, removed-row notices, the metadata row, the run summary — and on a monitoring schedule, every row that did not change. A run that reads nothing costs nothing.

Set Cost ceiling (USD) to stop any run before it passes a number you choose; the free summary row reports what the run actually spent.

FAQ

Do I need a Google account, or to log in?

No. A link-shared sheet is read from its URL alone — no Google sign-in, no OAuth consent screen, no Drive permission prompt, nothing to install in the sheet.

Copying a share link does not share the sheet. Open Share → General access and change Restricted to Anyone with the link → Viewer. If the sheet genuinely cannot be shared, use the service-account route below instead.

Can it read a sheet that is not shared publicly?

Yes. Create a Google Cloud service account, share the sheet with its …iam.gserviceaccount.com address as a Viewer, and paste its JSON key into Service account JSON. Those rows bill at the private-sheet rate.

Does my spreadsheet ID have to be a particular length?

No. Google has issued IDs of several lengths over the years and all of them are accepted — paste the whole URL and the ID is taken out of it for you.

Can I read more than one sheet in one run?

Yes. Put the extra share links in More sheet URLs. Every row is stamped with the spreadsheet it came from, and the row budget is split across the sheets so the first one cannot consume it.

Can I filter before I pay for rows?

Yes — the Query input runs a SQL-like filter on Google's side, so rows you filter out are never delivered and never billed: select A, C where C contains 'active' order by A limit 100.

Will a schedule re-charge me for data I already have?

No. Turn Monitor for changes on and only rows that were added, updated or removed are billed. A quiet sheet on an hourly schedule costs only its per-sheet sync.

Do I need a proxy?

No. Everything is handled for you and there is nothing to buy on top.

What happens if one tab is broken?

The other tabs still deliver. The failed tab becomes a free error row that names what went wrong, and the free coverage row tells you exactly how much of the sheet you actually got.

Use it from n8n, MCP, the API or a schedule

Built to be called by a workflow, not only from the Store form. The Actor is vonsensey/google-sheets-to-json-scraper-api; every snippet below sends {}, which runs the defaults shown on the form — replace it with your own input.

n8n

Install the Apify community node (@apify/n8n-nodes-apify under Settings → Community Nodes, or search "Apify" on n8n Cloud). Add Apify → Run Actor with Actor vonsensey/google-sheets-to-json-scraper-api and your input JSON, then Apify → Get Dataset Items on the run's defaultDatasetId and pipe the rows anywhere. For scheduled runs, the On new Apify Event trigger fires when a run of this Actor finishes.

MCP (Claude, Cursor, VS Code, any MCP client)

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=vonsensey/google-sheets-to-json-scraper-api",
"headers": {
"Authorization": "Bearer <YOUR_APIFY_TOKEN>"
}
}
}
}

Your agent then calls vonsensey/google-sheets-to-json-scraper-api as a tool with the same input the form takes and reads the dataset back.

REST API (one call, rows in the response)

curl -X POST "https://api.apify.com/v2/acts/vonsensey~google-sheets-to-json-scraper-api/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" -d '{}'

Python

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("vonsensey/google-sheets-to-json-scraper-api").call(run_input={})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row)

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('vonsensey/google-sheets-to-json-scraper-api').call({});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

Make, Zapier, LangChain, CrewAI

The Apify app in Make and Zapier has a Run an Actor module: pick vonsensey/google-sheets-to-json-scraper-api. In LangChain and CrewAI the Apify tool wrappers take the same Actor id. A daily schedule needs nothing but the Console: Schedules → Create → this Actor → cron, and the dataset fills on its own.