Member Activity
GraphQL Endpoint to fetch members' activity in your Discord Server
Last updated
Was this helpful?
GraphQL Endpoint to fetch members' activity in your Discord Server
Last updated
Was this helpful?
query MembersActivity($page: Int!, $pageSize: Int!, $startDate: String, $endDate: String, $guildId: String) {
membersActivity(page: $page, pageSize: $pageSize, startDate: $startDate, endDate: $endDate, guildId: $guildId) {
totalMembers
membersList {
id
name
discriminator
lastActiveDate
numMessages
numMessagesLast90Days
numMessagesLast60Days
numMessagesLast30Days
}
}
}
{
"pageSize": Int, // Number of members entries in a fetch. Upper limit = 100
"page": Int, // Page number
"startDate": String, // YYYY-MM-DD format
"endDate": String, // YYYY-MM-DD format
"guildId": String // Guild id of the discord server
}
{
"totalMembers": Int, // Total Number of Members
"membersList": Array<{
"id": Int, // Discord ID of the Member
"name": String, // Discord Name of the Member
"discriminator": String, // Discord Discriminator of the Member
"lastActiveDate": String, // Timestamp of Last Message by the Member
"numMessages": Int, // Number of Messages by the Member from All Time
// All three values below will be null if startDate and endDate are provided
"numMessagesLast90Days": Int, // Number of Messages by the Member in last 90 days
"numMessagesLast60Days": Int, // Number of Messages by the Member in last 60 days
"numMessagesLast30Days": Int, // Number of Messages by the Member in last 30 days
}>
}
POST
https://dashboard.withblaze.app/api/graphql-api
Without startDate
and endDate
page*
1
Page number should start from 1
pageSize*
10
Max Limit - 100
guildId
GUILD-ID
Optional: Guild ID of the Discord Server
If the guild ID is not specified, the data of the discord server that was integrated first will be retrieved
x-api-key*
API-KEY
Your Blaze API Key
{
"data": {
"membersActivity": {
"totalMembers": "93335",
"membersList": [
{
"id": "487662896441065482",
"name": "Outerace",
"discriminator": "4448",
"lastActiveDate": "2022-12-12 02:51:33.769000",
"numMessages": 1,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "746764082044076113",
"name": "Jelo_Art",
"discriminator": "6762",
"lastActiveDate": "2022-08-18 22:35:24.028000",
"numMessages": 3,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "473508153946931221",
"name": "HARIYADI",
"discriminator": "4191",
"lastActiveDate": "2022-12-29 08:57:59.709000+00:00",
"numMessages": 12,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "771978394690387978",
"name": "HumanFemaleUnderSwapPapyrus",
"discriminator": "9498",
"lastActiveDate": "2023-05-17 07:11:09.942000+00:00",
"numMessages": 10,
"numMessagesLast90Days": 10,
"numMessagesLast60Days": 10,
"numMessagesLast30Days": 10
},
{
"id": "759174687732793344",
"name": "Mabbb ❦",
"discriminator": "4974",
"lastActiveDate": "2023-04-03 15:37:39.438000+00:00",
"numMessages": 39,
"numMessagesLast90Days": 24,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "829175540685602847",
"name": "athena",
"discriminator": "5334",
"lastActiveDate": "2023-02-08 19:19:38.487000+00:00",
"numMessages": 1,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "795476528942940160",
"name": "Ytnangcok",
"discriminator": "0853",
"lastActiveDate": "2023-01-06 21:10:46.253000+00:00",
"numMessages": 1,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "728700860351381575",
"name": "Astro-Saif",
"discriminator": "3278",
"lastActiveDate": "2022-07-02 20:24:47.874000",
"numMessages": 3,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "938012522831835168",
"name": "Miiku",
"discriminator": "0309",
"lastActiveDate": "2022-12-26 10:42:47.555000+00:00",
"numMessages": 10,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "203232080975495169",
"name": "chief_plasma24",
"discriminator": "0",
"lastActiveDate": "2023-05-31 15:09:44.652000+00:00",
"numMessages": 3474,
"numMessagesLast90Days": 349,
"numMessagesLast60Days": 100,
"numMessagesLast30Days": 6
}
]
}
}
}
POST
https://dashboard.withblaze.app/api/graphql-api
With startDate
and endDate
page*
1
pageSize*
10
startDate
2023-05-14
endDate
2023-06-14
guildId
GUILD-ID
Guild ID of the discord server
x-api-key
API-KEY
Your Blaze API Key
{
"data": {
"membersActivity": {
"totalMembers": "93335",
"membersList": [
{
"id": "884301254862450708",
"name": "sisil",
"discriminator": "5268",
"lastActiveDate": "2023-01-29 09:01:57.395000+00:00",
"numMessages": null,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "223833046149758976",
"name": "justkitty.",
"discriminator": "0",
"lastActiveDate": "2022-12-13 20:48:24.233000",
"numMessages": null,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "906893482667438112",
"name": "saujanee",
"discriminator": "1821",
"lastActiveDate": "2022-12-25 02:11:27.314000+00:00",
"numMessages": null,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "842210436299751434",
"name": "zamNoor",
"discriminator": "9710",
"lastActiveDate": "2022-12-24 23:09:44.010000+00:00",
"numMessages": null,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "480052284609527808",
"name": "jrriots",
"discriminator": "8781",
"lastActiveDate": "2022-12-19 07:45:04.765000+00:00",
"numMessages": null,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "193568882923929600",
"name": "λzural™",
"discriminator": "4439",
"lastActiveDate": "2022-07-20 22:43:18.085000",
"numMessages": null,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "711593000702050417",
"name": "Duragshinobi",
"discriminator": "0999",
"lastActiveDate": "2022-10-26 18:43:19.052000",
"numMessages": null,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "951350960221990922",
"name": "Rahmat46",
"discriminator": "6936",
"lastActiveDate": "2022-12-28 11:27:24.841000+00:00",
"numMessages": null,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "881257583099408454",
"name": "jimmeyy",
"discriminator": "1484",
"lastActiveDate": "2023-02-11 10:44:26.584000+00:00",
"numMessages": null,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
},
{
"id": "450480803726491654",
"name": "Mr.Tentacles",
"discriminator": "7671",
"lastActiveDate": "2022-12-31 04:43:47.486000+00:00",
"numMessages": null,
"numMessagesLast90Days": null,
"numMessagesLast60Days": null,
"numMessagesLast30Days": null
}
]
}
}
}