Skip to main content

Utility Endpoints

UUID Generator​

Generate UUID v4 strings.

POST /api/v1/uuid

Parameters​

NameTypeRequiredDescription
countnumberNoNumber of UUIDs (1-100, default 1)
uppercasebooleanNoUppercase output (default false)

Example​

curl -X POST https://www.toolbox-kit.com/api/v1/uuid \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"count": 5}'
{ "result": ["550e8400-e29b-41d4-a716-446655440000", "..."], "count": 5 }

Timestamp Converter​

Convert between Unix timestamps and date strings.

POST /api/v1/timestamp

Parameters​

NameTypeRequiredDescription
timestampnumberNoUnix timestamp (seconds or ms)
datestringNoDate string to convert
nowbooleanNoReturn current time

Example​

curl -X POST https://www.toolbox-kit.com/api/v1/timestamp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"now": true}'
{ "result": { "unix": 1709913600, "iso": "2024-03-08T...", "utc": "Fri, 08 Mar..." } }

Number Base Converter​

Convert numbers between decimal, hex, binary, and octal.

POST /api/v1/number-base

Parameters​

NameTypeRequiredDescription
valuestringYesNumber to convert
fromstringYes"decimal", "hex", "binary", or "octal"

Example​

curl -X POST https://www.toolbox-kit.com/api/v1/number-base \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"value": "255", "from": "decimal"}'
{ "result": { "decimal": 255, "hex": "0xFF", "binary": "0b11111111", "octal": "0o377" } }

Color Converter​

Convert colors between hex, RGB, and HSL.

POST /api/v1/color-convert

Parameters​

NameTypeRequiredDescription
colorstring or objectYesHex string or {r,g,b} or {h,s,l}
fromstringYes"hex", "rgb", or "hsl"

Example​

curl -X POST https://www.toolbox-kit.com/api/v1/color-convert \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"color": "#3b82f6", "from": "hex"}'
{ "result": { "hex": "#3b82f6", "rgb": { "r": 59, "g": 130, "b": 246 }, "hsl": { "h": 217, "s": 91, "l": 60 } } }

JWT Decode​

Decode JWT tokens (without signature verification).

POST /api/v1/jwt-decode

Parameters​

NameTypeRequiredDescription
tokenstringYesJWT token to decode

Example​

curl -X POST https://www.toolbox-kit.com/api/v1/jwt-decode \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjg..."}'
{ "result": { "header": { "alg": "HS256" }, "payload": { "sub": "1234567890" } } }

Regex Tester​

Test a regex pattern against a string and return matches.

POST /api/v1/regex-test

Parameters​

NameTypeRequiredDescription
patternstringYesRegex pattern
textstringYesString to test against
flagsstringNoRegex flags (default "g")

Example​

curl -X POST https://www.toolbox-kit.com/api/v1/regex-test \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"pattern": "\\d+", "text": "abc 123 def 456", "flags": "g"}'
{ "result": { "isMatch": true, "matchCount": 2, "matches": [{ "match": "123", "index": 4 }, ...] } }