DAN
Website
  • 🚀Accelerating Digital Ownership Adoption
  • Digital Assets Network
    • ❌Challenges in Adoption
    • ✅DAN Stack
    • 📜Modular Protocol
    • 🎯DAN Labs Impact
    • 🔐®️ ERC-7066 Author
      • Overview
  • DAN PROTOCOLS
    • 📌Modular Solutions for Digital Ownership
    • 💡Asset Creation
    • 🤝Marketplace
    • 🔓Rent Protocol
    • 💰Loan Protocol
      • How does a loan work?
    • 💰Utility Protocol
      • How does it work?
  • For Developers
    • 🚀Launchpad
      • APIs
        • User's Collections
        • Collection Details
      • SDK
        • Create Collection
        • Mint NFT
        • Mint NFT (Batch)
    • 🛒Market
      • APIs
      • SDK
        • Create Listing
        • Buy Listed NFT
        • Cancel Listing
    • ⚙️Utility
      • APIs
        • 👥Client
          • Register
          • Verify
          • Redeem Code
          • Get All Claimed Utility User
        • 👨‍💻Developer
          • Get All Benefits By Collection
      • SDK
    • 💰Loans
      • APIs
        • User Loans
        • Raw Transactions (Advanced)
      • SDK
        • EVM
        • Solana
      • Wallet Integration
        • EVM
        • Solana
    • 🗞️Rentals
      • APIs
        • NFTs (Owned and Rented)
        • NFTs (Rented)
        • Raw Transactions (Advanced)
      • On-Chain
      • SDK
        • EVM
        • Solana
      • Wallet Integration
        • EVM
        • Solana
    • ⛓️Supported Chains
  • UseCases : Case Studies
    • 🤝NFT Rentals
    • 💎Ephemeral / Consumable NFTs
    • 📝NFT Mandates
    • 🎆Post-Mint Utility
    • 💼Partial Payment at Mint
  • Community
    • 🔑Terms of Service
    • 🔏Privacy Policy
    • 🌐Website
    • 👽Discord
    • 🐦Twitter
Powered by GitBook
On this page
  1. For Developers
  2. Utility
  3. APIs
  4. Developer

Get All Benefits By Collection

PreviousDeveloperNextSDK

Last updated 2 months ago

⚙️
👨‍💻

Get utilities by collection address

get
Path parameters
addressstringRequired

The address of the collection

Responses
200
Utilities retrieved successfully
application/json
500
Server error
application/json
get
GET /collection/{address} HTTP/1.1
Host: utility.danlabs.xyz
Accept: */*
[
  {
    "utilityId": "text",
    "utilityIndex": 1,
    "provider": "text",
    "winners": [
      "text"
    ],
    "participants": [
      "text"
    ],
    "chainId": 1,
    "utilityType": "text",
    "usage": {
      "expiryOrUsage": 1,
      "startOnClaim": true
    },
    "raffle": {
      "totalEntries": 1,
      "maxEntries": 1,
      "winnersMerkle": "text",
      "claimDate": "2025-06-07"
    },
    "eligible": {
      "ANY_ADDITIONAL_PROPERTY": {
        "eligibleType": "text",
        "participants": [
          "text"
        ],
        "externalService": "text",
        "traits": [
          {
            "key": "text",
            "value": "text"
          }
        ],
        "numberOfEntries": 1,
        "collectionImage": "text",
        "collectionName": "text",
        "chainId": 1,
        "collectionAddress": "text",
        "taskDetails": [
          {
            "taskInfo": "text",
            "serviceTarget": "text",
            "targetURL": "text",
            "numberOfEntries": 1,
            "mandatory": true
          }
        ]
      }
    },
    "partner": "text",
    "selectionType": "text",
    "title": "text",
    "category": "text",
    "image_url": "text",
    "reward": {
      "value": "text",
      "contentBlock": {
        "type": "text",
        "url": "text",
        "question": "text",
        "options": [
          "text"
        ]
      },
      "estimatedValue": "text",
      "mintPrice": 1,
      "details": [
        "text"
      ],
      "image": "text",
      "type": "text",
      "currency": "text",
      "count": 1,
      "expiry": "text",
      "chainId": 1
    },
    "createdAt": "2025-06-07",
    "description": "text",
    "startDate": "2025-06-07",
    "endDate": "2025-06-07"
  }
]