Curve Pools
Fetch 3Crv
pool filtering on pool_address
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/curve/pools?chains=ETH&from_block=0&pool_address__in=0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
{
"chain": 1,
"owner": "0x6e8f6d1da6232d5e40b0b8758a0145d6c5123eb7",
"token": "0x6c3f90f043a72fa612cbac8115ee7e52bde6e490",
"token_decimals": 18,
"token_name": "Curve.fi DAI/USDC/USDT",
"token_symbol": "3Crv",
"base_pool": "",
"fee": "0x3d0900",
"admin_fee": "0x0",
"initial_a": "0x64",
"future_a": "0x64",
"initial_a_time": "0x0",
"future_a_time": "0x0",
"pool_address": "0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7",
"n_coins": 3,
"coin0": "0x6b175474e89094c44da98b954eedeac495271d0f",
"coin1": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"coin2": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"coin3": null,
"coin4": null,
"coin5": null,
"coin0_decimals": 18,
"coin1_decimals": 6,
"coin2_decimals": 6,
"coin3_decimals": null,
"coin4_decimals": null,
"coin5_decimals": null,
"coin0_name": "Dai Stablecoin",
"coin1_name": "USD//C",
"coin2_name": "Tether USD",
"coin3_name": null,
"coin4_name": null,
"coin5_name": null,
"coin0_symbol": "DAI",
"coin1_symbol": "USDC",
"coin2_symbol": "USDT",
"coin3_symbol": null,
"coin4_symbol": null,
"coin5_symbol": null,
"base_coin0": null,
"base_coin1": null,
"base_coin2": null,
"base_coin3": null,
"base_coin4": null,
"base_coin5": null,
"base_coin0_decimals": null,
"base_coin1_decimals": null,
"base_coin2_decimals": null,
"base_coin3_decimals": null,
"base_coin4_decimals": null,
"base_coin5_decimals": null,
"base_coin0_name": null,
"base_coin1_name": null,
"base_coin2_name": null,
"base_coin3_name": null,
"base_coin4_name": null,
"base_coin5_name": null,
"base_coin0_symbol": null,
"base_coin1_symbol": null,
"base_coin2_symbol": null,
"base_coin3_symbol": null,
"base_coin4_symbol": null,
"base_coin5_symbol": null,
"underlying_coin0": null,
"underlying_coin1": null,
"underlying_coin2": null,
"underlying_coin3": null,
"underlying_coin4": null,
"underlying_coin5": null,
"underlying_coin0_decimals": null,
"underlying_coin1_decimals": null,
"underlying_coin2_decimals": null,
"underlying_coin3_decimals": null,
"underlying_coin4_decimals": null,
"underlying_coin5_decimals": null,
"underlying_coin0_name": null,
"underlying_coin1_name": null,
"underlying_coin2_name": null,
"underlying_coin3_name": null,
"underlying_coin4_name": null,
"underlying_coin5_name": null,
"underlying_coin0_symbol": null,
"underlying_coin1_symbol": null,
"underlying_coin2_symbol": null,
"underlying_coin3_symbol": null,
"underlying_coin4_symbol": null,
"underlying_coin5_symbol": null
}
]
Filter by LP token
Fetch steCRV
pool by filtering on LP token
address.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/curve/pools?chains=ETH&from_block=0&token__in=0x06325440d014e39736583c165c2963ba99faf14e" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
{
"chain": 1,
"owner": "0xecb456ea5365865ebab8a2661b0c503410e9b347",
"token": "0x06325440d014e39736583c165c2963ba99faf14e",
"token_decimals": 18,
"token_name": "Curve.fi ETH/stETH",
"token_symbol": "steCRV",
"base_pool": "",
"fee": "0x3d0900",
"admin_fee": "0x12a05f200",
"initial_a": "0x1f4",
"future_a": "0x1f4",
"initial_a_time": "0x0",
"future_a_time": "0x0",
"pool_address": "0xdc24316b9ae028f1497c275eb9192a3ea0f67022",
"n_coins": 2,
"coin0": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"coin1": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
"coin2": null,
"coin3": null,
"coin4": null,
"coin5": null,
"coin0_decimals": 18,
"coin1_decimals": 18,
"coin2_decimals": null,
"coin3_decimals": null,
"coin4_decimals": null,
"coin5_decimals": null,
"coin0_name": "Ether",
"coin1_name": "Liquid staked Ether 2.0",
"coin2_name": null,
"coin3_name": null,
"coin4_name": null,
"coin5_name": null,
"coin0_symbol": "ETH",
"coin1_symbol": "stETH",
"coin2_symbol": null,
"coin3_symbol": null,
"coin4_symbol": null,
"coin5_symbol": null,
"base_coin0": null,
"base_coin1": null,
"base_coin2": null,
"base_coin3": null,
"base_coin4": null,
"base_coin5": null,
"base_coin0_decimals": null,
"base_coin1_decimals": null,
"base_coin2_decimals": null,
"base_coin3_decimals": null,
"base_coin4_decimals": null,
"base_coin5_decimals": null,
"base_coin0_name": null,
"base_coin1_name": null,
"base_coin2_name": null,
"base_coin3_name": null,
"base_coin4_name": null,
"base_coin5_name": null,
"base_coin0_symbol": null,
"base_coin1_symbol": null,
"base_coin2_symbol": null,
"base_coin3_symbol": null,
"base_coin4_symbol": null,
"base_coin5_symbol": null,
"underlying_coin0": null,
"underlying_coin1": null,
"underlying_coin2": null,
"underlying_coin3": null,
"underlying_coin4": null,
"underlying_coin5": null,
"underlying_coin0_decimals": null,
"underlying_coin1_decimals": null,
"underlying_coin2_decimals": null,
"underlying_coin3_decimals": null,
"underlying_coin4_decimals": null,
"underlying_coin5_decimals": null,
"underlying_coin0_name": null,
"underlying_coin1_name": null,
"underlying_coin2_name": null,
"underlying_coin3_name": null,
"underlying_coin4_name": null,
"underlying_coin5_name": null,
"underlying_coin0_symbol": null,
"underlying_coin1_symbol": null,
"underlying_coin2_symbol": null,
"underlying_coin3_symbol": null,
"underlying_coin4_symbol": null,
"underlying_coin5_symbol": null
}
]
Query Parameters
v1/api/curve/pools
chains
: Filters the data by specific blockchain networks.from_block
: Filters the data by a starting block number.to_block
: Filters the data by an ending block number.pool_address__in
: Filters the data by a list ofpool_address
.token__in
: Filters the data by a list of Curve LPtoken
.owner__in
: Filters the data by a list of pool contractowner
.base_pool__in
: Filters metapools by thebase_pool
address.fee__gte
: Filters the data byfee
using the greater than or equal to operator.fee__lte
: Filters the data byfee
using the less than or equal to operator.admin_fee__gte
: Filters the data byadmin_fee
using the greater than or equal to operator.admin_fee__lte
: Filters the data byadmin_fee
using the less than or equal to operator.initial_a__gte
: Filters the data byinitial_a
using the greater than or equal to operator.initial_a__lte
: Filters the data byinitial_a
using the less than or equal to operator.future_a__gte
: Filters the data byfuture_a
using the greater than or equal to operator.future_a__lte
: Filters the data byfuture_a
using the less than or equal to operator.initial_a_time__gte
: Filters the data byinitial_a_time
using the greater than or equal to operator.initial_a_time__lte
: Filters the data byinitial_a_time
using the less than or equal to operator.future_a_time__gte
: Filters the data byfuture_a_time
using the greater than or equal to operator.future_a_time__lte
: Filters the data byfuture_a_time
using the less than or equal to operator.n_coins__gte
: Filters the data byn_coins
using the greater than or equal to operator.n_coins__lte
: Filters the data byn_coins
using the less than or equal to operator.coins__in
: Filters the data by a list ofcoins
.base_coins__in
: Filters metapools by a list ofbase_coins
.