GMGN Data API
GMGN wallets with the name and X GMGN gives them, and the PnL it published, on the same key.
Authentication and allowance
GMGN wallets with the name GMGN shows and the X account it names for each, its labels, and the realised PnL and trade count it published: one page read newest change first, one wallet lookup, on the data key you already hold.
The FOMO Data API's key, plan and allowance, unchanged: send Authorization: Bearer pnl_… or the same key in X-Api-Key; a data key on plan builder or above; every served call counts once against the key's per-minute window and daily ceiling, shared with every FOMO door, and carries the same X-RateLimit headers. No call here reaches an upstream: every answer is read from our own store.
Errors and retries
One envelope: { error: { code, message, type, request_id } }. The message names the refused parameter, never its value. A wallet this store holds nothing for is a 200 with wallet: null, never a 404.
Endpoints
2 doorsGET /v1/gmgn/traders
Every GMGN wallet this store holds, newest change first: the name GMGN shows, the X account it names for the wallet, its labels, and the realised PnL and trade count GMGN published where they were read. Filter by X username.
Returns the GmgnTraderPage schema.
GET /v1/gmgn/wallet/{address}
One wallet's record, or wallet: null when this store holds none for it (a 200, never a 404).
No query parameters: use the path's {address}.
Returns the GmgnWalletAnswer schema.
curl -H "Authorization: Bearer $KEY" "https://pnl.meme/v1/gmgn/traders?limit=50"
One cursor law
Pages are newest change first. While next_cursor is a string, hand it back verbatim as cursor for the next page; null is the last page. A cursor is opaque and signed, bound to the door and the filters it was minted under: any other combination is a 400 naming cursor, never silently page one.
What a record is
Every field is present on every record; a value nobody read is null, never invented. The name, the X username and the labels are GMGN's own words for the wallet: GMGN names an X account for a wallet, and that is its word, never a verification of who holds the account. The PnL and trade figures are GMGN's own as of figures_at; a wallet whose figures were never read carries null figures and a null figures_at.
Coverage: what this store holds
The user list carries coverage: how many wallets this store holds for the platform, how many carry an X username, and the newest change. Read an empty page against coverage. Solana activity only.
Schemas
3 schemasField types, nullability and enums, as the OpenAPI document carries them. Every schema is pinned by a test to what the doors serve.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"wallet": {
"type": "string",
"description": "The wallet, Solana base58 as GMGN sent it. The key of the record."
},
"chain": {
"type": "string",
"const": "solana"
},
"name": {
"description": "The name GMGN shows for the wallet; null when it shows none.",
"type": [
"string",
"null"
]
},
"x_handle": {
"description": "The X username GMGN names for the wallet, lower-cased, without @. GMGN's word for it, never a verification of who holds the account.",
"type": [
"string",
"null"
]
},
"x_name": {
"description": "The X display name GMGN shows beside it.",
"type": [
"string",
"null"
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "GMGN's own labels for the wallet as last read; empty when none were read."
},
"realized_pnl_24h_usd": {
"description": "The realised PnL GMGN published for the wallet over 24 hours, as of figures_at; null where it was not read.",
"type": [
"number",
"null"
]
},
"realized_pnl_7d_usd": {
"description": "The same over 7 days.",
"type": [
"number",
"null"
]
},
"realized_pnl_30d_usd": {
"description": "The same over 30 days.",
"type": [
"number",
"null"
]
},
"trades_7d": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Buys plus sells GMGN published for the wallet over 7 days, as of figures_at."
},
"last_active_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "The wallet's last trade, as GMGN published it."
},
"figures_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "When the figures above were read from GMGN; null when no figure has been read for this wallet."
},
"seen_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "When the identity words above last changed in this store."
},
"clan": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "GMGN's clan id."
},
"name": {
"type": "string",
"description": "The clan's name as GMGN's newest call from any member showed it."
},
"avatar": {
"description": "The clan's picture, an https URL; null when GMGN showed none.",
"type": [
"string",
"null"
]
},
"is_captain": {
"type": "boolean",
"description": "Whether the wallet's newest call marked it as the clan's captain."
},
"seen_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "The wallet's newest call that named the clan."
}
},
"required": [
"id",
"name",
"avatar",
"is_captain",
"seen_at"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The GMGN clan the wallet's newest call named (GMGN's call feed, since 2026-11-23); null when no call of the wallet named one."
}
},
"required": [
"wallet",
"chain",
"name",
"x_handle",
"x_name",
"tags",
"realized_pnl_24h_usd",
"realized_pnl_7d_usd",
"realized_pnl_30d_usd",
"trades_7d",
"last_active_at",
"figures_at",
"seen_at",
"clan"
],
"additionalProperties": false
}
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object",
"properties": {
"wallet": {
"type": "string",
"description": "The wallet, Solana base58 as GMGN sent it. The key of the record."
},
"chain": {
"type": "string",
"const": "solana"
},
"name": {
"description": "The name GMGN shows for the wallet; null when it shows none.",
"type": [
"string",
"null"
]
},
"x_handle": {
"description": "The X username GMGN names for the wallet, lower-cased, without @. GMGN's word for it, never a verification of who holds the account.",
"type": [
"string",
"null"
]
},
"x_name": {
"description": "The X display name GMGN shows beside it.",
"type": [
"string",
"null"
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "GMGN's own labels for the wallet as last read; empty when none were read."
},
"realized_pnl_24h_usd": {
"description": "The realised PnL GMGN published for the wallet over 24 hours, as of figures_at; null where it was not read.",
"type": [
"number",
"null"
]
},
"realized_pnl_7d_usd": {
"description": "The same over 7 days.",
"type": [
"number",
"null"
]
},
"realized_pnl_30d_usd": {
"description": "The same over 30 days.",
"type": [
"number",
"null"
]
},
"trades_7d": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Buys plus sells GMGN published for the wallet over 7 days, as of figures_at."
},
"last_active_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "The wallet's last trade, as GMGN published it."
},
"figures_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "When the figures above were read from GMGN; null when no figure has been read for this wallet."
},
"seen_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "When the identity words above last changed in this store."
},
"clan": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "GMGN's clan id."
},
"name": {
"type": "string",
"description": "The clan's name as GMGN's newest call from any member showed it."
},
"avatar": {
"description": "The clan's picture, an https URL; null when GMGN showed none.",
"type": [
"string",
"null"
]
},
"is_captain": {
"type": "boolean",
"description": "Whether the wallet's newest call marked it as the clan's captain."
},
"seen_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "The wallet's newest call that named the clan."
}
},
"required": [
"id",
"name",
"avatar",
"is_captain",
"seen_at"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The GMGN clan the wallet's newest call named (GMGN's call feed, since 2026-11-23); null when no call of the wallet named one."
}
},
"required": [
"wallet",
"chain",
"name",
"x_handle",
"x_name",
"tags",
"realized_pnl_24h_usd",
"realized_pnl_7d_usd",
"realized_pnl_30d_usd",
"trades_7d",
"last_active_at",
"figures_at",
"seen_at",
"clan"
],
"additionalProperties": false
}
},
"next_cursor": {
"description": "Hand it back as cursor for the next page; null when this page was the last.",
"type": [
"string",
"null"
]
},
"filters": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"coverage": {
"type": "object",
"properties": {
"wallets": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Wallets this store holds for the platform."
},
"with_x": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Of those, the wallets carrying an X username."
},
"newest_seen_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "The newest change to any of them."
}
},
"required": [
"wallets",
"with_x",
"newest_seen_at"
],
"additionalProperties": false
},
"read_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"records",
"next_cursor",
"filters",
"coverage",
"read_at"
],
"additionalProperties": false
}
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"wallet": {
"anyOf": [
{
"type": "object",
"properties": {
"wallet": {
"type": "string",
"description": "The wallet, Solana base58 as GMGN sent it. The key of the record."
},
"chain": {
"type": "string",
"const": "solana"
},
"name": {
"description": "The name GMGN shows for the wallet; null when it shows none.",
"type": [
"string",
"null"
]
},
"x_handle": {
"description": "The X username GMGN names for the wallet, lower-cased, without @. GMGN's word for it, never a verification of who holds the account.",
"type": [
"string",
"null"
]
},
"x_name": {
"description": "The X display name GMGN shows beside it.",
"type": [
"string",
"null"
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "GMGN's own labels for the wallet as last read; empty when none were read."
},
"realized_pnl_24h_usd": {
"description": "The realised PnL GMGN published for the wallet over 24 hours, as of figures_at; null where it was not read.",
"type": [
"number",
"null"
]
},
"realized_pnl_7d_usd": {
"description": "The same over 7 days.",
"type": [
"number",
"null"
]
},
"realized_pnl_30d_usd": {
"description": "The same over 30 days.",
"type": [
"number",
"null"
]
},
"trades_7d": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Buys plus sells GMGN published for the wallet over 7 days, as of figures_at."
},
"last_active_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "The wallet's last trade, as GMGN published it."
},
"figures_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "When the figures above were read from GMGN; null when no figure has been read for this wallet."
},
"seen_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "When the identity words above last changed in this store."
},
"clan": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "GMGN's clan id."
},
"name": {
"type": "string",
"description": "The clan's name as GMGN's newest call from any member showed it."
},
"avatar": {
"description": "The clan's picture, an https URL; null when GMGN showed none.",
"type": [
"string",
"null"
]
},
"is_captain": {
"type": "boolean",
"description": "Whether the wallet's newest call marked it as the clan's captain."
},
"seen_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "The wallet's newest call that named the clan."
}
},
"required": [
"id",
"name",
"avatar",
"is_captain",
"seen_at"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The GMGN clan the wallet's newest call named (GMGN's call feed, since 2026-11-23); null when no call of the wallet named one."
}
},
"required": [
"wallet",
"chain",
"name",
"x_handle",
"x_name",
"tags",
"realized_pnl_24h_usd",
"realized_pnl_7d_usd",
"realized_pnl_30d_usd",
"trades_7d",
"last_active_at",
"figures_at",
"seen_at",
"clan"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"read_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"wallet",
"read_at"
],
"additionalProperties": false
}