📦 Discord Stock Messages API

Version 1.0.0 | Channel: 1429866583131558101

Available Endpoints

GET /api/messages

Get latest messages from the channel

Query params: limit (default: 50, max: 100)

curl http://localhost:3333/api/messages?limit=10

GET /api/messages/latest

Get only the most recent message

curl http://localhost:3333/api/messages/latest

GET /api/messages/since/:messageId

Get all messages after a specific message ID

curl http://localhost:3333/api/messages/since/1234567890

GET /api/health

Health check

curl http://localhost:3333/api/health

Response Format

{
  "success": true,
  "channelId": "1429866583131558101",
  "count": 10,
  "messages": [
    {
      "id": "1234567890",
      "content": "message text",
      "author": {
        "id": "...",
        "username": "Vulcan",
        "bot": true
      },
      "timestamp": "2025-10-23T10:00:00.000Z",
      "embeds": [...]
    }
  ]
}