74trust / 100

Google Sheets

by Nero Labs Agent Tools in Productivity & SaaS

x402 APIPassing, checked 5 h ago

Writes up to 1,000 JSON rows to a Google Sheet (append, replace, or update rows matched on keyColumn, adding new keys) or reads a tab back as JSON (mode import). No OAuth: share the sheet with [email protected] as Editor. Keeps column order, adds new fields on the right, waits out Google rate limits. $0.005 per call plus $0.0002 per row sent, or $0.0001 per row allowed on import. Runs nerolabs/google-sheets-export.

POST
https://x402-agent-tools.nerolabs.workers.dev/google-sheets
Price
$0.0052
per call in USDC
Uptime
98.0%
last 30 days
Response time
570 ms
1.2 s slowest 5%
Last check
Passed
5 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://x402-agent-tools.nerolabs.workers.dev/google-sheets

Each call costs $0.0052 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://x402-agent-tools.nerolabs.workers.dev/google-sheets
content-type: application/json

{
  "mode": "append",
  "rows": [
    {
      "city": "London",
      "company": "Northwind Traders",
      "rating": 4.6
    }
  ],
  "sheetName": "Leads",
  "spreadsheet": "https://docs.google.com/spreadsheets/d/1gV5ZFKQsKgake9aKTTQRaPRwmA7yS4BZySrmzGqNVAg/edit"
}

Parameters

ParameterTypeRequiredDescription
addNewRowsbooleanNoUpdate mode: add rows for keys not yet in the sheet (default true). Default: true.
columnsarray of stringNoOptional: only these fields, in this order.
keyColumnstringNoUpdate mode: the field that identifies a row, such as id, url, sku or email.
limitintegerNoImport mode: rows to read (default 200, at most 1,000). Default: 200.
modestringNoappend: add rows after the last row with data. replace: overwrite the tab, then remove old rows left below. update: match rows on keyColumn and change only the fields sent, adding rows for new keys. import: read the tab back as JSON rows (first row = column names). One of: append, replace, update, import. Default: "append".
offsetintegerNoImport mode: rows to skip first.
parseValuesbooleanNotrue: values are entered as if typed (dates, numbers, =formulas). false (default): written exactly as sent. Default: false.
rowsarray of objectNoRows to write (append, replace, update), as JSON objects; keys become columns. Up to 1,000 per call. Nested objects become parent/child columns.
sheetNamestringNoTab name. Created if missing. Default: the tab in the link, or the first tab.
spreadsheetstringYesGoogle Sheet link or ID. The sheet must be shared with [email protected] as an Editor (no OAuth).

Example response

The provider's example. We can't check it without paying.

Example response, 34 lines
{
  "count": 1,
  "rows": [
    {
      "columnsAdded": [],
      "finishedAt": "2026-10-29T16:00:29.900Z",
      "googleRequests": 3,
      "message": "Wrote 4 row(s) (4 added, 0 updated) to Nero Labs Google Sheets Export Demo / Sheet1.",
      "mode": "replace",
      "rateLimitHits": 0,
      "retries": 0,
      "rolledOverTo": [],
      "rowsAppended": 4,
      "rowsImported": 0,
      "rowsNotWritten": 0,
      "rowsRead": 4,
      "rowsSkippedNoKey": 0,
      "rowsUpdated": 0,
      "rowsWritten": 4,
      "secondsWaitedForGoogle": 0,
      "spreadsheetTitle": "Nero Labs Google Sheets Export Demo",
      "spreadsheetUrl": "https://docs.google.com/spreadsheets/d/1gV5ZFKQsKgake9aKTTQRaPRwmA7yS4BZySrmzGqNVAg/edit",
      "status": "ok",
      "tabs": [
        "Nero Labs Google Sheets Export Demo / Sheet1"
      ],
      "totalColumns": 7,
      "truncatedCells": 0,
      "warnings": [
        "The demo sheet is always replaced (never appended to). Paste your own sheet link to append or update."
      ]
    }
  ]
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.0052.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://x402-agent-tools.nerolabs.workers.dev/google-sheets' \
  -H 'content-type: application/json' \
  --data-raw '{"mode":"append","rows":[{"city":"London","company":"Northwind Traders","rating":4.6}],"sheetName":"Leads","spreadsheet":"https://docs.google.com/spreadsheets/d/1gV5ZFKQsKgake9aKTTQRaPRwmA7yS4BZySrmzGqNVAg/edit"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://x402-agent-tools.nerolabs.workers.dev/google-sheets' \
  -H 'content-type: application/json' \
  --data-raw '{"mode":"append","rows":[{"city":"London","company":"Northwind Traders","rating":4.6}],"sheetName":"Leads","spreadsheet":"https://docs.google.com/spreadsheets/d/1gV5ZFKQsKgake9aKTTQRaPRwmA7yS4BZySrmzGqNVAg/edit"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.0052 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.0052" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.0052 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402-agent-tools.nerolabs.workers.dev%2Fgoogle-sheets&method=POST
const res = await pay("https://x402-agent-tools.nerolabs.workers.dev/google-sheets", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "mode": "append",
    "rows": [
      {
        "city": "London",
        "company": "Northwind Traders",
        "rating": 4.6
      }
    ],
    "sheetName": "Leads",
    "spreadsheet": "https://docs.google.com/spreadsheets/d/1gV5ZFKQsKgake9aKTTQRaPRwmA7yS4BZySrmzGqNVAg/edit"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.0052 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.0052"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://x402-agent-tools.nerolabs.workers.dev/google-sheets",
        json={
            "mode": "append",
            "rows": [
                {
                    "city": "London",
                    "company": "Northwind Traders",
                    "rating": 4.6,
                },
            ],
            "sheetName": "Leads",
            "spreadsheet": "https://docs.google.com/spreadsheets/d/1gV5ZFKQsKgake9aKTTQRaPRwmA7yS4BZySrmzGqNVAg/edit",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed40269 ms$0.0052
38 h agoTimed out---
3 days agoTimed out---
4 days agoPassed402499 ms$0.0052
4 days agoPassed402676 ms$0.0052
Show 10 older checks
5 days agoPassed402737 ms$0.0052
5 days agoPassed402166 ms$0.0052
6 days agoPassed402610 ms$0.0052
6 days agoPassed40255 ms$0.0052
6 days agoPassed4021.1 s$0.0052
7 days agoPassed402135 ms$0.0052
7 days agoPassed402802 ms$0.0052
7 days agoPassed40283 ms$0.0052
7 days agoPassed402728 ms$0.0052
8 days agoPassed402759 ms$0.0052