A community-run portal (and API) for exploring publicly available datasets.
-
Install dependencies:
pnpm install
-
Login to Cloudflare:
pnpx wrangler login
-
Create D1 database:
pnpx wrangler d1 create open-data-db
Copy the
database_idfrom the output and updatewrangler.toml. -
Run migrations (local):
pnpm run db:migrate:local
-
Initialize the database (local):
pnpx run db:init:local
-
Start the local development server:
pnpm run dev
GET /api/v1/datasets- List datasets with search and filtersGET /api/v1/datasets/:id- Get dataset detailsGET /api/v1/publishers- List publishersGET /api/v1/categories- List categoriesGET /api/v1/stats- Platform statisticsGET /api/v1/ping- Health check
- OpenAPI Schema:
/openapi.json - Swagger UI:
/docs
This project is released under the Creative Commons CC0 dedication. This means the work is dedicated to the public domain and can be freely used by anyone for any purpose without restriction under copyright law.