GET
/
api
/
chat
curl -X GET "https://inkypump.com/api/chat?tokenAddress=0x1234567890abcdef1234567890abcdef12345678&limit=50"

curl -X POST "https://inkypump.com/api/chat" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "TURNSTILE_TOKEN",
    "tokenAddress": "0x1234567890abcdef1234567890abcdef12345678",
    "message": "Great project!",
    "signature": "0xSignature..."
  }'
[
  {
    "id": "msg_123456",
    "token_address": "0x1234567890abcdef1234567890abcdef12345678",
    "sender_address": "0xabcdef1234567890abcdef1234567890abcdef12",
    "message": "This token looks promising!",
    "created_at": "2024-01-15T10:30:00Z"
  }
]

GET - Retrieve Messages

Fetch chat messages for a specific token.

Query Parameters

tokenAddress
string
required
The token contract address
limit
number
default:"50"
Maximum number of messages to return
offset
number
default:"0"
Number of messages to skip for pagination

Response

Returns an array of message objects directly:

POST - Send Message

API Access Required: To use the POST endpoint for sending messages, please contact @emperoroftheink on Telegram for access credentials and usage guidelines.
Post a new chat message for a token.

Request Body

token
string
required
Cloudflare Turnstile verification token
tokenAddress
string
required
The token contract address
message
string
required
Message content (max 500 characters)
signature
string
required
Ethereum signature for authentication

Rate Limits

  • Maximum 5 messages per minute per address
[
  {
    "id": "msg_123456",
    "token_address": "0x1234567890abcdef1234567890abcdef12345678",
    "sender_address": "0xabcdef1234567890abcdef1234567890abcdef12",
    "message": "This token looks promising!",
    "created_at": "2024-01-15T10:30:00Z"
  }
]

POST Response Example

{
  "id": "msg_789012",
  "token_address": "0x1234567890abcdef1234567890abcdef12345678",
  "sender_address": "0xabcdef1234567890abcdef1234567890abcdef12",
  "message": "Great project!",
  "created_at": "2024-01-15T11:00:00Z"
}
curl -X GET "https://inkypump.com/api/chat?tokenAddress=0x1234567890abcdef1234567890abcdef12345678&limit=50"

curl -X POST "https://inkypump.com/api/chat" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "TURNSTILE_TOKEN",
    "tokenAddress": "0x1234567890abcdef1234567890abcdef12345678",
    "message": "Great project!",
    "signature": "0xSignature..."
  }'