# Is there any API to validate a token if expired or not? I cannot use /userinfo because of rate policy

**URL:** <https://community.auth0.com/t/is-there-any-api-to-validate-a-token-if-expired-or-not-i-cannot-use-userinfo-because-of-rate-policy/85600>\
**Category:** Get Help\
**Created:** [June 21, 2022, 6:32am UTC](https://community.auth0.com/t/is-there-any-api-to-validate-a-token-if-expired-or-not-i-cannot-use-userinfo-because-of-rate-policy/85600 "2022-06-21T06:32:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev40](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dev40/32/33281_2.png) [@dev40](https://community.auth0.com/u/dev40)\
**Post date:** [June 21, 2022, 6:32am UTC](https://community.auth0.com/t/is-there-any-api-to-validate-a-token-if-expired-or-not-i-cannot-use-userinfo-because-of-rate-policy/85600/1 "2022-06-21T06:32:35Z")

</div>

Is there any API to validate a token if expired or not? I cannot use /userinfo because of rate policy.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 29, 2022, 12:34am UTC](https://community.auth0.com/t/is-there-any-api-to-validate-a-token-if-expired-or-not-i-cannot-use-userinfo-because-of-rate-policy/85600/3 "2022-06-29T00:34:27Z")

</div>

Hi there @dev40!

I suggest taking a look at the following post:

> [@Validating an Access Token](https://community.auth0.com/t/validating-an-access-token/71540/2):
>
> Welcome to the Auth0 Community, @gsinha! We don’t have an equivalent endpoint to the /introspect endpoint from Okta. You would have two options: either use the token and see if it’s valid or inspect it using a library of your choice (you can grab one from [JSON Web Token Libraries - jwt.io](https://jwt.io/libraries) for example) I recommend you to read [https://auth0.com/docs/security/tokens/access-tokens/validate-access-tokens](https://auth0.com/docs/security/tokens/access-tokens/validate-access-tokens) to learn more about this topic. If you would like to see a similar endpoint or any other featu…

Hope this helps!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [July 14, 2022, 12:34am UTC](https://community.auth0.com/t/is-there-any-api-to-validate-a-token-if-expired-or-not-i-cannot-use-userinfo-because-of-rate-policy/85600/4 "2022-07-14T00:34:45Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
