Token Generation Events

GET/gateway/v1/market/tge

Returns Token Generation Event (TGE) status for a project.

Includes current status, last event time, and listing exchanges.

Query Parameters

idstring

Surf project UUID

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

Project name or symbol for entity resolution

Example: bitcoin
Token Generation Events
const options = {method: 'GET'};

fetch('https://api.asksurf.ai/gateway/v1/market/tge?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/DataObjectResponseTGEItem.json",
  "data": {
    "current_status": "<string>",
    "exchanges": [],
    "last_event_time": 123,
    "project_id": "<string>",
    "project_name": "<string>"
  },
  "meta": {
    "cached": true,
    "credits_used": 123,
    "empty_reason": "<string>"
  }
}