> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /blur/collections/loans

> List active Blend NFT-collateral loans (liens) for a Blur collection

**Price:** 1 credit

**💡 AI Hint:** List the active Blend loans (liens) backed by NFTs of a Blur collection, identified by its slug (e.g. 'azuki') or contract address. Each loan returns its lien id, the collateral token id, lender and borrower addresses, interest rate (basis points), principal amount, auction parameters, and lifecycle timestamps (created, auction started, repaid, defaulted), along with the full collateral NFT details.

**⚠️ Common errors:** 412: Collection not found



## OpenAPI

````yaml /openapi-filtered.json post /api/blur/collections/loans
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/blur/collections/loans:
    post:
      tags:
        - /blur
      summary: /blur/collections/loans
      description: >-
        List active Blend NFT-collateral loans (liens) for a Blur collection


        **Price:** 1 credit


        **💡 AI Hint:** List the active Blend loans (liens) backed by NFTs of a
        Blur collection, identified by its slug (e.g. 'azuki') or contract
        address. Each loan returns its lien id, the collateral token id, lender
        and borrower addresses, interest rate (basis points), principal amount,
        auction parameters, and lifecycle timestamps (created, auction started,
        repaid, defaulted), along with the full collateral NFT details.


        **⚠️ Common errors:** 412: Collection not found
      operationId: __api_blur_collections_loans_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BlurCollectionLoansPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BlurLoan'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BlurCollectionLoansPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        collection:
          type: string
          minLength: 1
          description: Collection slug (e.g. 'azuki') or its on-chain contract address
          examples:
            - azuki
            - '0xed5af388653567af2f388e6224dc7c4b3241c544'
        count:
          type: integer
          minimum: 1
          description: Number of active loans to return
      type: object
      required:
        - collection
        - count
    BlurLoan:
      properties:
        '@type':
          type: string
          default: BlurLoan
        lien_id:
          type: string
        token_id:
          anyOf:
            - type: string
            - type: 'null'
        lender:
          anyOf:
            - type: string
            - type: 'null'
        borrower:
          anyOf:
            - type: string
            - type: 'null'
        interest_rate_bips:
          anyOf:
            - type: integer
            - type: 'null'
        principal:
          anyOf:
            - $ref: '#/components/schemas/BlurPrice'
            - type: 'null'
        auction_duration_blocks:
          anyOf:
            - type: integer
            - type: 'null'
        auction_start_block_height:
          anyOf:
            - type: integer
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        auction_started_at:
          anyOf:
            - type: string
            - type: 'null'
        repaid_at:
          anyOf:
            - type: string
            - type: 'null'
        defaulted_at:
          anyOf:
            - type: string
            - type: 'null'
        nft:
          anyOf:
            - $ref: '#/components/schemas/BlurToken'
            - type: 'null'
      type: object
      required:
        - lien_id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    BlurPrice:
      properties:
        '@type':
          type: string
          default: BlurPrice
        amount:
          anyOf:
            - type: number
            - type: 'null'
        unit:
          anyOf:
            - type: string
            - type: 'null'
        listed_at:
          anyOf:
            - type: string
            - type: 'null'
        marketplace:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    BlurToken:
      properties:
        '@type':
          type: string
          default: BlurToken
        token_id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        traits:
          additionalProperties:
            type: string
          type: object
          default: {}
        rarity_score:
          anyOf:
            - type: number
            - type: 'null'
        rarity_rank:
          anyOf:
            - type: integer
            - type: 'null'
        price:
          anyOf:
            - $ref: '#/components/schemas/BlurPrice'
            - type: 'null'
        highest_bid:
          anyOf:
            - $ref: '#/components/schemas/BlurPrice'
            - type: 'null'
        last_sale:
          anyOf:
            - $ref: '#/components/schemas/BlurPrice'
            - type: 'null'
        last_cost_basis:
          anyOf:
            - $ref: '#/components/schemas/BlurPrice'
            - type: 'null'
        owner:
          anyOf:
            - $ref: '#/components/schemas/BlurTrader'
            - type: 'null'
        owner_owned_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_suspicious:
          type: boolean
          default: false
      type: object
      required:
        - token_id
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    BlurTrader:
      properties:
        '@type':
          type: string
          default: BlurTrader
        address:
          type: string
        username:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - address
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````