looker-url-json-connector

Any JSON API as a Looker Studio data source

A free, open-source community connector for HTTPS JSON APIs that take a key in a request header. It runs in your own Google account, so your token and your data pass through no third party.

Not in the Looker Studio connector gallery yet: today you deploy it yourself from the source, in about ten minutes.

Why it exists

Looker Studio has no free, generic way to read a JSON API that needs an authorization header. The usual choices are a paid partner connector, or a service in the middle that receives your API token and your data.

How it works

  1. Deploy the script to your Google account with clasp and open the connector in Looker Studio by its deployment id.
  2. Enter the key and the API URL. Looker Studio asks for the key in its own credentials dialog; the URL, an optional query string and the path to the rows go into the connector settings.
  3. Build charts. The connector detects the fields and their types from the response and passes the report's date range to the API.

An API that answers like this needs no settings beyond its URL:

GET https://api.example.com/metrics/v1?metric=dau&from=2026-11-01&to=2026-11-23
Authorization: Bearer <your key>

[
  {"day": "2026-11-22", "metric": "dau", "value": 120},
  {"day": "2026-11-23", "metric": "dau", "value": 123}
]

In Looker Studio it becomes a date dimension day, a text dimension metric and a number metric value.

What you can configure

SettingDefaultFor
API URLrequiredAny public https:// endpoint
Query stringemptyExtra parameters such as metric=dau
JSON path to rowsemptyResponses that wrap the rows, for example data.items
Header name and schemeAuthorization: BearerAPIs that expect X-Api-Key or another scheme
Date parametersfrom, toThe names your API uses for the date range, or none
Row limit and timeout50,000 rows, 60 secondsProtection against a runaway response
Field typesdetectedFixing a type by hand, for example an id that should be text

The full reference, examples and known limits are in the README.

Built to be safe with a token

Details: security notes and the privacy policy.

Current limits

One GET request per query and no pagination yet. One key per Google account per deployment. Timestamps become dates. See the roadmap for what comes next.