I keep finding myself reimplementing the same utility functions in every project so I threw them behind a simple REST API.

Things like:

  • Email validation (checks syntax, MX records, disposable providers)
  • DNS lookups (returns all record types as JSON)
  • SSL cert checker (issuer, expiry, days remaining)
  • Base64 encode/decode
  • JWT decode (header + payload + expiry check)
  • Cron expression explainer
  • QR code generator
  • IP geolocation
  • HTTP header inspector

28 endpoints total. All return JSON. 50 req/day free, no API key.

curl http://5.78.129.127/api/email/validate/test@gmail.com
curl http://5.78.129.127/api/dns/lookup/github.com
curl http://5.78.129.127/api/ssl/google.com
curl http://5.78.129.127/api/cron/explain?expr=0+9+*+*+1-5

Full docs: http://5.78.129.127/api/

Genuinely curious if this is useful to other devs or if everyone just uses their own scripts for this stuff.