Api Endpoint

x4o2 FOMO Data

Historical USD candles for one token as FOMO charts it: t (bucket start, unix ms), o, h, l, c and v (USD volume) for the 300 buckets ending at to, optionally trimmed to those at or after from. period picks the bucket size (5m, 30m, 1h, 4h, 12h). Use for price history and chart analysis.

Open interactive test console

Offering

Provider
fomo.x4o2.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://fomo.x4o2.com/v1/token/:chain/:address/candles
MIME type
application/json
First seen
2026-10-19T02:32:25.008Z
Last seen
Tags
fomo, OHLCV, Candles, chart, Token

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
92 ms
Average latency
316 ms
HTTP status
402
Last checked
Reachability
100% over 13 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
          ]
        },
        "period": {
          "type": "string",
          "description": "Bucket size",
          "enum": [
            "5m",
            "30m",
            "1h",
            "4h",
            "12h"
          ],
          "default": "1h"
        },
        "from": {
          "type": "integer",
          "description": "Drop buckets before this time, unix ms",
          "minimum": 0
        },
        "to": {
          "type": "integer",
          "description": "Last bucket at or before this time, unix ms (default: now)",
          "minimum": 0
        }
      },
      "required": []
    },
    "pathParams": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "description": "solana, base, ethereum, bsc, monad, robinhood or a numeric network id"
        },
        "address": {
          "type": "string",
          "description": "Token mint (Solana) or contract address (EVM)"
        }
      },
      "required": [
        "chain",
        "address"
      ]
    }
  },
  "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": {
            "address": {
              "description": "Token mint (Solana) or contract address (EVM)",
              "type": "string"
            },
            "chain": {
              "description": "solana, base, ethereum, bsc, monad, robinhood or a numeric network id",
              "type": "string"
            }
          },
          "required": [
            "chain",
            "address"
          ],
          "type": "object"
        },
        "queryParams": {
          "properties": {
            "from": {
              "description": "Drop buckets before this time, unix ms",
              "minimum": 0,
              "type": "integer"
            },
            "maxAge": {
              "description": "Serve a cached copy up to this many seconds old; 0 forces the freshest allowed",
              "minimum": 0,
              "type": "integer"
            },
            "period": {
              "default": "1h",
              "description": "Bucket size",
              "enum": [
                "5m",
                "30m",
                "1h",
                "4h",
                "12h"
              ],
              "type": "string"
            },
            "stale": {
              "description": "1 returns any cached copy immediately and refreshes in the background",
              "enum": [
                0,
                1
              ],
              "type": "integer"
            },
            "to": {
              "description": "Last bucket at or before this time, unix ms (default: now)",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "items": {
                "properties": {
                  "c": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "h": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "l": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "o": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "t": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "v": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "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"
}