Skip to main content

HTTP API reference › GalaSwap DEX › pairs

GalaSwap DEX — pairs

2 operations in this group.

GET /dex/pairs​

PairsController_getPairs

Get all pairs

Get a list of all trading pairs.

Parameters​

NameInRequiredTypeDescription
datequeryoptionalstring

Responses​

200 —​

Content type: application/json

Schema: PairsResponseDto

FieldTypeRequiredDescription
datestringyes
timezonestringyes
pairsarray<PairResultResponseDto>yes

400 —​

Content type: application/json

Schema: PairsHttpErrorResponseDto

FieldTypeRequiredDescription
statusCodenumberyes
messageoneOf: string | array<string>yes
errorstringno

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

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
statusintegeryes
errorbooleanyes
messagestringyes
errorKeystringno

Example response​

[]

GET /dex/pairs/volume-fees​

PairsController_getVolumeAndFees

Get volume and fees for a pair

Get volume and fee statistics for a specific pair.

Parameters​

NameInRequiredTypeDescription
datequeryrequiredstringThe date for which to retrieve volume and fees (ISO 8601 format)
pairIdqueryoptionalstring

Responses​

200 —​

Content type: application/json

Schema: DailyVolumeAndFeesResponseDto

FieldTypeRequiredDescription
pairIdstringno
timezonestringyes
datestringyes
volumeUSDnumberyes
feesUSDnumberyes

400 —​

Content type: application/json

Schema: PairsHttpErrorResponseDto

FieldTypeRequiredDescription
statusCodenumberyes
messageoneOf: string | array<string>yes
errorstringno

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: leaderboard · Next group: onramper