DevDash

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

POST/api/json

Format, minify, or validate JSON.

ParameterTypeRequiredDescription
inputstringYesJSON string to process
actionstringNo"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"}'
POST/api/base64

Encode or decode a Base64 string.

ParameterTypeRequiredDescription
inputstringYesString to encode or decode
actionstringNo"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"}'
POST/api/jwt

Decode a JWT token into its header, payload, and signature.

ParameterTypeRequiredDescription
tokenstringYesJWT 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"}'
POST/api/hash

Generate hash digests (MD5, SHA-1, SHA-256, SHA-512).

ParameterTypeRequiredDescription
inputstringYesString to hash
algorithmstringNo"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"}'
GET/api/uuid

Generate one or more v4 UUIDs.

ParameterTypeRequiredDescription
countnumberNoNumber 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
POST/api/url

Encode, decode, or parse a URL.

ParameterTypeRequiredDescription
inputstringYesURL string to process
actionstringNo"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"}'
POST/api/regex

Test a regular expression against a string.

ParameterTypeRequiredDescription
patternstringYesRegular expression pattern
flagsstringNoRegex flags (default "g")
textstringYesTest 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"}'
POST/api/timestamp

Convert between Unix timestamps and ISO date strings.

ParameterTypeRequiredDescription
inputstring | numberYesUnix 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}'
GET/api/password

Generate a secure random password.

ParameterTypeRequiredDescription
lengthnumberNoPassword length (default 16, max 128)
uppercasebooleanNoInclude uppercase letters (default true)
numbersbooleanNoInclude numbers (default true)
symbolsbooleanNoInclude symbols (default true)

Example

curl -H "X-API-Key: dd_your_key_here" "https://usedevdash.dev/api/password?length=24&symbols=true"
POST/api/sql

Format and beautify SQL queries.

ParameterTypeRequiredDescription
inputstringYesSQL 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"}'
POST/api/cron

Parse a cron expression into a human-readable description.

ParameterTypeRequiredDescription
expressionstringYesCron 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"}'
POST/api/color

Convert colors between formats. Accepts hex (#ff0000) or rgb(255,0,0). Returns HEX, RGB, and HSL values.

ParameterTypeRequiredDescription
colorstringYesColor 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"}'
GET/api/qrcode

Generate a QR code as a PNG image.

ParameterTypeRequiredDescription
textstringYesText or URL to encode
sizenumberNoImage 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
GET/api/lorem

Generate lorem ipsum placeholder text.

ParameterTypeRequiredDescription
paragraphsnumberNoNumber of paragraphs (default 3, max 20)

Example

curl -H "X-API-Key: dd_your_key_here" https://usedevdash.dev/api/lorem?paragraphs=2
POST/api/diff

Compare two texts and return the differences.

ParameterTypeRequiredDescription
originalstringYesOriginal text
modifiedstringYesModified 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"}'
POST/api/markdown

Convert Markdown to HTML.

ParameterTypeRequiredDescription
inputstringYesMarkdown 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.

StatusDescription
400Bad Request -- Missing or invalid parameters.
401Unauthorized -- Missing or invalid API key. Sign up at usedevdash.dev/account.
429Too Many Requests -- Rate limit exceeded. Upgrade to Pro for higher limits.
500Internal Server Error -- Something went wrong on our end. Please try again.