Tiny Cloudflare Worker that generates UUID v4.
Live endpoint: https://uuid.api.airat.top
You can use my Open Source password and UUID generator to generate a strong password or UUID in the browser (GitHub repo).
GET /
Example:
curl 'https://uuid.api.airat.top/'Response:
{"uuid":"2f5b0b6b-2b54-4a2c-93c3-8e5f9a8e1a5c"}Test in browser: https://uuid.api.airat.top/
Plain response:
curl 'https://uuid.api.airat.top/?plain=1'Response:
2f5b0b6b-2b54-4a2c-93c3-8e5f9a8e1a5c
Test in browser: https://uuid.api.airat.top/?plain=1
POST also returns a fresh UUID.
curl -X POST 'https://uuid.api.airat.top/'Response:
{"uuid":"2f5b0b6b-2b54-4a2c-93c3-8e5f9a8e1a5c"}CORS is enabled for all origins (*).
No analytics or request logs are collected by this project.
Health check endpoint:
GET /health
Response:
{"status":"ok"}Test in browser: https://uuid.api.airat.top/health
worker.js- Cloudflare Worker script.
Deploy with Wrangler (the repo already includes wrangler.toml):
npx wrangler deployIf you use Cloudflare Workers Builds (GitHub integration), set the deploy command to npx wrangler deploy and keep the root path at /.
To serve it on a custom domain, add the domain in Workers & Pages → Domains & Routes. Cloudflare will create the DNS record and issue SSL automatically.
This project is licensed under the MIT License - see the LICENSE file for details.
AiratTop
- Website: airat.top
- GitHub: @AiratTop
- Email: mail@airat.top
- Repository: uuid.api.airat.top