# Using the API to get payroll time periods

**URL:** <https://developer.squareup.com/forums/t/using-the-api-to-get-payroll-time-periods/14117>\
**Category:** Questions\
**Tags:** labor-api, sdk\
**Created:** [March 30, 2024, 6:36pm UTC](https://developer.squareup.com/forums/t/using-the-api-to-get-payroll-time-periods/14117 "2024-03-30T18:36:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TrevorMW66](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/trevormw66/32/1713_2.png) [@TrevorMW66](https://developer.squareup.com/forums/u/TrevorMW66)\
**Post date:** [March 30, 2024, 6:36pm UTC](https://developer.squareup.com/forums/t/using-the-api-to-get-payroll-time-periods/14117/1 "2024-03-30T18:36:55Z")

</div>

I need to be able to get the current pay period and the next pay period values. Is that possible through any of the square API’s currently? I have not been able to find if that data is available in your PHP SDK.

If this data isnt available, is there some data somewhere in any API that I could get that I could at least derive the start day of the pay period week from?

 ![Screen Shot 2024-03-30 at 2.25.27 PM](https://global.discourse-cdn.com/square/original/2X/b/beb6c093d02a609d87c1d78e378922a3b868e7e6.png)

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [April 1, 2024, 2:59pm UTC](https://developer.squareup.com/forums/t/using-the-api-to-get-payroll-time-periods/14117/2 "2024-04-01T14:59:02Z")

</div>

At this time there isn’t any APIs for payroll. You can get team and shift data from our [Labor APIs](https://developer.squareup.com/reference/square/labor-api) and [Team APIs](https://developer.squareup.com/reference/square/team-api) but payroll APIs isn’t currently available. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. 🙂
