Venues visited by a user

https://api.foursquare.com/v2/users/USER_ID/venuehistory
Returns a list of all venues visited by the specified user, along with how many visits and when they were last there.
HTTP MethodGET
Requires Acting UserYes (learn more)
Parameters
All parameters are optional, unless otherwise indicated.
USER_IDselfFor now, only self is supported
beforeTimestamp123456789Seconds since epoch.
afterTimestamp123456789Seconds after epoch.
categoryIdasad13242ljlaLimits returned venues to those in this category. If specifying a top-level category, all sub-categories will also match the query.
Response fields
venuesA count and items of objects containing a beenHere count and venue compact venues.

Try it out