Assets
Endpoints for asset pair operations, liquidity pools, and swap analytics
BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/pools HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"pools": [],
"pagination": {
"bookmark": "text",
"hasMore": true
}
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/pools/byDenom?denom=text HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"pools": [],
"denom": "text",
"count": 1
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/pools/byAssets?asset1=text HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"pools": [],
"asset1": "text",
"asset2": "text",
"count": 1
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/pools/{poolId}?poolId=text HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"success": true,
"poolInfo": null
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
POST /api/v0/api/{version}/swaps/estimate HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"tokenIn": "text",
"tokenOutDenom": "text"
}{
"success": true,
"estimate": {
"tokenOutAmount": "text",
"tokenInAmount": "text",
"allRoutes": [],
"lowLiqudiityWarning": true
}
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/assetPairs HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"assetPairs": [
{
"_id": "text",
"_docId": "text",
"asset": "text",
"price": 1,
"lastUpdated": 1,
"totalLiquidity": [],
"volume24h": 1,
"volume7d": 1,
"percentageChange24h": 1,
"percentageChange7d": 1,
"info": null
}
],
"pagination": {
"bookmark": "text",
"hasMore": true
}
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/assetPairs/topGainers HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"assetPairs": [
{
"_id": "text",
"_docId": "text",
"asset": "text",
"price": 1,
"lastUpdated": 1,
"totalLiquidity": [],
"volume24h": 1,
"volume7d": 1,
"percentageChange24h": 1,
"percentageChange7d": 1,
"info": null
}
],
"pagination": {
"bookmark": "text",
"hasMore": true
}
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/assetPairs/topLosers HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"assetPairs": [
{
"_id": "text",
"_docId": "text",
"asset": "text",
"price": 1,
"lastUpdated": 1,
"totalLiquidity": [],
"volume24h": 1,
"volume7d": 1,
"percentageChange24h": 1,
"percentageChange7d": 1,
"info": null
}
],
"pagination": {
"bookmark": "text",
"hasMore": true
}
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/assetPairs/highestVolume HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"assetPairs": [
{
"_id": "text",
"_docId": "text",
"asset": "text",
"price": 1,
"lastUpdated": 1,
"totalLiquidity": [],
"volume24h": 1,
"volume7d": 1,
"percentageChange24h": 1,
"percentageChange7d": 1,
"info": null
}
],
"pagination": {
"bookmark": "text",
"hasMore": true
}
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/assetPairs/priceSorted HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"assetPairs": [
{
"_id": "text",
"_docId": "text",
"asset": "text",
"price": 1,
"lastUpdated": 1,
"totalLiquidity": [],
"volume24h": 1,
"volume7d": 1,
"percentageChange24h": 1,
"percentageChange7d": 1,
"info": null
}
],
"pagination": {
"bookmark": "text",
"hasMore": true
}
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/assetPairs/weeklyTopGainers HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"assetPairs": [
{
"_id": "text",
"_docId": "text",
"asset": "text",
"price": 1,
"lastUpdated": 1,
"totalLiquidity": [],
"volume24h": 1,
"volume7d": 1,
"percentageChange24h": 1,
"percentageChange7d": 1,
"info": null
}
],
"pagination": {
"bookmark": "text",
"hasMore": true
}
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/assetPairs/weeklyTopLosers HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"assetPairs": [
{
"_id": "text",
"_docId": "text",
"asset": "text",
"price": 1,
"lastUpdated": 1,
"totalLiquidity": [],
"volume24h": 1,
"volume7d": 1,
"percentageChange24h": 1,
"percentageChange7d": 1,
"info": null
}
],
"pagination": {
"bookmark": "text",
"hasMore": true
}
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
GET /api/v0/api/{version}/assetPairs/search?query=text HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Accept: */*
{
"assetPairs": [
{
"_id": "text",
"_docId": "text",
"asset": "text",
"price": 1,
"lastUpdated": 1,
"totalLiquidity": [],
"volume24h": 1,
"volume7d": 1,
"percentageChange24h": 1,
"percentageChange7d": 1,
"info": null
}
],
"pagination": {
"bookmark": "text",
"hasMore": true
}
}BitBadges API Key for authentication
Success response
Bad Request - Invalid configuration or request
Internal Server Error
POST /api/v0/api/{version}/assetPairs/byDenoms HTTP/1.1
Host: api.bitbadges.io
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"denoms": [
"text"
]
}{
"assetPairs": [
{
"_id": "text",
"_docId": "text",
"asset": "text",
"price": 1,
"lastUpdated": 1,
"totalLiquidity": [],
"volume24h": 1,
"volume7d": 1,
"percentageChange24h": 1,
"percentageChange7d": 1,
"info": null
}
],
"pagination": {
"bookmark": "text",
"hasMore": true
}
}Last updated