Giveaways

List your giveaways

Changed on

Your giveaways, newest first. series_id lists the occurrences of one recurring series. Pass next_cursor back as ?cursor=.

get/v1/giveaways

Request

  • Base URL
    https://api.mystars.tg
  • Auth
    API key in header X-Api-Key

Query parameters

status'draft' | 'awaiting_funding' | 'open' | 'closed' | 'drawn' | 'settling' | 'settled' | 'cancelled'

draft → awaiting_funding (the first fund opened its funding order) → open (paid and public) → closed (entrant list frozen) → drawn (winners picked from a TON block beacon) → settling (prizes being delivered) → settled. cancelled only from draft or awaiting_funding: by you, an expired draft (a draft never funded is cancelled 72 hours after its creation), or a funding order that expired unpaid after its 2-hour window or was reversed (giveaway.cancelled reason cancelled, draft_expired or funding_expired). An open giveaway always runs on to settled; it ends with close, never cancel. Fund and cancel apply in draft and awaiting_funding, close in open, attestations in draft, awaiting_funding and open. Terminal: settled, cancelled.

series_idstring uuid
limitinteger
cursorstring

Response

A page of giveaways.

next_cursorstring nullable required

Changes