Skip to content

Create New Pump.Fun Tweets Monitor - API Reference

Creates a new monitor to receive alerts when any profile posts a link to pump.fun coin page. This monitor will only detect tweets that contain links to pump.fun posted by non-shadow-banned Twitter users that have at least 1000 followers.

POST https://api.socialdata.tools/monitors/search-pump-fun

Headers

Authorization string required

Authorization Bearer header containing your SocialData API key

Example: Bearer YOUR_API_KEY

Body

webhook_url string optional

Monitor-specific webhook URL that will override your global webhook URL. Not required.

If you want to send events to Discord or Telegram, please read the following section

Example: https://my-website.com/webhook

Code Examples

Terminal window
curl -X POST "https://api.socialdata.tools/monitors/search-pump-fun" \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'

Example Responses

{
"status": "success",
"data": {
"id": "01jmsjfcer1yhqb2qxgr3812f6",
"created_at": "2025-02-23T14:13:14.000000Z",
"monitor_type": "search_pump_fun",
"webhook_url": null,
"parameters": []
}
}

Response Codes

  • 200 OK - request succeeded
  • 402 Payment Required - not enough credits to perform this request
  • 422 Unprocessable Content - validation failed (e.g. one of the required parameters was not provided)
  • 500 Internal Error - API internal error, typically means that SocialData API failed to obtain the requested information and you should try again later

Webhook Payload Example

When a monitor detects a new tweet with a link to pump.fun coin page, the API will make a POST request to your webhook URL with the following payload:

{
"event": "new_tweet",
"data": {
"tweet_created_at": "2025-03-11T04:49:55.000000Z",
"id": 1899321865522331859,
"id_str": "1899321865522331859",
"conversation_id_str": "1899321865522331859",
"text": null,
"full_text": "https:\/\/t.co\/HxlxOljYWB\n\nLFG \ud83d\ude80\ud83d\ude80\ud83d\ude80",
"source": "<a href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\">Twitter for iPhone<\/a>",
"truncated": false,
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"user": {
"id": 1066319257951064069,
"id_str": "1066319257951064069",
"name": "Rohan Cerveli | TDO",
"screen_name": "rohancerv",
"location": "",
"url": "http:\/\/safemoon.meme",
"description": "No X support No Airdrops No giveaways \u2026 Just Advice \ud83d\ude02\ud83e\udef6\ud83c\udffe",
"protected": false,
"verified": true,
"followers_count": 1921,
"friends_count": 76,
"listed_count": 8,
"favourites_count": 19810,
"statuses_count": 17926,
"created_at": "2018-11-24T13:14:57.000000Z",
"profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1066319257951064069\/1740427809",
"profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1879574201641648128\/TMsKFPwm_normal.jpg",
"can_dm": true
},
"quoted_status_id": null,
"quoted_status_id_str": null,
"is_quote_status": false,
"quoted_status": null,
"retweeted_status": null,
"quote_count": 0,
"reply_count": 0,
"retweet_count": 0,
"favorite_count": 0,
"views_count": null,
"bookmark_count": 0,
"lang": "und",
"entities": {
"hashtags": [],
"symbols": [],
"timestamps": [],
"urls": [
{
"display_url": "pump.fun\/coin\/FaGkRQrH3\u2026",
"expanded_url": "https:\/\/pump.fun\/coin\/FaGkRQrH3Zop9XD8F7q7yS7dRT3JqZ7B7CfwG59opump",
"url": "https:\/\/t.co\/HxlxOljYWB",
"indices": [
0,
23
]
}
],
"user_mentions": []
},
"is_pinned": false
},
"meta": {
"monitor_id": "01jmsjfcer1yhqb2qxgr3812f6",
"monitor_type": "search_pump_fun"
}
}

Receiving Events in Telegram or Discord

SocialData Monitor event schema differs from what Discord or Telegram expect. If you would like to receive notifications in your Discord channel or Telegram bot, we provide pre-built webhook handlers hosted on Val Town, eliminating the need to develop your own custom application.

Simply copy the following webhook handler to your own Val Town account and configure your monitor’s webhook_url to direct events to your webhook handler: Tweet event webhook handler