APIHub
Back to Explore

Datasette API

Execute SQL queries against a Datasette database and return the results as JSON

Development
none
No HTTPS
CORS: Unknown
Visit official documentation

Latency

3010ms p95

Uptime

0.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/content.json

Execute a SQLite SQL query against the content database

  • sql (query, required) — The SQL query to be executed
  • _shape (query, required) — The shape of the response data. Must be "array"

1 endpoint auto-detected

curl -X GET \
  "http://datasette.local/content.json"

datasette.local · HTTPS only