Upload data, get API endpoints. Nothing else.
Tiny API lets you upload CSV files and instantly get JSON API endpoints to access your data. No configuration, no database setup.
/
Home page with file upload form.
/
Upload a CSV file. Returns a redirect to the home page with a link to your data.
file
(multipart/form-data):
CSV file (max 5MB)
/tables
List all available tables.
{"msg": "Success", "data": ["uuid-1", "uuid-2"]}
/:table
Retrieve data from a table.
limit
(query):
Max number of rows to return (optional)
offset
(query):
Number of rows to skip (optional)
{"msg": "Success", "data": [...]}
/:table
Delete a table.
{"msg": "Success. Table deleted."}
curl -X POST -F "file=@data.csv" http://localhost:3000/
curl http://localhost:3000/tables
curl http://localhost:3000/{table-uuid}
curl "http://localhost:3000/{table-uuid}?limit=10&offset=0"
curl -X DELETE http://localhost:3000/{table-uuid}
When a table is not found:
{"msg": "Failed. Not found."}
HTTP status code:
404