🎯Collection Collateral Count

Get collection collateral count for supported protocols and collection addresses.

Get Collection Collateral Count

GET https://api.metaquants.xyz/v1/finance/b2b-collateral-count

Query Parameters

NameTypeDescription

protocol

String

Choose from Protocols

collection-address

String

Collection contract address

start-time

Number

Filter by creation time in UNIX format

end-time

Number

Filter by creation time in UNIX format

limit

Number

Limit number of rows to be returned (default=100)

order

String

Order by creation time. ASC/DESC (default=ASC)

continuation

String

Generated string for returning paginated results

{
    "data": [
        {
            "protocol": "nftfi",
            "block_timestamp": "2020-09-14",
            "collateral_count": 1,
            "collection_address": "0xb7f7f6c52f2e2fdb1963eab30438024864c313f6"
        },
        {
            "protocol": "nftfi",
            "block_timestamp": "2020-09-15",
            "collateral_count": 1,
            "collection_address": "0xb7f7f6c52f2e2fdb1963eab30438024864c313f6"
        },
    ...
    ],
    "continuation": "1,2010-01-01%2000%3A00%3A00%2B00%3A00,2050-01-01%2000%3A00%3A00%2B00%3A00,1,23092"
}

Example curl request

curl --location --request GET 'https://api.metaquants.xyz/v1/finance/b2b-collateral-count' \
--header 'x-api-key: <YOUR-API-KEY>'

Example curl response

{
    "data": [
        {
            "protocol": "nftfi",
            "block_timestamp": "2020-09-14",
            "collateral_count": 1,
            "collection_address": "0xb7f7f6c52f2e2fdb1963eab30438024864c313f6"
        },
        {
            "protocol": "nftfi",
            "block_timestamp": "2020-09-15",
            "collateral_count": 1,
            "collection_address": "0xb7f7f6c52f2e2fdb1963eab30438024864c313f6"
        },
    ...
    ],
    "continuation": "1,2010-01-01%2000%3A00%3A00%2B00%3A00,2050-01-01%2000%3A00%3A00%2B00%3A00,1,23092"
}

Example continuation curl request

curl --location --request GET 'https://api.metaquants.xyz/v1/finance/b2b-collateral-count?continuation=1,2010-01-01%2000%3A00%3A00%2B00%3A00,2050-01-01%2000%3A00%3A00%2B00%3A00,1,23092' \
--header 'x-api-key: <YOUR-API-KEY>'

Last updated