Skip to main content

HTTP API reference › GalaSwap DEX › coin-gecko

GalaSwap DEX — coin-gecko

Source commit: unknown. Generated: 2026-10-26T22:08:07.605Z.

6 operations in this group.

GET /coin-gecko/tickers​

CoinGeckoController_getTickerData

Get ticker data for CoinGecko

Get ticker data for CoinGecko integration.

Security: []

Responses​

200 —​

Content type: application/json

Schema: array<CoinGeckoTickerResponseDto>

FieldTypeRequiredDescription
items.ticker_idstringyes
items.base_currencystringyes
items.target_currencystringyes
items.last_pricenumberyes
items.base_volumenumberyes
items.target_volumenumberyes
items.pool_idstringyes
items.liquidity_in_usdnumberyes

400 —​

Content type: application/json

Schema: CoinGeckoBadRequestResponseDto

FieldTypeRequiredDescription
statusnumberyes
errorbooleanyes
messagestringyes

default — An error response using the shared backend error envelope.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
statusintegeryes
errorbooleanyes
messagestringyes
errorKeystringno

Example response​

[]

GET /coin-gecko/terminal/latest-block​

TerminalController_getLatestBlock

Get the latest block

Get the latest block number from the Gala blockchain.

Security: []

Responses​

200 —​

Content type: application/json

Schema: LatestBlockResponseDto

FieldTypeRequiredDescription
blockBlockDtoyes

default — An error response using the shared backend error envelope.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
statusintegeryes
errorbooleanyes
messagestringyes
errorKeystringno

Example response​

[]

GET /coin-gecko/terminal/asset​

TerminalController_getAsset

Get asset details

Get details of a specific asset.

Security: []

Parameters​

NameInRequiredTypeDescription
idqueryyesstringThe ID of the asset to retrieve (Base58-encoded TokenClassKey)

Responses​

200 —​

Content type: application/json

Schema: GetAssetResponseDto

FieldTypeRequiredDescription
assetAssetDtoyes

404 —​

Content type: application/json

Schema: TerminalNotFoundResponseDto

FieldTypeRequiredDescription
messagestringyes
errorstringyes
statusCodenumberyes

default — An error response using the shared backend error envelope.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
statusintegeryes
errorbooleanyes
messagestringyes
errorKeystringno

Example response​

[]

GET /coin-gecko/terminal/pair​

TerminalController_getPair

Get pair details

Get details of a specific trading pair. The pair ID can be obtained from GET /coin-gecko/terminal/events response.

Security: []

Parameters​

NameInRequiredTypeDescription
idqueryyesstringThe pair ID (legacy hexadecimal hash or v2:<TOKEN0>$<TOKEN1>$<FEE>)

Responses​

200 —​

Content type: application/json

Schema: GetPairResponseDto

FieldTypeRequiredDescription
pairPairDtoyes

404 —​

Content type: application/json

Schema: TerminalNotFoundResponseDto

FieldTypeRequiredDescription
messagestringyes
errorstringyes
statusCodenumberyes

default — An error response using the shared backend error envelope.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
statusintegeryes
errorbooleanyes
messagestringyes
errorKeystringno

Example response​

[]

GET /coin-gecko/terminal/events​

TerminalController_getEvents

Get events within a block range

Get events within a specified block range.

Security: []

Parameters​

NameInRequiredTypeDescription
fromBlockqueryyesnumberThe starting block number (inclusive)
toBlockqueryyesnumberThe ending block number (inclusive)

Responses​

200 —​

Content type: application/json

Schema: GetEventsResponseDto

FieldTypeRequiredDescription
eventsarray<oneOf: SwapEventDto | JoinExitEventDto>yes

default — An error response using the shared backend error envelope.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
statusintegeryes
errorbooleanyes
messagestringyes
errorKeystringno

Example response​

[]

GET /coin-gecko/terminal/liquidity-operations​

TerminalController_getLiquidityOperations

Get liquidity operations for a position

Get liquidity operations for a specific position. Current-contract positions use <poolRef>|<lexLow>|<lexHigh>|<owner> and cover the most recent 300,000 blocks.

Security: []

Parameters​

NameInRequiredTypeDescription
positionIdqueryyesstringThe legacy numeric position ID or current-contract <poolRef>|<lexLow>|<lexHigh>|<owner> composite key.

Responses​

200 —​

Content type: application/json

Schema: array<LiquidityOperationEdgeResponseDto>

FieldTypeRequiredDescription
items.nodeLiquidityOperationDtoyes

default — An error response using the shared backend error envelope.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
statusintegeryes
errorbooleanyes
messagestringyes
errorKeystringno

Example response​

[]

Previous group: chain · Next group: leaderboard