Dev.to Security πŸ” Cybersecurity πŸ‘ 1

JWT Decoder & Inspector API - REST + MCP, Free Tier

JWT Decoder & Inspector API Decode and inspect JWT tokens without a secret key. Returns header, payload, expiry, algorithm, and validity window. Perfect for debugging auth flows. Free: 500 req/day. Quick St

JWT Decoder & Inspector API

Decode and inspect JWT tokens without a secret key. Returns header, payload, expiry, algorithm, and validity window. Perfect for debugging auth flows. Free: 500 req/day.

Quick Start

# Health check
curl https://api.lazy-mac.com/jwt-decoder-api/health

# API info
curl https://api.lazy-mac.com/jwt-decoder-api

Endpoints

  • {'path': '/decode', 'method': 'POST', 'description': 'Decode a JWT token'}
  • {'path': '/validate', 'method': 'POST', 'description': 'Check token expiry and structure'}
  • {'path': '/claims', 'method': 'POST', 'description': 'Extract specific claims'}
  • {'path': '/health', 'method': 'GET', 'description': 'Health check'}

Pricing

Plan Price Features
Free $0/mo 100 req/day, core endpoints
Pro $Free / $5/mo Unlimited, all endpoints, MCP

MCP Integration

This API supports the Model Context Protocol (JSON-RPC 2.0):

curl -X POST https://api.lazy-mac.com/jwt-decoder-api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/list","id":1}'

Get Your API Key

Get started on Gumroad β€” free tier available.

Built by lazymac | All APIs

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.