curl --request GET \
--url https://api.rewind.rest/v1/attending/seasons/{league}/{season} \
--header 'Authorization: Bearer <token>'{
"league": "<string>",
"season": 123,
"attended_count": 123,
"wins": 123,
"losses": 123,
"data": [
{
"id": 142,
"category": "sports",
"event_type": "mlb_game",
"event_date": "2024-08-12",
"event_datetime": "2024-08-12T19:10:00Z",
"title": "Seattle Mariners vs Houston Astros",
"subtitle": "Mariners 4, Astros 2",
"series_id": "mlb-2024-mariners",
"external_id": "745423",
"external_source": "mlb_stats_api",
"event_data": {
"season": 2024,
"home_team": "Seattle Mariners",
"away_team": "Houston Astros",
"home_score": 4,
"away_score": 2,
"my_team_won": true,
"winning_pitcher": "Logan Gilbert"
},
"notes": null,
"attended": true,
"venue": {
"id": 12,
"name": "T-Mobile Park",
"city": "Seattle",
"state": "WA",
"country": "US",
"latitude": 47.5914,
"longitude": -122.3325,
"capacity": 47929
},
"tickets": [
{
"id": 871,
"vendor": "ticketmaster",
"order_id": "32-43215/SEA",
"section": "147",
"row": "15",
"seat": "12",
"quantity": 2,
"total_price_cents": 8400,
"currency": "USD",
"purchased_at": "2024-06-15T18:42:11Z"
}
]
}
]
}Returns the games you attended (or hold tickets for) in a given league + season. Pair with a public schedule API (MLB Stats API, ESPN, etc.) on the consumer side to overlay attendance on the full schedule.
curl --request GET \
--url https://api.rewind.rest/v1/attending/seasons/{league}/{season} \
--header 'Authorization: Bearer <token>'{
"league": "<string>",
"season": 123,
"attended_count": 123,
"wins": 123,
"losses": 123,
"data": [
{
"id": 142,
"category": "sports",
"event_type": "mlb_game",
"event_date": "2024-08-12",
"event_datetime": "2024-08-12T19:10:00Z",
"title": "Seattle Mariners vs Houston Astros",
"subtitle": "Mariners 4, Astros 2",
"series_id": "mlb-2024-mariners",
"external_id": "745423",
"external_source": "mlb_stats_api",
"event_data": {
"season": 2024,
"home_team": "Seattle Mariners",
"away_team": "Houston Astros",
"home_score": 4,
"away_score": 2,
"my_team_won": true,
"winning_pitcher": "Logan Gilbert"
},
"notes": null,
"attended": true,
"venue": {
"id": 12,
"name": "T-Mobile Park",
"city": "Seattle",
"state": "WA",
"country": "US",
"latitude": 47.5914,
"longitude": -122.3325,
"capacity": 47929
},
"tickets": [
{
"id": 871,
"vendor": "ticketmaster",
"order_id": "32-43215/SEA",
"section": "147",
"row": "15",
"seat": "12",
"quantity": 2,
"total_price_cents": 8400,
"currency": "USD",
"purchased_at": "2024-06-15T18:42:11Z"
}
]
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.rewind.rest/llms.txt
Use this file to discover all available pages before exploring further.
API key. Read keys (rw_live_...) access GET endpoints. Admin keys (rw_admin_...) access all endpoints.