DeFi Lens
  • API Introduction
    • Signal Matrix
    • AI Position
    • Similar chart
    • Candle Detection
    • Chart pattern
    • Token Info and Technical Analyst Indicator
    • ICO/IDO
    • Market
    • Errors
  • Privacy Policy
  • Terms of Use
Powered by GitBook
On this page
  • ICO/IDO active
  • Headers
  • Example request
  • Response
  • ICO/IDO upcoming
  • Headers
  • Example request
  • Response
  • Data return
  1. API Introduction

ICO/IDO

The ICO/IDO API allows users to access information about tokens currently active in and those scheduled for upcoming ICO and IDO

PreviousToken Info and Technical Analyst IndicatorNextMarket

Last updated 7 months ago

ICO/IDO active

GET /ico/active

Example on DeFi Lens:

Headers

Name
Type
Description

x-partner-key

string

Your API Key

Ex: xxxx

Example request

curl -X 'GET' \
  'https://api.defilens.ai/ico/active' \
  -H 'accept: */*'

Response

{
    "data": [
        {
            "_id": "66052dd467a7dfee96f39344",
            "key": "dex-223",
            "image": "https://defilens.s3.us-east-2.amazonaws.com/46029ec670bb3fef942faaf5eb1d0f77eacbf6023261567e64669138f9a76fc3.jpg",
            "blockchains": [],
            "category": {
                "name": "DeFi",
                "key": "defi",
                "localization": {}
            },
            "funds": [],
            "initialCap": null,
            "isSponsored": false,
            "launchpads": [],
            "name": "DEX223",
            "raising": 3392000,
            "salePrice": 0.0009,
            "symbol": "D223",
            "tags": [
                {
                    "key": "dex",
                    "name": "DEX"
                },
                {
                    "key": "amm",
                    "name": "AMM"
                },
                {
                    "key": "dao",
                    "name": "DAO"
                }
            ],
            "endDate": "2024-09-25",
            "type": [
                "ICO"
            ],
            "updateAt": "2024-08-19T00:07:05.851Z",
            "website": "https://dex223.io",
            "totalRaise": 3528000
        } 
    ],
    "total": 1
}

ICO/IDO upcoming

GET /ico/upcoming

Headers

Name
Type
Description

api-partner-key

string

Your API Key

Ex: xxxx

Example request

curl -X 'GET' \
  'https://api.defilens.ai/ico/upcoming' \
  -H 'accept: */*'

Response

{
    "data": [
        {
            "_id": "66a832818bbe18ed67e53ae0",
            "key": "coinpays",
            "image": "https://defilens.s3.us-east-2.amazonaws.com/659865d73e0aac1961784ada9d948e4f933559cde860ab46912b081a980792a8.jpg",
            "blockchains": [
                {
                    "key": "areon-network",
                    "name": "Areon Network"
                }
            ],
            "category": {
                "name": "Blockchain Service",
                "key": "blockchain-service",
                "localization": {
                    "ru": "Блокчейн Cервисы"
                }
            },
            "funds": [],
            "initialCap": 182000,
            "isSponsored": false,
            "launchpads": [
                {
                    "key": "kingdom-starter",
                    "name": "KingdomStarter",
                    "image": "https://defilens.s3.us-east-2.amazonaws.com/35e6f2e06385d41ffae20559cff883798d152758071475eb04394ed5046735ad.jpg"
                }
            ],
            "name": "CoinPays",
            "raising": 420000,
            "salePrice": 0.1,
            "symbol": "CPY",
            "tags": [
                {
                    "key": "payments",
                    "name": "Payments"
                },
                {
                    "key": "governance",
                    "name": "Governance"
                }
            ],
            "endDate": "2024-08-21",
            "startDate": "2024-08-20",
            "type": [
                "IDO"
            ],
            "updateAt": "2024-08-19T00:08:03.738Z",
            "website": "https://coinpays.io",
            "totalRaise": 680000
        }
  ],
    "total": 1
}

Data return

Name
Type
Description

Interger

The amount of funds being raised in the current offering

Interger

Total amount raised so far in the offering

Interger

Initial capitalization amount for the token sale

Objects

Launchpads where the token is listed

Date

Date when the token sale starts

Date

Date when the token sale ends

Example on DeFi Lens:

raising
totalRaise
initialCap
launchpads
startDate
endDate
https://defilens.ai/active-ico
https://defilens.ai/upcoming-ico