Public Sale Events

GET/gateway/v1/market/public-sale

Returns public sale (IDO/ICO/IEO) information for a project.

Includes sale type, status, price, raise amount, and ROI data.

Query Parameters

idstring

Surf project UUID

Example: 25c6612a-395c-4974-94eb-3b5f9f4b2ed7
qstring

Project name or symbol for entity resolution

Example: bitcoin
Public Sale Events
const options = {method: 'GET'};

fetch('https://api.asksurf.ai/gateway/v1/market/public-sale?id=25c6612a-395c-4974-94eb-3b5f9f4b2ed7&q=bitcoin', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
OK
{
  "$schema": "https://example.com/schemas/DataResponsePublicSaleItem.json",
  "data": [
    {
      "allocation_of_supply": 123,
      "ath_roi": 123,
      "crowdsale_end_date": 123,
      "crowdsale_price": 123,
      "crowdsale_raise": 123,
      "crowdsale_start_date": 123,
      "crowdsale_status": "<string>",
      "crowdsale_type": "<string>",
      "launchpad_name": "<string>",
      "name": "<string>",
      "project_id": "<string>",
      "symbol": "<string>"
    }
  ],
  "meta": {
    "cached": true,
    "credits_used": 123,
    "empty_reason": "<string>",
    "has_more": true,
    "limit": 123,
    "offset": 123,
    "total": 123,
    "watermark": 123
  }
}