{
  "x402Version": 2,
  "id": 36310,
  "slug": "36310",
  "resource": "https://api.duoleads.com/v1/code/jwt",
  "description": "Decode a JSON Web Token without verifying it: returns the header, the claims, the signature length and algorithm, and a computed view of the time claims — whether exp has passed, whether nbf is in the future, and the remaining lifetime in seconds against a supplied or current instant. Reports structural problems such as a missing part, invalid base64url or an alg of none. It does not and cannot verify the signature; do not use it to decide trust.",
  "type": "http",
  "serviceName": "Duo Data Utilities",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "properties": {
              "alg": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "claim_errors": {
                "items": {
                  "properties": {
                    "claim": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "claim",
                    "reason"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "claims": {
                "properties": {
                  "aud": {
                    "description": "RFC 7519 4.1.3: string or array of strings; null when absent",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "string",
                      "array",
                      "null"
                    ]
                  },
                  "exp": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "iat": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "iss": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "jti": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "nbf": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "sub": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "iss",
                  "sub",
                  "aud",
                  "exp",
                  "nbf",
                  "iat",
                  "jti"
                ],
                "type": "object"
              },
              "header": {
                "description": "caller-supplied content echoed exactly as decoded: members are not typed",
                "type": [
                  "object",
                  "null"
                ]
              },
              "kid": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "parts": {
                "type": "integer"
              },
              "payload": {
                "description": "caller-supplied content echoed exactly as decoded: members are not typed",
                "type": [
                  "object",
                  "null"
                ]
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "signature_bytes": {
                "type": "integer"
              },
              "signature_verified": {
                "type": "boolean"
              },
              "time": {
                "properties": {
                  "age_seconds": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "evaluated_at": {
                    "type": "string"
                  },
                  "expired": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "expires_in_seconds": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "not_yet_valid": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "required": [
                  "evaluated_at",
                  "expired",
                  "not_yet_valid",
                  "expires_in_seconds",
                  "age_seconds"
                ],
                "type": "object"
              },
              "typ": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "valid_structure": {
                "type": "boolean"
              },
              "warnings": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "valid_structure",
              "header",
              "payload",
              "alg",
              "typ",
              "kid",
              "signature_bytes",
              "parts",
              "claims",
              "time",
              "signature_verified",
              "warnings",
              "reason"
            ],
            "type": "object"
          },
          "meta": {
            "properties": {
              "computed_at": {
                "description": "RFC 3339 UTC with milliseconds",
                "type": "string"
              },
              "deterministic": {
                "type": "boolean"
              },
              "disclaimer": {
                "type": "string"
              },
              "price_usd": {
                "type": "string"
              },
              "request_id": {
                "type": "string"
              },
              "sources": {
                "items": {
                  "required": [
                    "id",
                    "version",
                    "published"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "request_id",
              "computed_at",
              "price_usd",
              "deterministic",
              "disclaimer"
            ],
            "type": "object"
          },
          "ok": {
            "const": true
          },
          "route": {
            "const": "/v1/code/jwt"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "ok",
          "route",
          "version",
          "data",
          "meta"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "at": "2026-09-28T00:00:00Z",
            "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "alg": "HS256",
              "claims": {
                "aud": null,
                "exp": null,
                "iat": 1516239022,
                "iss": null,
                "jti": null,
                "nbf": null,
                "sub": "1234567890"
              },
              "header": {
                "alg": "HS256",
                "typ": "JWT"
              },
              "kid": null,
              "parts": 3,
              "payload": {
                "iat": 1516239022,
                "name": "John Doe",
                "sub": "1234567890"
              },
              "reason": null,
              "signature_bytes": 32,
              "signature_verified": false,
              "time": {
                "age_seconds": 274314578,
                "evaluated_at": "2026-09-28T00:00:00Z",
                "expired": null,
                "expires_in_seconds": null,
                "not_yet_valid": null
              },
              "typ": "JWT",
              "valid_structure": true,
              "warnings": []
            },
            "meta": {
              "computed_at": "2026-09-28T12:00:00.000Z",
              "deterministic": true,
              "disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
              "price_usd": "0.05",
              "request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D"
            },
            "ok": true,
            "route": "/v1/code/jwt",
            "version": "1.0.0"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "at": {
                    "description": "Instant to evaluate exp/nbf against: RFC 3339 or epoch seconds. Default now.",
                    "maxLength": 64,
                    "type": "string"
                  },
                  "token": {
                    "description": "The JWT to decode (not verified). At most 8192 characters.",
                    "maxLength": 8192,
                    "type": "string"
                  }
                },
                "required": [
                  "token"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "alg": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "claim_errors": {
                        "items": {
                          "properties": {
                            "claim": {
                              "type": "string"
                            },
                            "reason": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "claim",
                            "reason"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "claims": {
                        "properties": {
                          "aud": {
                            "description": "RFC 7519 4.1.3: string or array of strings; null when absent",
                            "items": {
                              "type": "string"
                            },
                            "type": [
                              "string",
                              "array",
                              "null"
                            ]
                          },
                          "exp": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "iat": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "iss": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "jti": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "nbf": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "sub": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "iss",
                          "sub",
                          "aud",
                          "exp",
                          "nbf",
                          "iat",
                          "jti"
                        ],
                        "type": "object"
                      },
                      "header": {
                        "description": "caller-supplied content echoed exactly as decoded: members are not typed",
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "kid": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parts": {
                        "type": "integer"
                      },
                      "payload": {
                        "description": "caller-supplied content echoed exactly as decoded: members are not typed",
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "signature_bytes": {
                        "type": "integer"
                      },
                      "signature_verified": {
                        "type": "boolean"
                      },
                      "time": {
                        "properties": {
                          "age_seconds": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "evaluated_at": {
                            "type": "string"
                          },
                          "expired": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "expires_in_seconds": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "not_yet_valid": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "evaluated_at",
                          "expired",
                          "not_yet_valid",
                          "expires_in_seconds",
                          "age_seconds"
                        ],
                        "type": "object"
                      },
                      "typ": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "valid_structure": {
                        "type": "boolean"
                      },
                      "warnings": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "valid_structure",
                      "header",
                      "payload",
                      "alg",
                      "typ",
                      "kid",
                      "signature_bytes",
                      "parts",
                      "claims",
                      "time",
                      "signature_verified",
                      "warnings",
                      "reason"
                    ],
                    "type": "object"
                  },
                  "meta": {
                    "properties": {
                      "computed_at": {
                        "description": "RFC 3339 UTC with milliseconds",
                        "type": "string"
                      },
                      "deterministic": {
                        "type": "boolean"
                      },
                      "disclaimer": {
                        "type": "string"
                      },
                      "price_usd": {
                        "type": "string"
                      },
                      "request_id": {
                        "type": "string"
                      },
                      "sources": {
                        "items": {
                          "required": [
                            "id",
                            "version",
                            "published"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "request_id",
                      "computed_at",
                      "price_usd",
                      "deterministic",
                      "disclaimer"
                    ],
                    "type": "object"
                  },
                  "ok": {
                    "const": true
                  },
                  "route": {
                    "const": "/v1/code/jwt"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "ok",
                  "route",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "no-api-key",
    "code",
    "jwt",
    "security",
    "bazaar"
  ],
  "sourceHost": "api.duoleads.com",
  "lastUpdated": "2026-10-01T20:52:19.877Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-01T20:52:19.726Z"
  },
  "metadata": {
    "serviceName": "Duo Data Utilities",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "at": "2026-09-28T00:00:00Z",
              "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "alg": "HS256",
                "claims": {
                  "aud": null,
                  "exp": null,
                  "iat": 1516239022,
                  "iss": null,
                  "jti": null,
                  "nbf": null,
                  "sub": "1234567890"
                },
                "header": {
                  "alg": "HS256",
                  "typ": "JWT"
                },
                "kid": null,
                "parts": 3,
                "payload": {
                  "iat": 1516239022,
                  "name": "John Doe",
                  "sub": "1234567890"
                },
                "reason": null,
                "signature_bytes": 32,
                "signature_verified": false,
                "time": {
                  "age_seconds": 274314578,
                  "evaluated_at": "2026-09-28T00:00:00Z",
                  "expired": null,
                  "expires_in_seconds": null,
                  "not_yet_valid": null
                },
                "typ": "JWT",
                "valid_structure": true,
                "warnings": []
              },
              "meta": {
                "computed_at": "2026-09-28T12:00:00.000Z",
                "deterministic": true,
                "disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
                "price_usd": "0.05",
                "request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D"
              },
              "ok": true,
              "route": "/v1/code/jwt",
              "version": "1.0.0"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "at": {
                      "description": "Instant to evaluate exp/nbf against: RFC 3339 or epoch seconds. Default now.",
                      "maxLength": 64,
                      "type": "string"
                    },
                    "token": {
                      "description": "The JWT to decode (not verified). At most 8192 characters.",
                      "maxLength": 8192,
                      "type": "string"
                    }
                  },
                  "required": [
                    "token"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "data": {
                      "properties": {
                        "alg": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "claim_errors": {
                          "items": {
                            "properties": {
                              "claim": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "claim",
                              "reason"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "claims": {
                          "properties": {
                            "aud": {
                              "description": "RFC 7519 4.1.3: string or array of strings; null when absent",
                              "items": {
                                "type": "string"
                              },
                              "type": [
                                "string",
                                "array",
                                "null"
                              ]
                            },
                            "exp": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "iat": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "iss": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "jti": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "nbf": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "sub": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "iss",
                            "sub",
                            "aud",
                            "exp",
                            "nbf",
                            "iat",
                            "jti"
                          ],
                          "type": "object"
                        },
                        "header": {
                          "description": "caller-supplied content echoed exactly as decoded: members are not typed",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "kid": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "parts": {
                          "type": "integer"
                        },
                        "payload": {
                          "description": "caller-supplied content echoed exactly as decoded: members are not typed",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "reason": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "signature_bytes": {
                          "type": "integer"
                        },
                        "signature_verified": {
                          "type": "boolean"
                        },
                        "time": {
                          "properties": {
                            "age_seconds": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "evaluated_at": {
                              "type": "string"
                            },
                            "expired": {
                              "type": [
                                "boolean",
                                "null"
                              ]
                            },
                            "expires_in_seconds": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "not_yet_valid": {
                              "type": [
                                "boolean",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "evaluated_at",
                            "expired",
                            "not_yet_valid",
                            "expires_in_seconds",
                            "age_seconds"
                          ],
                          "type": "object"
                        },
                        "typ": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "valid_structure": {
                          "type": "boolean"
                        },
                        "warnings": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "valid_structure",
                        "header",
                        "payload",
                        "alg",
                        "typ",
                        "kid",
                        "signature_bytes",
                        "parts",
                        "claims",
                        "time",
                        "signature_verified",
                        "warnings",
                        "reason"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "properties": {
                        "computed_at": {
                          "description": "RFC 3339 UTC with milliseconds",
                          "type": "string"
                        },
                        "deterministic": {
                          "type": "boolean"
                        },
                        "disclaimer": {
                          "type": "string"
                        },
                        "price_usd": {
                          "type": "string"
                        },
                        "request_id": {
                          "type": "string"
                        },
                        "sources": {
                          "items": {
                            "required": [
                              "id",
                              "version",
                              "published"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "request_id",
                        "computed_at",
                        "price_usd",
                        "deterministic",
                        "disclaimer"
                      ],
                      "type": "object"
                    },
                    "ok": {
                      "const": true
                    },
                    "route": {
                      "const": "/v1/code/jwt"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "ok",
                    "route",
                    "version",
                    "data",
                    "meta"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.duoleads.com",
    "manifest_name": "api.duoleads.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "data": {
        "alg": "string",
        "claim_errors": [
          {
            "claim": "string",
            "reason": "string"
          }
        ],
        "claims": {
          "aud": [
            "string"
          ],
          "exp": 0,
          "iat": 0,
          "iss": "string",
          "jti": "string",
          "nbf": 0,
          "sub": "string"
        },
        "header": {},
        "kid": "string",
        "parts": 0,
        "payload": {},
        "reason": "string",
        "signature_bytes": 0,
        "signature_verified": true,
        "time": {
          "age_seconds": 0,
          "evaluated_at": "string",
          "expired": true,
          "expires_in_seconds": 0,
          "not_yet_valid": true
        },
        "typ": "string",
        "valid_structure": true,
        "warnings": [
          "string"
        ]
      },
      "meta": {
        "computed_at": "string",
        "deterministic": true,
        "disclaimer": "string",
        "price_usd": "string",
        "request_id": "string",
        "sources": [
          {}
        ]
      },
      "ok": null,
      "route": null,
      "version": "string"
    },
    "type": "string"
  }
}