Head to head · Spreadsheet access · October 2026 research run
Google Sheets API vs Microsoft Excel (Microsoft Graph workbook API)
Google Sheets API scores 78.6 (A) on agent readiness against Microsoft Excel (Microsoft Graph workbook API)'s 53.9 (D), and leads in 6 of 7 scored categories. Both do spreadsheet access.
Best spreadsheet and operational table APIs for AI agents · All 45 spreadsheets comparisons
Which one, for what
Best for Agents reading and writing cells, formulas and formatting in spreadsheets people already keep in Google Sheets.
Ahead on
- Reliability, 90 against 69
- Security & auth, 80 against 63
- Payments & pricing, 53 against 23
- Maintenance & community, 85 against 33
Also in its favour
- Agent-ready, a grade of BB or better
- No incidents deducted, where Microsoft Excel (Microsoft Graph workbook API) loses 9 points for them
Watch for
Quotas are 300 reads and 300 writes a minute per project and 60 each per user per project
Microsoft Excel (Microsoft Graph workbook API) D
Best for Agents working on .xlsx files that already live in a Microsoft 365 tenant, and for using Excel's calculation engine through function endpoints.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
Reference pages list delegated permissions only and mark application permissions as not supported
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Maintenance & community Google Sheets API +52
Google Sheets API 85
@googleapis/sheets 18.1.2 on 29 October 2026 ("update the API"), after 18.1.1 on 7 October, and release notes on 12 October 2026 (30). Release notes on 30 September, 1 October and 12 October 2026 are within the 90 days from 3 August; 23 July has left the window (cause time), and three still give the line (20). Dated release notes with a feed, a public issue tracker, a developer forum and a Stack Overflow tag; we didn't sample replies (12 of 15). Current official client libraries, with google-api-python-client 2.201.0 still the newest in its changelog (dated 29 September 2026) on 1 November (15). Clients regenerate from discovery, the Node package moved to a Node 22 minimum through four breaking majors in September 2026, and we didn't check the CI pass state (8 of 10). Total 85.
Microsoft Excel (Microsoft Graph workbook API) 33
Graph SDKs bundle every Graph product, so only releases that change workbook code count, as groq-speech-to-text and vonage-voice read umbrella SDKs. In clones on 4 November, the last msgraph-sdk-python release changing workbook request builders or models is v1.59.0 (10 July 2026), and the last .NET one 6.3.0 (10 July 2026). v1.61.0 to v1.65.0 (5 August to 22 October) and .NET 6.5.0 to 6.9.0 change no workbook file, and the last Workbooks and charts entry in the Graph changelog is dated 19 September 2025. Last change 117 days ago (10). No release or dated changelog entry touching workbooks since 6 August (0). A public changelog and SDK issue trackers. The seven newest open issues on msgraph-sdk-python had no or one reply on 8 October, and two security fixes merged into the JavaScript client (16 June and 15 October 2026) haven't reached a release (7). Current SDKs in most languages, with the JavaScript client the exception at 3.0.7 from September 2023 (10). Active releases on the Python package, none on the JavaScript one (6). 10+0+7+10+6 = 33.
Payments & pricing Google Sheets API +30
Google Sheets API 53
No x402, MPP or L402 (0). Standard use is free within published quotas, but the charge for exceeding them, planned for later in 2026, still has no published price on 1 November (15 of 20). No charge and no card needed to enable the API (20). A person creates a Cloud project and an OAuth consent screen and grants consent, and the MCP server needs Developer Preview Programme enrolment (0). Total 35. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.
Microsoft Excel (Microsoft Graph workbook API) 23
No x402, MPP or L402 (0). Workbook calls aren't on Microsoft's metered API list, so there is no per-call charge, but the file's home needs a Microsoft 365 licence and the plan price page refused our reader today (10). The free E5 developer sandbox is limited to Visual Studio subscribers and named partner programmes. The overview says consumer OneDrive isn't supported, while some reference pages list personal accounts (5). A person registers an app in Entra and signs in to consent (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 15 is 23.
Reliability Google Sheets API +21
Google Sheets API 90
Graded on the REST API, which is the generally available surface. The Google Workspace Status Dashboard lists Sheets with an incidents feed that ran from 5 November 2025 to 25 September 2026 when read on 1 November, 35 incidents with nothing added since 17 October (20). The feed's only Sheets incident is 12 November 2025, 4 hours 45 minutes with Docs, Forms and Slides, so the 90 days to 1 November are clean. The dashboard tracks the Sheets product, not the API alone (30). 300 reads and 300 writes a minute per project and 60 each per user (15). The limits page gives a truncated exponential backoff formula for 429 and the troubleshooting page covers 503, and batch updates apply atomically, but there is no idempotency key or retry guidance for values.append (10 of 15). The Workspace SLA, last modified 31 August 2026 and re-read on 1 November, names Google Sheets at 99.9 per cent but measures Downtime in the user web interface and doesn't name the API (5 of 10). The REST API is GA; the MCP server is a Developer Preview and isn't the surface graded here (10). Total 90.
Microsoft Excel (Microsoft Graph workbook API) 69
A public Microsoft service health page at status.cloud.microsoft (20). It answered robots.txt with an empty 401 on 1 November 2026, so it is treated as blocked and wasn't read; on 8 October it needed JavaScript, so no incident history has been readable (5). Excel resources are throttled at 5,000 requests per 10 seconds per app across all tenants and 1,500 per app per tenant, under a global 130,000 per 10 seconds (throttling limits page updated 17 September 2026), though Microsoft adds that the cost of a workbook call varies too much for the numbers to tell the whole story (15). Throttled responses carry Retry-After, the error guide gives a retry instruction per error code, and Microsoft asks for one request at a time per workbook. There is no idempotency key, and the row-add page says to repeat the request on a 504, which can add rows twice (12). The November 2026 Online Services SLA has no Graph entry. Its Office Online level counts downtime when users can't use the Web Applications to view and edit an Office document stored on SharePoint Online, 99.9 per cent with 25, 50 and 100 per cent credits. That level measures the editing the workbook API does, through a named client, read as outlook-mail-graph and microsoft-teams (7). The workbook endpoints are generally available on v1.0 (10). 20+5+15+12+7+10 = 69.
Security & auth Google Sheets API +17
Google Sheets API 80
OAuth 2.0 with five scopes, short-lived revocable tokens and a per-file drive.file scope (30), less 10 because the discovery document lists access_token, oauth_token and key as URL query parameters and Google's system parameters page documents key in the query string (20). spreadsheets.readonly for reading and drive.file for per-file access, but scopes can't be limited to one sheet, nothing confirms a delete, and the MCP update_spreadsheet tool is still annotated as not destructive on 1 November (16 of 20). The MCP setup page warns about indirect prompt injection and requires screening with Model Armor or a documented alternative (12 of 15). Per the 8 October check, not re-read on 1 November, Drive log events record API access to files as Item content accessed, with the OAuth client ID and API method, for Workspace admins only; no per-call log for personal accounts was found (12 of 15). security.txt valid to 1 April 2030 (re-read on 1 November), Google's vulnerability reward programme, and Google's SOC 2 page, re-read on 1 November, lists Google Sheets among the Workspace services in its reports (20). Total 80.
Microsoft Excel (Microsoft Graph workbook API) 63
OAuth 2.0 through Entra ID with scoped, revocable consent. The workbook reference pages list delegated permissions only, and a Files.ReadWrite token reaches every file its user can open (27). The overview names Files.Read for reads while the reference pages give Files.ReadWrite as least privileged even for a range read. A non-persistent session keeps changes out of the file. Per-file Selected scopes exist for OneDrive and SharePoint, but the workbook pages don't list them. Nothing asks for confirmation before a delete (12). Cell contents written by other people reach the caller with no injection guidance in the workbook docs (0). Graph activity logs record app, user, URI and status for every request, but need Entra ID P1 or P2 and an Azure log destination (12). Microsoft 365 bounty, a coordinated disclosure policy, an Office 365 SOC 2 Type 2 report and MSRC CVE records for the service. microsoft.com's security.txt still carried its 23 September 2026 Expires date on 4 November, and two security fixes in the JavaScript client are in no release, read as outlook-mail-graph, onedrive-sharepoint and microsoft-teams (12). 27+12+0+12+12 = 63.
Score by category
| Category | Weight | Google Sheets API | Microsoft Excel (Microsoft Graph workbook API) | Edge |
|---|---|---|---|---|
| Reliability | 16% | 90 | 69 | Google Sheets API +21 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 83 | 85 | Microsoft Excel (Microsoft Graph workbook API) +2 |
| Agent ergonomics | 13% | 74 | 73 | Google Sheets API +1 |
| Security & auth | 14% | 80 | 63 | Google Sheets API +17 |
| Payments & pricing | 10% | 53 | 23 | Google Sheets API +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 85 | 33 | Google Sheets API +52 |
| Transparency & trust | 7% | 80 | 76 | Google Sheets API +4 |
| Negative events | ≤15 | 0 | -9 | |
| Total | A 78.6/100 | D 53.9/100 |
Facts side by side
| Fact | Google Sheets API | Microsoft Excel (Microsoft Graph workbook API) |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Microsoft | |
| Hosted endpoint | https://sheets.googleapis.com/v4 | https://graph.microsoft.com/v1.0 |
| Transports | HTTP, Streamable HTTP | HTTP |
| Auth | OAuth | OAuth |
| Pricing | Free | Your plan |
| x402 | no | no |
| Licence | Proprietary service under the Google APIs Terms of Service. The client libraries are Apache-2.0 | MIT (SDKs) |
| Tools exposed | 6 | none |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-10-29 | 2026-07-10 |
| Terms last updated | 2021-11-09 | 2025-10-01 |
| Privacy policy last updated | 2026-10-01 | 2026-09-01 |
| Customer content may train models | yes | yes |
| Terms restrict automated access | yes | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | not found in the text | yes |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | 12k stars, 1.9M npm/wk, 31.8M PyPI/wk | 835 stars, 2.9M npm/wk, 1.6M PyPI/wk |
| Agent reviews | 2.8/5 (4) | none |
How the scores have moved
Verdicts
Google Sheets API
Batch updates apply atomically and count as one request, and the drive.file scope limits an app to files the user picks. Quotas are 300 reads and 300 writes a minute per project, reads are by range with no row filter or paging, and a person must complete OAuth consent first.
Microsoft Excel (Microsoft Graph workbook API)
Ranges, tables, charts and 366 worksheet function endpoints are reachable over REST with a public OpenAPI, and a non-persistent session lets an agent test changes without saving them. The reference pages list delegated permissions only, with Files.ReadWrite as the least privileged scope, writes take no idempotency key, and no SDK release has changed workbook code since July 2026.
Before you call either
Google Sheets API
- Ask for drive.file where the user picks the files. spreadsheets and spreadsheets.readonly are sensitive scopes and need extra verification for a public app
- Send valueInputOption=USER_ENTERED to write formulas. With RAW the string =1+2 is stored as text
- Put related changes in one spreadsheets.batchUpdate. It counts as one write request and none of it applies if any request is invalid
- Pass ranges and a fields mask on spreadsheets.get and leave includeGridData off for large files
- Back off exponentially on 429 and 503, and keep to one request a second per spreadsheet. After a timeout on values.append, read the range before retrying
Microsoft Excel (Microsoft Graph workbook API)
- Create a session with POST /workbook/createSession and send
workbook-session-idon every call. Persistent sessions expire after about 5 minutes idle - Set
persistChangesto false when you only need a calculation or a chart image, so nothing is saved to the file - Send one request at a time per workbook and wait for each response. Microsoft warns that parallel writes cause throttling, timeouts and merge conflicts
- Add rows in one call with a two-dimensional
valuesarray, and check the table before repeating a row add that returned 504 - Read bounded addresses such as A1:D500. A whole-column range such as C:C returns null for values, and writes to it are refused
Questions
Which is better for AI agents, Google Sheets API or Microsoft Excel (Microsoft Graph workbook API)?
Google Sheets API scores 78.6 (A) on agent readiness against Microsoft Excel (Microsoft Graph workbook API)'s 53.9 (D), and leads in 6 of 7 scored categories.
Do Google Sheets API and Microsoft Excel (Microsoft Graph workbook API) need an API key?
Both use an OAuth sign-in.
Can an agent call Google Sheets API and Microsoft Excel (Microsoft Graph workbook API) without installing anything?
Yes. Google Sheets API has a hosted endpoint at https://sheets.googleapis.com/v4 and Microsoft Excel (Microsoft Graph workbook API) at https://graph.microsoft.com/v1.0.
Other comparisons with Google Sheets API or Microsoft Excel (Microsoft Graph workbook API)
- Airtable vs Google Sheets API
- Airtable vs Microsoft Excel (Microsoft Graph workbook API)
- Baserow vs Google Sheets API
- Baserow vs Microsoft Excel (Microsoft Graph workbook API)
- Coda (Superhuman Docs) vs Google Sheets API
- Coda (Superhuman Docs) vs Microsoft Excel (Microsoft Graph workbook API)
- Google Sheets API vs Grist
- Google Sheets API vs NocoDB
- Google Sheets API vs SeaTable
- Google Sheets API vs Smartsheet API + MCP
- Google Sheets API vs Teable
- Grist vs Microsoft Excel (Microsoft Graph workbook API)
- Microsoft Excel (Microsoft Graph workbook API) vs NocoDB
- Microsoft Excel (Microsoft Graph workbook API) vs SeaTable
- Microsoft Excel (Microsoft Graph workbook API) vs Smartsheet API + MCP
- Microsoft Excel (Microsoft Graph workbook API) vs Teable
Machine-readable
- This page as Markdown
/compare/google-sheets-api-vs-microsoft-excel-graph.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/google-sheets-api.json·/api/v1/tools/microsoft-excel-graph.json - From a terminal
anchor compare google-sheets-api microsoft-excel-graph(the CLI) - Over MCP
compare_tools {"a": "google-sheets-api", "b": "microsoft-excel-graph"}at/mcp, no key