Secure API • Public + Private Data
api.mohamedabdelaziz.dev

Mohamed Abdelaziz API

This is the official API for files and datasets. Public files are readable without a key. Private files, uploads, deletes, metadata, and stats require an API key.

Public access

Use this for non-sensitive files and datasets.

GET /api/v1/files/public/example.csv
No API key Browser safe Power BI friendly

Private access

Use this for sensitive files, uploads, deletes, and metadata.

Authorization: Bearer YOUR_API_KEY
API key required R2 + D1 Audit logged

Typical endpoints

GET    /api/health
GET    /api/openapi.json

GET    /api/v1/files/public/report.json
GET    /api/v1/files/private/finance.sql

PUT    /api/v1/files/public/newfile.csv
DELETE /api/v1/files/private/oldfile.csv

GET    /api/v1/datasets?scope=public
GET    /api/v1/datasets/public/report.json
GET    /api/v1/rows/public/report.json

GET    /api/v1/stats

How it works

Upload any CSV or JSON file once. The API stores the raw file in R2 and the parsed rows in D1. New files use the same upload route. No code changes are needed.

Built on Cloudflare Pages, D1, and R2.