GET
/
pair
/
{pair_address}
/
analytic
/
swap_history
get_pair_swap_records
curl --request GET \
  --url https://dlmm-api.meteora.ag/pair/{pair_address}/analytic/swap_history
[
  {
    "bin_count": 123,
    "end_bin_id": 123,
    "fee_bps": 123,
    "in_amount": 123,
    "in_amount_usd": 123,
    "in_token": "<string>",
    "onchain_timestamp": 123,
    "out_amount": 123,
    "out_amount_usd": 123,
    "out_token": "<string>",
    "pair_address": "<string>",
    "protocol_fee": 123,
    "protocol_fee_usd": 123,
    "start_bin_id": 123,
    "trade_fee": 123,
    "trade_fee_usd": 123,
    "tx_id": "<string>"
  }
]

Path Parameters

pair_address
string
required

Address of the liquidity pair

Query Parameters

rows_to_take
integer
required

Number of records to take. Max 255.

Required range: x >= 0

Response

200 - application/json

The response is of type object[].