API Documentation
Every DevDash tool is available as a REST endpoint. Use them from scripts, CI pipelines, or your own applications.
Authentication & Rate Limits
An API key is required for all API requests. Requests without a valid X-API-Key header are rejected with a 401 Unauthorized response. Rate limits are tracked per account, not per key. All keys belonging to the same account share a single daily request quota.
Free Account
- 1,000 requests per day per account
- 1 API key
- All 16 endpoints
Pro Account
- 10,000 requests per day per account
- Up to 5 API keys
- All 16 endpoints
- Priority support
Example Request
curl -H "X-API-Key: dd_your_key_here" https://usedevdash.dev/api/uuid
Sign up for free at usedevdash.dev/account to get your API key.
Endpoints
/api/jsonFormat, minify, or validate JSON.
| Parameter | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | JSON string to process |
| action | string | No | "format" (default), "minify", or "validate" |
Example
curl -X POST https://usedevdash.dev/api/json \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input": "{\\"a\\":1}", "action": "format"}'/api/base64Encode or decode a Base64 string.
| Parameter | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | String to encode or decode |
| action | string | No | "encode" (default) or "decode" |
Example
curl -X POST https://usedevdash.dev/api/base64 \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input": "hello world", "action": "encode"}'/api/jwtDecode a JWT token into its header, payload, and signature.
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | Yes | JWT string to decode |
Example
curl -X POST https://usedevdash.dev/api/jwt \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIn0.rTCH8cLoGxAm_xw68z-zXVKi9ie6xJn9tnVWjd_9ftE"}'/api/hashGenerate hash digests (MD5, SHA-1, SHA-256, SHA-512).
| Parameter | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | String to hash |
| algorithm | string | No | "sha256" (default), "md5", "sha1", or "sha512" |
Example
curl -X POST https://usedevdash.dev/api/hash \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input": "hello", "algorithm": "sha256"}'/api/uuidGenerate one or more v4 UUIDs.
| Parameter | Type | Required | Description |
|---|---|---|---|
| count | number | No | Number of UUIDs to generate (default 1, max 100) |
Example
curl -H "X-API-Key: dd_your_key_here" https://usedevdash.dev/api/uuid?count=5
/api/urlEncode, decode, or parse a URL.
| Parameter | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | URL string to process |
| action | string | No | "encode" (default), "decode", or "parse" |
Example
curl -X POST https://usedevdash.dev/api/url \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input": "https://example.com/path?q=hello world", "action": "encode"}'/api/regexTest a regular expression against a string.
| Parameter | Type | Required | Description |
|---|---|---|---|
| pattern | string | Yes | Regular expression pattern |
| flags | string | No | Regex flags (default "g") |
| text | string | Yes | Test string |
Example
curl -X POST https://usedevdash.dev/api/regex \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"pattern": "\\d+", "flags": "g", "text": "abc 123 def 456"}'/api/timestampConvert between Unix timestamps and ISO date strings.
| Parameter | Type | Required | Description |
|---|---|---|---|
| input | string | number | Yes | Unix timestamp (seconds) or ISO date string |
Example
curl -X POST https://usedevdash.dev/api/timestamp \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input": 1700000000}'/api/passwordGenerate a secure random password.
| Parameter | Type | Required | Description |
|---|---|---|---|
| length | number | No | Password length (default 16, max 128) |
| uppercase | boolean | No | Include uppercase letters (default true) |
| numbers | boolean | No | Include numbers (default true) |
| symbols | boolean | No | Include symbols (default true) |
Example
curl -H "X-API-Key: dd_your_key_here" "https://usedevdash.dev/api/password?length=24&symbols=true"
/api/sqlFormat and beautify SQL queries.
| Parameter | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | SQL query to format |
Example
curl -X POST https://usedevdash.dev/api/sql \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input": "SELECT id,name FROM users WHERE active=1 ORDER BY name"}'/api/cronParse a cron expression into a human-readable description.
| Parameter | Type | Required | Description |
|---|---|---|---|
| expression | string | Yes | Cron expression (5 or 6 fields) |
Example
curl -X POST https://usedevdash.dev/api/cron \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"expression": "0 9 * * 1-5"}'/api/colorConvert colors between formats. Accepts hex (#ff0000) or rgb(255,0,0). Returns HEX, RGB, and HSL values.
| Parameter | Type | Required | Description |
|---|---|---|---|
| color | string | Yes | Color value — accepts hex (#ff0000) or rgb(255,0,0) |
Example
curl -X POST https://usedevdash.dev/api/color \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"color": "#8B5CF6"}'/api/qrcodeGenerate a QR code as a PNG image.
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | Text or URL to encode |
| size | number | No | Image size in pixels (default 300, max 1000) |
Example
curl -H "X-API-Key: dd_your_key_here" "https://usedevdash.dev/api/qrcode?text=https://usedevdash.dev&size=512" -o qr.png
/api/loremGenerate lorem ipsum placeholder text.
| Parameter | Type | Required | Description |
|---|---|---|---|
| paragraphs | number | No | Number of paragraphs (default 3, max 20) |
Example
curl -H "X-API-Key: dd_your_key_here" https://usedevdash.dev/api/lorem?paragraphs=2
/api/diffCompare two texts and return the differences.
| Parameter | Type | Required | Description |
|---|---|---|---|
| original | string | Yes | Original text |
| modified | string | Yes | Modified text |
Example
curl -X POST https://usedevdash.dev/api/diff \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"original": "hello world", "modified": "hello there"}'/api/markdownConvert Markdown to HTML.
| Parameter | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | Markdown string to convert |
Example
curl -X POST https://usedevdash.dev/api/markdown \
-H "X-API-Key: dd_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input": "# Hello\n\nThis is **bold**."}'Error Handling
All endpoints return JSON error responses with an error field.
| Status | Description |
|---|---|
| 400 | Bad Request -- Missing or invalid parameters. |
| 401 | Unauthorized -- Missing or invalid API key. Sign up at usedevdash.dev/account. |
| 429 | Too Many Requests -- Rate limit exceeded. Upgrade to Pro for higher limits. |
| 500 | Internal Server Error -- Something went wrong on our end. Please try again. |