Private Google Sheets Reader API - Service Account Access avatar

Private Google Sheets Reader API - Service Account Access

Pricing

from $2.00 / 1,000 sheet rows

Go to Apify Store
Private Google Sheets Reader API - Service Account Access

Private Google Sheets Reader API - Service Account Access

Read the sheets you cannot share with a link. Share the sheet once with your own Google service account, paste its JSON key, and internal spreadsheets become a typed dataset - same schema, same multi-tab handling, same change monitoring. Link-shared sheets work here with no credentials.

Pricing

from $2.00 / 1,000 sheet rows

Rating

0.0

(0)

Developer

Blackcube

Blackcube

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

2 days ago

Last modified

Share

Private Google Sheets Reader API

Google Sheets Suite  •  5 Actors, one codebase, one row billed once
Google Sheets Scraper API
Sheet to JSON, No OAuth
Google Spreadsheet Scraper API
Spreadsheet to JSON
Google Sheets to JSON API
Sheet as a JSON Endpoint
Google Sheet Monitor API
Track Row Changes on a Schedule
Private Google Sheets Reader API
➤ You are here

More from this account: YouTube Transcript Suite · Website Contact & Email Suite · Career Site & ATS Jobs Suite · Google News Suite · Keyword Research Suite · Shopify Store Intelligence Suite · eBay Data Suite · Amazon Reviews Suite · Reddit · Meta Ad Library · Vinted · Trustpilot Review Intelligence Suite · App Store & Google Play Reviews Suite · Business Reviews Suite · Amazon Product Data Suite · TikTok Suite · Snapchat Suite · LinkedIn Public Data Suite · Instagram Suite · Contact Validation Suite

The Google Sheets suite

Read the sheets you cannot share with a link. Client data, finance tabs, HR trackers, anything where "Anyone with the link" is not an option.

Quick start — the one-time setup

  1. In Google Cloud ConsoleIAM & AdminService accountsCreate service account.
  2. On that account, KeysAdd keyCreate new keyJSON. A file downloads.
  3. Enable the Google Sheets API for the project.
  4. Open the file and copy the client_email — it looks like something@your-project.iam.gserviceaccount.com.
  5. In the sheet: Share → paste that address → Viewer → Send. (It is a robot account; it will not read anything you do not share with it.)
  6. Paste the entire JSON file into the Service account JSON input here and press Start.

That is it. The sheet stays private to everyone else, and this Actor reads it.

{ "url": "https://docs.google.com/spreadsheets/d/<id>/edit",
"serviceAccountKey": "{ \"type\": \"service_account\", \"client_email\": \"...\", ... }" }

The key is a secret input: it is encrypted, masked in the interface, and nothing from it is kept between runs.

What people use it for

  • Internal spreadsheets that policy forbids link-sharing.
  • Client data under an agreement that rules out a public link.
  • Finance, payroll and HR tabs that need to reach a warehouse without becoming public.
  • Company-wide sheets where sharing settings are locked by an administrator.

Everything the public reader does, on a private sheet

Every tab in one run and one schema · typed values, dates ISO-normalised · several sheets per run · change monitoring on a schedule, where unchanged rows are never billed · per-sheet coverage rows · one failed tab never fails the run.

Link-shared sheets still work here with no credentials at all — leave the key blank and it reads them the public way, at the standard row rate.

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$2.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.

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/private-google-sheets-reader-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/private-google-sheets-reader-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/private-google-sheets-reader-scraper-api",
"headers": {
"Authorization": "Bearer <YOUR_APIFY_TOKEN>"
}
}
}
}

Your agent then calls vonsensey/private-google-sheets-reader-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~private-google-sheets-reader-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/private-google-sheets-reader-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/private-google-sheets-reader-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/private-google-sheets-reader-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.

Use cases

  • Feed a pipeline from a spreadsheet. Keyword lists, URL lists, ASINs, account lists — the team maintains them in Sheets, and this turns that sheet into typed input for the rest of the run.
  • Sheets as an API. Point an app or an agent at a dataset that is always the current contents of a spreadsheet somebody in operations keeps up to date — numbers as numbers, booleans as booleans, dates as ISO-8601, every cell keyed by its column header.
  • Watch a living sheet. Put it on a schedule with monitor on and get a change feed: every row stamped added, updated, removed or unchanged against the previous run.
  • Consolidate client sheets. Twelve customers each with their own spreadsheet, one run, one schema, and every row stamped with the spreadsheet id, tab name and gid it came from.
  • Read the sheets that are not link-shared. Internal sheets, client data and finance tabs come through your own Google service account — share the sheet with its address once, paste the JSON key, and you get the same typed rows and the same monitoring.

Run it on a schedule

A one-off pull answers a question; a schedule answers it every day without you. Open Schedules in the Apify Console, point a cron at this Actor, and the dataset keeps filling on its own — no server, no cron box, no babysitting. Everything here is built to be re-run: you are billed per row delivered, and the FAQ below says exactly what a scheduled run that finds nothing new costs.

FAQ

Do I need a Google account, OAuth or a Drive prompt?

No. A link-shared sheet is read from its URL alone — no sign-in, no OAuth screen, no Drive authorization. A sheet that is not link-shared needs your own service-account key, which you paste into the run as a secret input.

Copying a share link does not share the sheet. While sharing is Restricted, Google answers every public request with a sign-in page. Fix it with Share → General access → Anyone with the link → Viewer, or use the service-account route instead. There is no third option — Google enforces this.

Can I filter before I pay for rows?

Yes. Put a SQL-like statement in queryselect A, C where C contains 'traffic' order by A limit 50 — and Google applies it before anything is sent, so filtered-out rows are never delivered and never billed. Column letters are the sheet's own. In query mode rowNumber comes back null, because a filtered result's true position in the sheet is unknowable and this Actor returns null rather than inventing a number.

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

No. With monitor on, only rows that are new or whose cells actually changed are billed; unchanged and removed rows are delivered free. A quiet sheet still costs its one sheet sync — that is the charge for the sheet being watched, and it is what keeps an hourly cron affordable rather than free.

Can I read every tab, and several spreadsheets, in one run?

Yes to both. Leave Tabs empty and every tab comes back in one schema, each row carrying its sheetName and gid; name tabs or gid numbers to narrow it. Put extra spreadsheets in urls and one run covers all of them — one sheet reached twice in the same run is still one sync.

Do I need a proxy?

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


Something wrong, or a field you need that is missing? Open an issue on the Issues tab — it is read and it gets fixed. If this saved you time, a rating on the Store page helps the next person find it.