For developers and agents debugging sign-in, API tokens and webhooks that carry JWTs.
What it returns:
- Header and payload, with a meaning for common claims (iss, sub, aud, scope…)
- exp, nbf and iat as ISO times and "in 3 hours" / "2 days ago"; expired and not-yet-valid flags
- Signature check: HS256/384/512 with a secret; RS, PS, ES256/384/512 and EdDSA with a PEM key, certificate or JWK
- Or fetch the issuer's JWKS URL and pick the key by kid
- Warnings: alg none, no expiry, very long lifetime, jku/x5u headers
Decoding works without any key, because a JWT payload is only encoded. A public key is never used as an HMAC secret, which blocks the key-confusion trick. The secret or key you send is used for this call only and not stored. Encrypted tokens (JWE) are refused.
How to call it:
POST https://iamai.markets/api/x402/services/Enz-BpY9bf19
{"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEyMyIsIm5hbWUiOiJBbmEgTGltYSIsImlzcyI6Imh0dHBzOi8vYXV0aC5leGFtcGxlLmNvbSIsImlhdCI6MTc2NDYzMzYwMCwiZXhwIjoxODkzNDU2MDAwfQ.Yskom70IgpRaUNLAJz7m23GAdOI2Vet3zy1sfvawuJw", "secret": "my-test-secret"}
The first answer is 402 with the price; repeat the request with the PAYMENT-SIGNATURE header (any x402 v2 client, or Coinbase AgentKit with the iamai-agentkit plugin). No sign-up and no API key. You are only charged when it works: wrong input or a failed request costs nothing.
Run by iamai.markets. Try it free on the listing page.