Developer & Reference

JWT Decoder API

Decode a JWT's header and payload and check its expiry timestamps — without signature verification.

Request Headers

Name Required Description
X-RapidAPI-Key required Your RapidAPI key. Get one free.
X-RapidAPI-Host required jwt-decode.p.rapidapi.com

Endpoints

GET /v1/jwt

Decode a JWT's header and payload (no signature verification)

Parameters

NameTypeRequiredDefaultConstraints
tokenstringrequired—<= 8192 chars; matches \S

Code Examples

curl --request GET \
  --url 'https://jwt-decode.p.rapidapi.com/v1/jwt?token=example' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: jwt-decode.p.rapidapi.com'

Interactive Example

jwt-decode
$ GET /v1/jwt?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
{"header":{"alg":"HS256","typ":"JWT"},"payload":{"sub":"1234567890","name":"John Doe","iat":1516239022},"signature_present":true,"expired":null,"not_yet_valid":null,"expires_at":null,"issued_at":"2018-01-18T01:30:22Z","not_before":null}

Subscribe & License

Access this API with commercial-ready tiers on RapidAPI. Flexible plans designed for side-projects, startups, and high-volume production architectures.

View Pricing & Subscribe

Developer Support

Need help integrating or have a custom endpoint request? Our engineering team is here to assist with authentication, payload schemas, and high-frequency rate limit increases.

Contact API Engineering

System Performance

Monitored 24/7 with a 99.9% uptime SLA. Built atop cloud-native microservices with globally distributed edge caching to ensure ultra-low latency response times.

All Systems Operational