Skip to content

Instantly share code, notes, and snippets.

@scottyab
Last active September 20, 2025 17:20
Show Gist options
  • Save scottyab/54037a82d9681eb3d1fc2e9e8872dfa0 to your computer and use it in GitHub Desktop.
Save scottyab/54037a82d9681eb3d1fc2e9e8872dfa0 to your computer and use it in GitHub Desktop.
Query all the past events a meetup.com group has hosted. Meetup doesn’t great way of surfacing a meetup groups past events (paging through the calendar is PITA). This GraphQL query can be run from the MeetupAPI GraphQL playground https://www.meetup.com/api/playground/#graphQl-playground
{ "urlname": "YOUR URL PATH here, for https://www.meetup.com/swmobile the urlname is swmobile" }
query ($urlname: String!) {
groupByUrlname(urlname: $urlname) {
pastEvents(input: {first: 300}) {
count
pageInfo {
endCursor
}
edges {
node {
id
title
host { name }
dateTime
going
eventUrl
}
}
}
}
}
@scottyab
Copy link
Author

scottyab commented Aug 14, 2023

Here's an example of the above in place on the graphQl-playground
meetup graph ql

@msimon3
Copy link

msimon3 commented Apr 14, 2025

Unfortunately 'pastEvents' appears to no longer be a query option.

@irby
Copy link

irby commented Sep 20, 2025

@msimon3 Indeed. It seems the new events field only has future events and does not query past events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment