Market Chart

Overview

Get time-series (chart) metrics for one or more protocols over a specified timeframe and interval.

Endpoint

GET /api/v1/partner/market/chart

Query Parameters

Parameter
Type
Required
Description

timeframe

string

Yes

Time window for aggregation. (e.g. 1d).

interval

string

Yes

Aggregation interval. (e.g. 1d).

protocols

string

Yes

Comma-separated protocol identifiers (e.g. flowx-clmm,flowx-cpmm).

List of supported timeframes:

Timeframe Key
Duration

1d

1 day

1w

1 week

1M

1 month

3M

3 months

6M

6 months

1Y

1 year

List of supported intervals:

Interval Key
Duration

1d

1 day

2d

2 days

1w

1 week

2w

2 weeks

List of supported protocols:

Protocol Key
Protocol Name

fullsail-clmm

Fullsail CLMM

kriya-clmm

Kriya CLMM (V3)

aftermath-cpmm

Aftermath CPMM

cetus-dlmm

Cetus DLMM

kriya-cpmm

Kriya CPMM (V2)

ferra-clmm

Ferra CLMM

bluefin-clmm

Bluefin CLMM

deepbookv3

Deepbook V3

ferra-dlmm

Ferra DLMM

7k-cpmm

7K CPMM

bluemove-cpmm

BlueMove CPMM

momentum-clmm

Momentum CLMM

interest-cpmm

Interest CPMM

flowx-cpmm

FlowX CPMM (V2)

magma-clmm

Magma CLMM

turbos-clmm

Turbos CLMM

magma-almm

Magma ALMM

flowx-clmm

FlowX CLMM (V3)

srm-cpmm

SRM CPMM

cetus-clmm

Cetus CLMM

steamm-cpmm

STEAMM CPMM

haedal-cpmm-v2

Haedal CPMM V2

haedal-cpmm

Haedal CPMM

Headers

Header
Required
Description

x-api-key

No

API key for authentication (if required).

cURL Example

curl --location 'https://api.noodles.fi/api/v1/partner/market/chart?timeframe=1w&interval=1d&protocols=flowx-clmm' \
  --header 'Accept: application/json' \
  --header 'x-api-key: YOUR_API_KEY'

Response

Fields

Field
Type
Description

code

number

HTTP-like response code (200 = success).

message

string

Human-readable status message.

data

object

Object containing arrays of protocol statistics.

Arrays of protocol statistics

Field
Type
Description

timestamp

number[]

Array of UNIX timestamps representing each data point.

protocol

string[]

Array of protocol identifiers corresponding to the statistics arrays.

tvl

number[][]

Array of TVL (Total Value Locked) arrays per protocol in USD. Each inner array corresponds to a protocol.

vol

number[][]

Array of trading volume arrays per protocol in USD. Each inner array corresponds to a protocol.

fee

number[][]

Array of fees collected arrays per protocol in USD. Each inner array corresponds to a protocol.

trade

number[][]

Array of trade count arrays per protocol. Each inner array corresponds to a protocol.

awallet

number[][]

Array of active wallet count arrays per protocol. Each inner array corresponds to a protocol.

Success Response

{
  "code": 200,
  "message": "OK",
  "data": {
    "timestamp": [1762214400, 1762300800, 1762387200, 1762473600, 1762560000, 1762646400, 1762732800],
    "protocol": ["flowx-clmm", "flowx-cpmm"],
    "tvl": [
      [3566025.55, 2390377.45, 2485146.88, 2652439.03, 2192887.18, 2200983.09, 2268551.19],
      [989883.79, 925695.07, 945615.59, 878505.95, 942615.31, 974583.28, 970944.59]
    ],
    "vol": [
      [12003413.21, 5057504.98, 3874975.94, 7053665.07, 6153189.48, 3867725.1, 626160.37],
      [123587.45, 33264.81, 49475.87, 82264.37, 56932.35, 49973.16, 37133.52]
    ],
    "fee": [
      [1000.73, 508.16, 426.47, 578.25, 349.92, 336.7, 136.23],
      [370.78, 99.79, 148.42, 246.78, 170.8, 149.92, 111.4]
    ],
    "trade": [
      [57727, 43569, 51127, 65955, 46237, 34034, 13669],
      [7576, 4009, 3759, 5320, 3468, 2699, 1303]
    ],
    "awallet": [
      [4326, 3143, 3064, 4651, 3253, 2523, 1221],
      [1309, 861, 829, 951, 736, 599, 242]
    ]
  }
}

Notes:

  • Each metric is a 2D array: outer index = protocol index (matching protocol array), inner index = timestamp index.

  • Valid timeframes: 1d, 1w, 1M, 3M, 6M, 1Y.

  • Valid intervals: 1d, 2d, 1w, 2w.


See also: Environment Setup

Last updated