API referenceHealth
Health and chain
GET
Liveness. cluster names the chain this API reads: localnet is our dev validator, not mainnet.
OK
application/json- response
ok*trueValue in
truecluster*stringWhich chain this API reads: localnet is our dev validator.
programId*stringThe launch program id this API is configured for.
stream*cache?unknownbus?unknowncurl -X GET 'https://api.dev.trend.fun/healthz'{ "ok": true, "cluster": "localnet", "programId": "G5VTggvWQRn9skJJ1YrDfPvpprVZYdhkUgCRxwpfcokz", "stream": { "resyncs": 0, "clients": 2, "devices": 2, "ips": 1, "anonymous": 0, "busiestIp": 2, "busiestDevice": 1, "caps": { "clients": 2000, "perIp": 24, "perDevice": 6, "cardSubs": 100, "uncappedIps": 0, "service": { "anonPerAddress": 24, "perUser": 8, "addressCeiling": 48 }, "maxFrameBytes": 65536, "framesPer10s": 20 }, "uncappedSockets": 0, "rejected": { "capacity": 0, "ip": 0, "device": 0, "service": 0, "frames": 0 }, "subscriptions": { "scoped": 2, "broadcast": 0, "cardSubs": 0, "busiestCardSubs": 0, "liveSubs": 0, "launchesTopicSubs": 0 }, "sent": { "bytes": { "hello": 123, "ping": 16252, "prices": 65968, "blockhash": 0, "cards": 0, "cards_snapshot": 0, "trade": 0, "status": 0, "migration": 0, "collectible": 0, "launch": 0, "discovery": 0, "suback": 0, "rate": 0, "resync": 0, "other": 0 }, "frames": { "hello": 3, "ping": 478, "prices": 112, "blockhash": 0, "cards": 0, "cards_snapshot": 0, "trade": 0, "status": 0, "migration": 0, "collectible": 0, "launch": 0, "discovery": 0, "suback": 0, "rate": 0, "resync": 0, "other": 0 }, "busiestSocketBytesPerS": 0 } }, "cache": { "shared": true, "up": true, "trips": 0, "failures": 0, "fallbackKeys": 0 }, "bus": { "subscriber": { "connected": true, "reconnects": 0, "lastMissedMs": 0 }, "publisher": { "up": true, "trips": 0, "failures": 0, "lastError": null, "dropped": 0 } }}API reference
Every public route, generated from the schemas the API validates with.
List launches GET
Two modes. With no paging parameter: up to `limit` launches (legacy, newest cached for 3 s). With any of `tab`, `sort`, `state`, `cat`, `asset`, `creator`, `ids` or `cursor`: a keyset page with `nextCursor`. `status` and the paging parameters do not mix.