Retrieve all past public events hosted by a specific user, sorted by most recent first.
This endpoint returns only past events created by the user, sorted by start date in descending order (most recent first). Perfect for displaying a user’s event history.
Endpoint
GET https://api.evento.so/api/public/v1/users/{username}/past-events
Path Parameters
The username of the Evento user Example: johndoe
Query Parameters
Number of results to return per page
Minimum: 1
Maximum: 100
Default: All past events (no limit)
Example: 10
Number of results to skip for pagination Example: 20
(skip first 20 results)
Your API key for authentication
Response
Success Response (200)
Indicates whether the request was successful
Success message including the username
An array of past event objects sorted by start date (most recent first) Show Event Object Properties
Unique identifier for the event
Detailed description of the event
URL to the event’s cover image
Location details for the event
Event start date and time in ISO 8601 format
Event end date and time in ISO 8601 format
Timezone for the event (IANA timezone)
Event status (always “published” for public API)
Event visibility (always “public” for public API)
Event cost in USD (null = free)
Timestamp when the event was created
Information about the event creator Username of the event creator
URL to the user’s profile image
Verification status of the user
External links for the event Payment methods for contributions Show Contribution Properties
Bitcoin Lightning address
Examples
curl -X GET "https://api.evento.so/api/public/v1/users/johndoe/past-events?limit=5" \
-H "x-evento-api-key: YOUR_API_KEY"
Response Example
{
"success" : true ,
"message" : "Past events fetched successfully for user johndoe" ,
"data" : [
{
"id" : "evt_past1" ,
"title" : "Fall Tech Conference 2024" ,
"description" : "Annual technology conference with industry leaders" ,
"cover" : "https://example.com/fall-conf.jpg" ,
"location" : "Convention Center, San Francisco" ,
"start_date" : "2024-10-15T09:00:00Z" ,
"end_date" : "2024-10-15T18:00:00Z" ,
"timezone" : "America/Los_Angeles" ,
"status" : "published" ,
"visibility" : "public" ,
"cost" : 199.00 ,
"created_at" : "2024-08-01T10:00:00Z" ,
"creator" : {
"id" : "usr_xyz789" ,
"username" : "johndoe" ,
"image" : "https://example.com/johndoe.jpg" ,
"verification_status" : "verified"
},
"links" : {
"spotify_url" : null ,
"wavlake_url" : null
},
"contributions" : {
"cashapp" : "$johndoe" ,
"venmo" : "@johndoe" ,
"paypal" : "[email protected] " ,
"btc_lightning" : null
}
},
{
"id" : "evt_past2" ,
"title" : "Summer BBQ Meetup" ,
"description" : "Community gathering with food and networking" ,
"cover" : "https://example.com/bbq.jpg" ,
"location" : "Dolores Park, San Francisco" ,
"start_date" : "2024-07-04T16:00:00Z" ,
"end_date" : "2024-07-04T20:00:00Z" ,
"timezone" : "America/Los_Angeles" ,
"status" : "published" ,
"visibility" : "public" ,
"cost" : null ,
"created_at" : "2024-06-01T12:00:00Z" ,
"creator" : {
"id" : "usr_xyz789" ,
"username" : "johndoe" ,
"image" : "https://example.com/johndoe.jpg" ,
"verification_status" : "verified"
},
"links" : {
"spotify_url" : "https://spotify.com/playlist/summer-vibes" ,
"wavlake_url" : null
},
"contributions" : {
"cashapp" : "$johndoe" ,
"venmo" : "@johndoe" ,
"paypal" : null ,
"btc_lightning" : "[email protected] "
}
}
]
}
Error Responses
400 - Bad Request (Invalid Parameters)
{
"success" : false ,
"message" : "Limit must be between 1 and 100"
}
400 - Bad Request (Missing Username)
{
"success" : false ,
"message" : "Username is required"
}
{
"success" : false ,
"message" : "Not authenticated."
}
{
"success" : false ,
"message" : "User not found"
}
Notes
Past means start_date < current_time
Events are sorted by start date in descending order (most recent first)
Only events created by the specified user are returned
Empty array is returned if the user has no past events
Use pagination parameters for users with extensive event history
This endpoint is ideal for:
Building event history pages
Showing a user’s track record
Analytics on past event performance
Creating event portfolios