utils-api

utils-api is a collection of small utility APIs that can be used to perform various tasks.


APIs

If you want all the endpoints in one place, check the All endpoints page.

ksuid

Generate KSUIDs.


Guide

Try it out

On many of the API endpoints, you’ll see a Try section like the one below. You can use this to test the API endpoint directly from the documentation. It is quite limited in functionality right now but I plan to improve it in the future.

GET /ksuid

Authentication

Unless mentioned otherwise, API endpoints are currently public and do not require any authentication. This may change in the future.

Format

All the API endpoints can return data in either plain text or JSON format. The default format is plain text unless mentioned otherwise. To receive data in JSON format, you can set the format=json query parameter or use the Accept: application/json header. If both are provided, the query parameter will take precedence.

Errors

Here is an example of an error response:

Invalid <field>

Rate limiting

Unless mentioned otherwise, API endpoints are limited to 10 requests per second. If you exceed this limit, you will receive a 429 status code.

If you would like to increase this limit, please contact me.