Our September 2020 release is a hotfix to address the inability to search for sneakers released on a specific date. In this new release consumers of our API can search for sneakers released on a specific day without having to use date filtering.

Release Date Search Issue

Prior to releasing our hotfix, if you wanted to search for all sneakers released February 14, 2019 you would get 0 results returned if you tried the following search:

https://api.thesneakerdatabase.com/v1/sneakers?limit=10&releaseDate=2019-02-14

This is because all release dates have a “23:59:59” timestamp associated with it. However if you tried the following search:

https://api.thesneakerdatabase.com/v1/sneakers?limit=10&releaseDate=2019-02-14 23:59:59

You would see a validation error stating that your date doesn’t follow the specified yyyy-mm-dd format. The only way to workaround this limitation was to use date filtering.

Our Solution

To solve this problem, we updated our date validation logic to handle the following date formats:

yyyy-mm-dd
yyyy-mm-dd hh:mm:ss

With this update to our date validation, you are now able to search for sneakers released on a specific day using a date format similar to the one below.

https://api.thesneakerdatabase.com/v1/sneakers?limit=10&releaseDate=2019-02-14 23:59:59

To learn more about our API, check out our swagger documentation.

About the author