Skip to main content
POST
/
api
/
blur
/
collections
/
loans
/blur/collections/loans
curl --request POST \
  --url https://api.anysite.io/api/blur/collections/loans \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "collection": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "lien_id": "<string>",
    "@type": "BlurLoan",
    "token_id": "<string>",
    "lender": "<string>",
    "borrower": "<string>",
    "interest_rate_bips": 123,
    "principal": {
      "@type": "BlurPrice",
      "amount": 123,
      "unit": "<string>",
      "listed_at": "<string>",
      "marketplace": "<string>"
    },
    "auction_duration_blocks": 123,
    "auction_start_block_height": 123,
    "created_at": "<string>",
    "auction_started_at": "<string>",
    "repaid_at": "<string>",
    "defaulted_at": "<string>",
    "nft": {
      "token_id": "<string>",
      "@type": "BlurToken",
      "name": "<string>",
      "image": "<string>",
      "traits": {},
      "rarity_score": 123,
      "rarity_rank": 123,
      "price": {
        "@type": "BlurPrice",
        "amount": 123,
        "unit": "<string>",
        "listed_at": "<string>",
        "marketplace": "<string>"
      },
      "highest_bid": {
        "@type": "BlurPrice",
        "amount": 123,
        "unit": "<string>",
        "listed_at": "<string>",
        "marketplace": "<string>"
      },
      "last_sale": {
        "@type": "BlurPrice",
        "amount": 123,
        "unit": "<string>",
        "listed_at": "<string>",
        "marketplace": "<string>"
      },
      "last_cost_basis": {
        "@type": "BlurPrice",
        "amount": 123,
        "unit": "<string>",
        "listed_at": "<string>",
        "marketplace": "<string>"
      },
      "owner": {
        "address": "<string>",
        "@type": "BlurTrader",
        "username": "<string>"
      },
      "owner_owned_count": 123,
      "is_suspicious": false
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
collection
string
required

Collection slug (e.g. 'azuki') or its on-chain contract address

Minimum string length: 1
Examples:

"azuki"

"0xed5af388653567af2f388e6224dc7c4b3241c544"

count
integer
required

Number of active loans to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

lien_id
string
required
@type
string
default:BlurLoan
token_id
string | null
lender
string | null
borrower
string | null
interest_rate_bips
integer | null
principal
object
auction_duration_blocks
integer | null
auction_start_block_height
integer | null
created_at
string | null
auction_started_at
string | null
repaid_at
string | null
defaulted_at
string | null
nft
object