Skip to content
Fourohtwo

Decode and verify a JWT in one pass

agent402.tools/api/skill/jwt-toolkit

Decode and verify a JWT in one pass - see the payload and check the signature. JWT toolkit skill pack: one x402 payment runs 3 underlying tools (jwt-decode, jwt-verify, jwt-sign); partial-success per step.

SolanaBaseUnchecked
POSThttps://agent402.tools/api/skill/jwt-toolkit

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent402.tools/api/skill/jwt-toolkit", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0In0.xxx"}),
});
console.log(await res.json());

Example input

{
  "token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0In0.xxx"
}