Scrape messages and channel data from Discord. Supports restarts from last saved message. Supports bulk scrapping all channels on a server.
An Apify actor designed to scrape messages and channel data from Discord. This tool allows you to extract message history, guild channel lists, and other structured data from Discord servers and channels using a user or bot token.
action
parameter, the scraper performs one of the following:
The scraper accepts a JSON object with the following parameters:
Field | Type | Required | Default | Description |
---|---|---|---|---|
channelId | string | Yes | "" | The ID of the Discord channel to scrape. |
token | string | Yes | "" | Discord user or bot token. Use carefully (may violate TOS). |
limit | number | No | 100 | Maximum number of messages to fetch (per channel in guild mode). |
action | string | Yes | "" | Action to perform: "Scrape Messages", "Scrape Channel List for Guild", "Scrape Messages for Guild". |
cursorType | string | No | "after" | Cursor direction: "before" or "after" . |
cursor | string | No | null | Optional user-specified cursor for pagination. |
1{ 2 "channelId": "123456789012345678", 3 "token": "YOUR_DISCORD_TOKEN", 4 "limit": 50, 5 "action": "Scrape Messages", 6 "cursorType": "after", 7 "cursor": null 8}
The actor outputs structured JSON data to the Apify dataset, formatted as:
1[ 2 { 3 "type": 0, 4 "content": "Give me a fun picture", 5 "mentions": [], 6 "mention_roles": [], 7 "attachments": [], 8 "embeds": [], 9 "timestamp": "2023-10-29T02:03:46.247000+00:00", 10 "edited_timestamp": null, 11 "flags": 0, 12 "components": [], 13 "resolved": { "users": {}, "members": {}, "channels": {}, "roles": {} }, 14 "id": "1168007238766559311", 15 "channel_id": "1143396487057899611", 16 "author": { 17 "id": "936929561302675456", 18 "username": "Midjourney Bot", 19 "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", 20 "discriminator": "9282", 21 "public_flags": 589824, 22 "flags": 589824, 23 "bot": true, 24 "banner": null, 25 "accent_color": null, 26 "global_name": null, 27 "avatar_decoration_data": null, 28 "banner_color": null, 29 "clan": null, 30 "primary_guild": null 31 }, 32 "pinned": false, 33 "mention_everyone": false, 34 "tts": false 35 } 36]
1[ 2 { 3 "id": "1143396487057899613", 4 "type": 2, 5 "last_message_id": null, 6 "flags": 0, 7 "guild_id": "1143396486411984942", 8 "name": "Best Channel Ever", 9 "parent_id": "1143396487057899611", 10 "rate_limit_per_user": 0, 11 "bitrate": 64000, 12 "user_limit": 0, 13 "rtc_region": null, 14 "position": 0, 15 "permission_overwrites": [], 16 "nsfw": false 17 }, 18 { 19 "id": "1143396487057899613", 20 "type": 2, 21 "last_message_id": null, 22 "flags": 0, 23 "guild_id": "1143396486411984943", 24 "name": "Even Better Channel", 25 "parent_id": "1143396487057899613", 26 "rate_limit_per_user": 0, 27 "bitrate": 64000, 28 "user_limit": 0, 29 "rtc_region": null, 30 "position": 0, 31 "permission_overwrites": [], 32 "nsfw": false 33 } 34]
This project is not affiliated with or endorsed by Discord. Use responsibly and adhere to Discord’s API Terms of Service.
Yes, if you're scraping publicly available data for personal or internal use. Always review Websute's Terms of Service before large-scale use or redistribution.
No. This is a no-code tool — just enter a job title, location, and run the scraper directly from your dashboard or Apify actor page.
It extracts job titles, companies, salaries (if available), descriptions, locations, and post dates. You can export all of it to Excel or JSON.
Yes, you can scrape multiple pages and refine by job title, location, keyword, or more depending on the input settings you use.
You can use the Try Now button on this page to go to the scraper. You’ll be guided to input a search term and get structured results. No setup needed!