DD
DevDash

API Documentation

Use DevDash tools programmatically. Free tier: 100 calls/day. Upgrade to Pro for 10,000/day.

Endpoints

POST https://devdash.tools/api/v1/decode

Decode/encode/convert using a specific tool

POST https://devdash.tools/api/v1/detect

Smart Paste API: auto-detect type and decode in one call

/decode Request Body

FieldTypeRequiredDescription
toolstringYesTool name (see list below)
inputstringYesData to process

/detect Request Body

FieldTypeRequiredDescription
inputstringYesAny data -- we auto-detect what it is

Detectable types: jwt, base64, epoch, uuid, json, url-encoded, hex, cron

Rate Limits

PlanDaily LimitPrice
Free100 calls/day$0
Pro10,000 calls/day$12/mo

Code Examples

cURL

# Decode a JWT
curl -X POST https://devdash.tools/api/v1/decode \
  -H "Content-Type: application/json" \
  -d '{"tool": "jwt-decoder", "input": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U"}'

# Auto-detect (Smart Paste API)
curl -X POST https://devdash.tools/api/v1/detect \
  -H "Content-Type: application/json" \
  -d '{"input": "1700000000"}'

JavaScript

// Decode endpoint
const res = await fetch("https://devdash.tools/api/v1/decode", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ tool: "epoch-converter", input: "1700000000" }),
});
const data = await res.json();
console.log(data.iso); // "2023-11-14T22:13:20.000Z"

// Detect endpoint (Smart Paste)
const detect = await fetch("https://devdash.tools/api/v1/detect", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ input: "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.xxx" }),
});
const result = await detect.json();
console.log(result.type); // "jwt"
console.log(result.decoded); // { header: {...}, payload: {...} }

Python

import requests

# Decode
res = requests.post("https://devdash.tools/api/v1/decode", json={
    "tool": "base64-decode",
    "input": "SGVsbG8gV29ybGQ="
})
print(res.json()["result"])  # "Hello World"

# Detect
res = requests.post("https://devdash.tools/api/v1/detect", json={
    "input": "550e8400-e29b-41d4-a716-446655440000"
})
print(res.json())  # {"type": "uuid", "decoded": {"version": "v4", ...}}

Available Tools (/decode)

Tool NameDescription
jwt-decoderDecode JWT header, payload, and expiry status
epoch-converterConvert Unix timestamps to dates and vice versa
base64-encodeEncode text to Base64
base64-decodeDecode Base64 to text
url-encodeURL-encode text
url-decodeURL-decode text
hex-encodeConvert text to hex
hex-decodeConvert hex to text
html-encodeEscape HTML entities
html-decodeUnescape HTML entities
json-formatterPretty-print JSON
color-converterConvert HEX to RGB and HSL

Error Handling

// 400 Bad Request
{ "error": "Missing 'tool' field.", "available": [...] }

// 422 Processing Error
{ "error": "Processing failed: Invalid JWT...", "tool": "jwt-decoder" }

// 429 Rate Limited
{ "error": "Rate limit exceeded...", "limit": 100, "remaining": 0 }

// CORS: All origins allowed
Want API access + no ads? Pro coming soon.