Catalog/data-transform-jwt-decode

Data Transform

JWT decoder API

Decode JWT header and payload without verifying the signature.

Price$0.01per request
MethodPOST
Route/v1/data-transform/jwt/decode
StatusLive
MIME typeapplication/json
Rate limit180/minute
CacheNo cache
data-transformjwtdecodesecurity
API URLhttps://x402.hexl.dev/v1/data-transform/jwt/decode
Integration docs
Example request
{
  "token": "eyJhbGciOiJub25lIn0.eyJzdWIiOiIxMjMifQ."
}
Example response
{
  "header": {
    "alg": "none"
  },
  "payload": {
    "sub": "123"
  },
  "signaturePresent": false,
  "warnings": [
    "alg_none"
  ],
  "provider": "node-buffer"
}
Input schema
{
  "type": "object",
  "required": [
    "token"
  ],
  "properties": {
    "token": {
      "type": "string",
      "minLength": 1
    }
  }
}
Output schema
{
  "type": "object",
  "required": [
    "header",
    "payload",
    "signaturePresent",
    "warnings",
    "provider"
  ],
  "properties": {
    "header": {
      "type": "object",
      "additionalProperties": true
    },
    "payload": {
      "type": "object",
      "additionalProperties": true
    },
    "signaturePresent": {
      "type": "boolean"
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "provider": {
      "type": "string"
    }
  }
}