75trust / 100

User

by x4o2 pump.fun Data in Onchain & crypto

x402 APIPassing, checked 2 h ago

The public profile of one pump.fun user (wallet address, user id, username, bio, follower counts, creation stats) plus their overview. Add include= with any of portfolio (open positions with P&L), summary (period P&L; period=1d|1w|1m|all), balance (wallet value and token balances), created (coins they launched), followers, following, achievements. Use to evaluate a trader seen in holders, traders or the leaderboard.

GET
https://pump.x4o2.com/v1/user/:user
Price
$0.001
per call in USDC
Uptime
99.0%
last 30 days
Response time
473 ms
622 ms slowest 5%
Last check
Passed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://pump.x4o2.com/v1/user/:user

Each call costs $0.001 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://pump.x4o2.com/v1/user/:user?include=portfolio%2Csummary&maxAge=5&period=1d&stale=0

Parameters

ParameterTypeRequiredDescription
includestringNoComma-separated extras: portfolio, summary, balance, created, followers, following, achievements
maxAgeintegerNoServe a cached copy up to this many seconds old; 0 forces the freshest allowed
periodstringNoP&L period for include=summary One of: 1d, 1w, 1m, all.
staleintegerNo1 returns any cached copy immediately and refreshes in the background One of: 0, 1.

Example response

The provider's example. We can't check it without paying.

Example response, 125 lines
{
  "data": {
    "balance": {
      "data": {
        "dust_count": 257,
        "dust_value_usd": 3.9054298307188184,
        "native_balance": 33.968264642,
        "native_lamports": 33968264642,
        "sol_price": 100.26885988738384,
        "token_count": 186,
        "total_value": 980018.0584069501,
        "wrapped_sol_balance": 0
      },
      "success": true
    },
    "created": null,
    "followers": null,
    "following": null,
    "overview": {
      "achievementBadgeIds": [
        "views-1m"
      ],
      "address": "f779e161-0f93-49ec-b763-214...",
      "banned": false,
      "counts": {
        "followers": 162027,
        "following": 7
      },
      "createdCoinsCount": 4,
      "isPumpUser": true,
      "profile": {
        "address": "2M2vLX34LXMg24dMEnjWHvRXS1t...",
        "avatar_decoration": null,
        "header_image_url": "https://images.pump.fun/6b0...",
        "is_banned": false,
        "is_pump_user": true,
        "profile_image": "https://socialimages.pump.f...",
        "userId": "f779e161-0f93-49ec-b763-214...",
        "username": "SossaDotKek"
      },
      "verified": false
    },
    "portfolio": {
      "positions": [
        {
          "amountHeld": 20730476.396162,
          "chainId": 1399811149,
          "coinMint": "Ai66LHZG9MCzg1WKdawwqduVAXp...",
          "costBasisAmount": 20730476.39611597,
          "isExited": false,
          "pnlPercentage": 95.98060767671657,
          "pnlUsd": 466794.9566433995,
          "walletAddress": "2M2vLX34LXMg24dMEnjWHvRXS1t..."
        }
      ],
      "summary": {
        "hlAccount": "missing",
        "positionCount": 541
      },
      "updatesApplied": true
    },
    "summary": {
      "from": 1792980000,
      "percentage": {
        "sol": -7.438126018272796,
        "usd": -8.027940152858823
      },
      "pnl": {
        "sol": -784.6281733632213,
        "usd": -85723.59008004412
      },
      "realizedPnl": {
        "sol": -44.76614129564803,
        "usd": -4507.630723420416
      },
      "to": 1793068380,
      "totalBuySpend": {
        "sol": 131.25375132,
        "usd": 13224.763675322585
      },
      "unrealizedPnl": {
        "sol": -739.8620320675733,
        "usd": -81215.9593566237
      },
      "wallet": "2M2vLX34LXMg24dMEnjWHvRXS1t..."
    },
    "user": {
      "address": "2M2vLX34LXMg24dMEnjWHvRXS1t...",
      "avatar_decoration": null,
      "header_image_url": "https://images.pump.fun/6b0...",
      "is_banned": false,
      "is_pump_user": true,
      "profile_image": "https://socialimages.pump.f...",
      "userId": "f779e161-0f93-49ec-b763-214...",
      "username": "SossaDotKek"
    }
  },
  "meta": {
    "ageMs": 517,
    "observedAt": 1793068418597,
    "parts": {
      "balanceSummary": {
        "observedAt": 1793068418625,
        "source": "fresh"
      },
      "portfolio": {
        "observedAt": 1793068418625,
        "source": "fresh"
      },
      "portfolioSummary": {
        "observedAt": 1793068418625,
        "source": "fresh"
      },
      "user": {
        "observedAt": 1793068418597,
        "source": "fresh"
      },
      "userOverview": {
        "observedAt": 1793068418625,
        "source": "fresh"
      }
    },
    "source": "fresh"
  }
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.001.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://pump.x4o2.com/v1/user/:user?include=portfolio%2Csummary&maxAge=5&period=1d&stale=0'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://pump.x4o2.com/v1/user/:user?include=portfolio%2Csummary&maxAge=5&period=1d&stale=0' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.001 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.001" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.001 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fpump.x4o2.com%2Fv1%2Fuser%2F%3Auser
const res = await pay("https://pump.x4o2.com/v1/user/:user?include=portfolio%2Csummary&maxAge=5&period=1d&stale=0");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.001 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.001"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://pump.x4o2.com/v1/user/:user?include=portfolio%2Csummary&maxAge=5&period=1d&stale=0")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed4021.3 s$0.001
12 h agoPassed402352 ms$0.001
23 h agoPassed402382 ms$0.001
32 h agoPassed402418 ms$0.001
43 h agoPassed402174 ms$0.001
Show 10 older checks
2 days agoPassed402380 ms$0.001
5 days agoTimed out---
6 days agoPassed402129 ms$0.001
6 days agoPassed402576 ms$0.001
6 days agoPassed402450 ms$0.001
7 days agoPassed402478 ms$0.001
7 days agoPassed402493 ms$0.001
8 days agoPassed402507 ms$0.001
8 days agoPassed402462 ms$0.001
8 days agoPassed402469 ms$0.001