Api Endpoint

x4o2 pump.fun Data

Historical candles for one coin from pump.fun's own chart data: open, high, low, close, USD volume and trade count per bucket. res picks the bucket (1m, 5m, 15m, 30m, 1h, 4h, 6h, 12h, 1d), count how many of the most recent buckets, measure whether values are price or market cap in USD or SOL.

Open interactive test console

Offering

Provider
pump.x4o2.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://pump.x4o2.com/v1/coin/:mint/candles
MIME type
application/json
First seen
2026-10-16T01:52:40.118Z
Last seen
Tags
pump.fun, Solana, OHLCV, Candles, chart

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x46E18AA644CFF035Aec1cb9ca412900aAe78E928"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "9xhCVzDP9dH2s7zMSdGhNUAMasRGR3LUPEYC3R3Mtdyy"
  }
]

Observed health

Status
Healthy
Latest latency
103 ms
Average latency
501 ms
HTTP status
402
Last checked
Reachability
100% over 15 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "maxAge": {
          "type": "integer",
          "description": "Serve a cached copy up to this many seconds old; 0 forces the freshest allowed",
          "minimum": 0
        },
        "stale": {
          "type": "integer",
          "description": "1 returns any cached copy immediately and refreshes in the background",
          "enum": [
            0,
            1
          ]
        },
        "res": {
          "type": "string",
          "description": "Bucket size",
          "enum": [
            "1m",
            "5m",
            "15m",
            "30m",
            "1h",
            "4h",
            "6h",
            "12h",
            "1d"
          ]
        },
        "count": {
          "type": "integer",
          "description": "Number of most recent buckets",
          "minimum": 1,
          "maximum": 1000
        },
        "measure": {
          "type": "string",
          "description": "Whether values are price or market cap, in USD or SOL",
          "enum": [
            "price_usd",
            "price_sol",
            "market_cap_usd",
            "market_cap_sol"
          ]
        }
      },
      "required": []
    },
    "pathParams": {
      "type": "object",
      "properties": {
        "mint": {
          "type": "string",
          "description": "Token mint address (base58)"
        }
      },
      "required": [
        "mint"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "pathParams": {
          "properties": {
            "mint": {
              "description": "Token mint address (base58)",
              "type": "string"
            }
          },
          "required": [
            "mint"
          ],
          "type": "object"
        },
        "queryParams": {
          "properties": {
            "count": {
              "description": "Number of most recent buckets",
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            },
            "maxAge": {
              "description": "Serve a cached copy up to this many seconds old; 0 forces the freshest allowed",
              "minimum": 0,
              "type": "integer"
            },
            "measure": {
              "description": "Whether values are price or market cap, in USD or SOL",
              "enum": [
                "price_usd",
                "price_sol",
                "market_cap_usd",
                "market_cap_sol"
              ],
              "type": "string"
            },
            "res": {
              "description": "Bucket size",
              "enum": [
                "1m",
                "5m",
                "15m",
                "30m",
                "1h",
                "4h",
                "6h",
                "12h",
                "1d"
              ],
              "type": "string"
            },
            "stale": {
              "description": "1 returns any cached copy immediately and refreshes in the background",
              "enum": [
                0,
                1
              ],
              "type": "integer"
            }
          },
          "required": [],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "properties": {
                "candles": {
                  "items": {
                    "properties": {
                      "close": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "final": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "high": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isCorrection": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "low": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "open": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "openTimeMs": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "pool": {
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "trades": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "volumeUsd": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "createdMs": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "graduatedAt": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "hasOlder": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "served": {
                  "properties": {
                    "measure": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "res": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "source": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "supplyUsed": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "meta": {
              "description": "Freshness of the response",
              "properties": {
                "ageMs": {
                  "description": "Age of the oldest part when served, ms",
                  "type": "integer"
                },
                "observedAt": {
                  "description": "Unix ms when the oldest part was observed upstream",
                  "type": "integer"
                },
                "parts": {
                  "description": "observedAt and source per upstream part",
                  "type": "object"
                },
                "source": {
                  "enum": [
                    "cache",
                    "fresh",
                    "stale"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "observedAt",
                "ageMs",
                "source"
              ],
              "type": "object"
            }
          },
          "required": [
            "data",
            "meta"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}