# How can I access the contractMaturity API

**URL:** <https://community.tradovate.com/t/how-can-i-access-the-contractmaturity-api/5587>\
**Category:** API Developers\
**Created:** [September 19, 2022, 3:10am UTC](https://community.tradovate.com/t/how-can-i-access-the-contractmaturity-api/5587 "2022-09-19T03:10:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangdc007](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/zhangdc007/32/1792_2.png) [@zhangdc007](https://community.tradovate.com/u/zhangdc007)\
**Post date:** [September 19, 2022, 3:10am UTC](https://community.tradovate.com/t/how-can-i-access-the-contractmaturity-api/5587/1 "2022-09-19T03:10:59Z")

</div>

the api contractMaturity/item?id=2665264 where can give the expirationDate of contract,but I can not access it by a valid access token with contractid param or productId:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/tradingforum/original/2X/5/5a994cf198a72604fde359c5b49d4f0d383a7d77.png)

how can I invoke this API to get the right expirationDate of contract?
