REST API
Base URL: https://rapidash.io/api/v1. Machine-readable spec: /api/v1/openapi.json (OpenAPI 3.1).
Authentication
Create a key in Settings → API keys and send it as a bearer token:
curl https://rapidash.io/api/v1/me -H "Authorization: Bearer rd_YOUR_KEY"
Keys start with rd_, are shown once, and can be read + write or read only. Revoke them any time in Settings. Keys can't create other keys.
Quick start
# 1. Create a dataset from CSV text (or "rows": [...], "json": ..., or "url": "https://…")
curl https://rapidash.io/api/v1/datasets \
-H "Authorization: Bearer rd_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"name":"Orders","csv":"date,region,revenue\n2026-11-01,West,1200\n2026-11-02,East,900"}'
# 2. Auto-build a dashboard from it
curl https://rapidash.io/api/v1/dashboards \
-H "Authorization: Bearer rd_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"name":"Orders board","datasetId":"<id from step 1>"}'
# 3. Stream new rows in; every dashboard on the dataset updates
curl https://rapidash.io/api/v1/datasets/<id>/rows \
-H "Authorization: Bearer rd_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"rows":[{"date":"2026-11-03","region":"West","revenue":1400}]}'
Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /me |
The key's user and scopes |
| GET | /widget-types |
Every widget type with its fields, sizes and options |
| GET | /samples |
Built-in sample datasets (sample-ecommerce, sample-saas, sample-marketing) |
| GET | /library?q= |
Search the prebuilt widget library (add with type: "prebuilt" and ref) |
| GET | /branding/options |
Palette presets, typefaces, themes and corner styles |
| GET / POST | /datasets |
List datasets / create one from csv, rows, json or url |
| GET / PATCH / PUT / DELETE | /datasets/{id} |
Read a page of rows (?limit=&offset=), replace, create-or-replace, delete |
| POST | /datasets/{id}/rows |
Append records |
| POST | /datasets/{id}/refresh |
Re-fetch a URL dataset |
| GET | /datasets/{id}/profile |
Per-column statistics |
| POST | /datasets/{id}/query |
Aggregate y with agg, grouped by x, with optional filters |
| GET / POST | /dashboards |
List / create (pass datasetId to auto-build, or widgets) |
| GET / PATCH / PUT / DELETE | /dashboards/{id} |
Read, update (name, description, widgets, branding), create-or-replace, delete |
| POST | /dashboards/{id}/auto-build |
Lay out widgets from a dataset (mode: replace or append) |
| POST | /dashboards/{id}/widgets |
Add a widget; missing fields get smart defaults |
| PATCH / DELETE | /dashboards/{id}/widgets/{widgetId} |
Update or move (position) / remove a widget |
| PATCH | /dashboards/{id}/branding |
Merge branding changes (null removes a field, palette may be a preset name). Use id all for every dashboard |
| PUT / DELETE | /dashboards/{id}/branding |
Replace / remove branding |
| POST | /dashboards/{id}/share |
Turn the public read-only link on ({"enabled": true}) or off |
| GET | /dashboards/{id}/export |
The dashboard as Rapidash JSON |
| POST | /dashboards/import |
Create a dashboard from Rapidash JSON |
| GET | /public/dashboards/{token} |
A shared dashboard (no auth) |
Widget fields (x, y, series, stages, lat/lng…) are validated against the dataset's columns and the widget type: a wrong column returns 400 with a message saying which column and why. See the widget reference.
Customize a board
# Brand every dashboard at once
curl -X PATCH https://rapidash.io/api/v1/dashboards/all/branding \
-H "Authorization: Bearer rd_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"brandName":"Acme","palette":"ocean","font":"inter","theme":"light","whiteLabel":true}'
# Restyle one widget
curl -X PATCH https://rapidash.io/api/v1/dashboards/<id>/widgets/<widgetId> \
-H "Authorization: Bearer rd_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"type":"bar","size":"large","tint":"teal","format":"currency"}'
Limits
Datasets hold up to 50,000 rows and requests up to about 4.4 MB. URL sources must be public http(s) addresses. Errors are JSON: {"error": "…"}.