I work on Sheets tools at Crispy Data. A problem I kept hitting: take a JSON API and land it in Google Sheets as rows and columns, including nested fields, without writing a new Apps Script for every URL — and without watching an 18-digit ID get rounded into a different number.
The notes below are useful whether or not you use a special add-on. At the end I'll describe Crispy Import, a small unpublished add-on I built, and how to request a free beta place if you want to try it.
Sheets is a table. JSON often isn't
IMPORTDATA is built for tabular text such as CSV. A JSON response usually arrives as one messy cell or an error. To make a usable sheet you need to decide where the rows are.
A simple public list can be written as-is. This URL returns 10 made-up users:
https://jsonplaceholder.typicode.com/users
Nested objects become columns such as address.city and company.name. You should get a header plus 10 data rows and 15 columns.
When the useful rows are nested, you need a path. The USGS significant-earthquakes feed is a GeoJSON FeatureCollection. This path expands each feature and uses its properties object as the row:
features[*].properties
Path syntax that works here:
-
address.city— dotted keys -
[0]— one index -
[*]— expand an array into rows -
["quoted.key"]— keys that contain dots or spaces
The quake count changes with the feed. Judge the result by "one row per earthquake, with mag, place, and time," not by a fixed row count.
The 18-digit ID problem
JavaScript and Google Sheets both lose precision on integers larger than 2^53. An 18-digit ID stored as a number can change in the cell. A public simdjson fixture is a good check. The id in this object should be exactly 505874924095815681, not a rounded value such as 505874924095815700:
https://cdn.jsdelivr.net/gh/simdjson/simdjson@1b4d3bcbb6b13fd0cc539fdebcba2d0fcae86d3d/jsonexamples/twitter.json
Path: statuses[0]
If you write values yourself, format the ID column as Plain text before the values land. Once Sheets has already coerced the number, changing the format will not bring the lost digits back.
Pagination can silently duplicate rows
If an API paginates and your request parameters are ignored, page 2 may be a copy of page 1. Stop when a page repeats. Otherwise the sheet quietly fills with duplicates.
Imports also consume your Google Apps Script daily URL-fetch quota, shared with every other script you run. A formula that refetches on every unrelated edit can burn through that limit faster than you expect.
Only request https:// URLs. If something fails, a message that includes a short error code and the HTTP status is much easier to debug than a bare #ERROR!.
A formula that does this in a test sheet
Crispy Import exposes a custom function and a sidebar. I built it, and I want to be clear about what it is and isn't.
In a sheet where the add-on is available:
=CRISPY_IMPORT("https://jsonplaceholder.typicode.com/users")
=CRISPY_IMPORT("https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/significant_week.geojson", "features[*].properties")
=CRISPY_IMPORT("https://cdn.jsdelivr.net/gh/simdjson/simdjson@1b4d3bcbb6b13fd0cc539fdebcba2d0fcae86d3d/jsonexamples/twitter.json", "statuses[0]")
The sidebar is under Crispy Import → Open importer…. A public /posts URL at start cell A6 should report Wrote 100 rows. Pagination, when you need it, is a sidebar menu with None, Page number, Offset / limit, Cursor, and Link header. Leave it on None for the single-page examples above. If a later page is identical to the previous one, the importer stops.
Current beta limits: formula imports up to 5,000 rows and 8 pages; sidebar imports up to 25,000 rows and 40 pages. Scheduled refresh is off in this beta. Errors are meant to start with Crispy Import error […]. Saved sidebar credentials stay in your script storage, not in the sheet, and the formula cannot read them — don't put secrets in a formula anyway.
If you want to try the beta
This is a free, invite-only beta until Friday, January 8, 2027, 11:59 p.m. Pacific Time. There are 25 places. A place is not guaranteed. If you join after Friday, December 18, 2026, access lasts 30 days from the day we share a test sheet.
The add-on is not on the Google Workspace Marketplace, and Google has not verified it. It runs in Google's Testing mode. On first run you should see the unverified-app / "this app is being tested" notice, with Continue and Back to safety. That screen is expected. Stop if you see Access blocked, an Advanced link, or Go to … (unsafe).
If we can offer a place, we share a private test spreadsheet that Crispy Data owns and can open. Please use public or dummy data only. Don't share the sheet or its link, and don't use File → Make a copy during the test.
Request a place here:
I'll follow up within 1 business day if we can offer you a place, and walk through that warning screen.
Official how-to: How to import JSON into Google Sheets
Support and beta terms: https://sites.google.com/view/crispy-import
Privacy: https://sites.google.com/view/crispy-import/privacy
Questions: support@crispyestimator.com
I'm happy to talk in the comments about the import path, including what's not in this beta.
Top comments (0)