Perps
volumeTotalPossible values: descPossible values: 50Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"values": [
{
"id": 1,
"marketOnchainId": 1,
"subjectUserkey": "text",
"subject": {
"id": 1,
"profileId": 1,
"displayName": "text",
"username": "text",
"avatarUrl": "https://example.com",
"description": "text",
"score": 1,
"status": "ACTIVE",
"userkeys": [
"text"
],
"xpTotal": 1,
"xpStreakDays": 1,
"xpRemovedDueToAbuse": true,
"influenceFactor": 1,
"influenceFactorPercentile": 1,
"humanVerificationStatus": "REQUESTED",
"validatorNftCount": 1,
"links": {
"profile": "https://example.com",
"scoreBreakdown": "https://example.com"
},
"stats": {
"review": {
"received": {
"negative": 1,
"neutral": 1,
"positive": 1
}
},
"vouch": {
"given": {
"amountWeiTotal": 1,
"count": 1
},
"received": {
"amountWeiTotal": 1,
"count": 1
}
},
"vouchTotals": [
{
"balance": {
"given": 1,
"received": 1
},
"count": {
"given": 1,
"received": 1
},
"token": {
"address": "text",
"decimals": 1,
"id": "text"
}
}
]
}
},
"pauseState": "active",
"markPrice": 1,
"lastFundingRate": 1,
"longOI": 1,
"shortOI": 1,
"volumeTotal": 1,
"volume24h": 1,
"createdAt": "text"
}
],
"nextCursor": 1
}Ethereum address (0x-prefixed, 20 bytes)
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/open-positions?traderAddress=text HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"values": [
{
"market": {
"id": 1,
"marketOnchainId": 1,
"subjectUserkey": "text",
"subject": {
"id": 1,
"profileId": 1,
"displayName": "text",
"username": "text",
"avatarUrl": "https://example.com",
"description": "text",
"score": 1,
"status": "ACTIVE",
"userkeys": [
"text"
],
"xpTotal": 1,
"xpStreakDays": 1,
"xpRemovedDueToAbuse": true,
"influenceFactor": 1,
"influenceFactorPercentile": 1,
"humanVerificationStatus": "REQUESTED",
"validatorNftCount": 1,
"links": {
"profile": "https://example.com",
"scoreBreakdown": "https://example.com"
},
"stats": {
"review": {
"received": {
"negative": 1,
"neutral": 1,
"positive": 1
}
},
"vouch": {
"given": {
"amountWeiTotal": 1,
"count": 1
},
"received": {
"amountWeiTotal": 1,
"count": 1
}
},
"vouchTotals": [
{
"balance": {
"given": 1,
"received": 1
},
"count": {
"given": 1,
"received": 1
},
"token": {
"address": "text",
"decimals": 1,
"id": "text"
}
}
]
}
},
"pauseState": "active",
"markPrice": 1,
"lastFundingRate": 1,
"longOI": 1,
"shortOI": 1,
"volumeTotal": 1,
"volume24h": 1,
"createdAt": "text"
},
"size": 1,
"collateral": 1,
"pnl": 1,
"pnlPercent": 1,
"entryLeverage": 1
}
]
}Ethereum address (0x-prefixed, 20 bytes)
50Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/liquidations HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"values": [
{
"id": 1,
"marketId": 1,
"marketOnchainId": 1,
"traderAddress": "text",
"trader": {
"id": 1,
"profileId": 1,
"displayName": "text",
"username": "text",
"avatarUrl": "https://example.com",
"description": "text",
"score": 1,
"status": "ACTIVE",
"userkeys": [
"text"
],
"xpTotal": 1,
"xpStreakDays": 1,
"xpRemovedDueToAbuse": true,
"influenceFactor": 1,
"influenceFactorPercentile": 1,
"humanVerificationStatus": "REQUESTED",
"validatorNftCount": 1,
"links": {
"profile": "https://example.com",
"scoreBreakdown": "https://example.com"
},
"stats": {
"review": {
"received": {
"negative": 1,
"neutral": 1,
"positive": 1
}
},
"vouch": {
"given": {
"amountWeiTotal": 1,
"count": 1
},
"received": {
"amountWeiTotal": 1,
"count": 1
}
},
"vouchTotals": [
{
"balance": {
"given": 1,
"received": 1
},
"count": {
"given": 1,
"received": 1
},
"token": {
"address": "text",
"decimals": 1,
"id": "text"
}
}
]
}
},
"keeper": "text",
"notional": 1,
"bountyPaid": 1,
"realizedPnl": 1,
"badDebt": 1,
"createdAt": "text"
}
],
"nextCursor": 1
}Successful response
Authorization not provided
Insufficient access
Internal server error
GET /api/v2/perps/protocol-stats HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"insuranceFund": 1,
"totalOpenInterest": 1
}Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/{marketOnchainId} HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"marketOnchainId": 1,
"subjectUserkey": "text",
"subject": {
"id": 1,
"profileId": 1,
"displayName": "text",
"username": "text",
"avatarUrl": "https://example.com",
"description": "text",
"score": 1,
"status": "ACTIVE",
"userkeys": [
"text"
],
"xpTotal": 1,
"xpStreakDays": 1,
"xpRemovedDueToAbuse": true,
"influenceFactor": 1,
"influenceFactorPercentile": 1,
"humanVerificationStatus": "REQUESTED",
"validatorNftCount": 1,
"links": {
"profile": "https://example.com",
"scoreBreakdown": "https://example.com"
},
"stats": {
"review": {
"received": {
"negative": 1,
"neutral": 1,
"positive": 1
}
},
"vouch": {
"given": {
"amountWeiTotal": 1,
"count": 1
},
"received": {
"amountWeiTotal": 1,
"count": 1
}
},
"vouchTotals": [
{
"balance": {
"given": 1,
"received": 1
},
"count": {
"given": 1,
"received": 1
},
"token": {
"address": "text",
"decimals": 1,
"id": "text"
}
}
]
}
},
"pauseState": "active",
"markPrice": 1,
"lastFundingRate": 1,
"longOI": 1,
"shortOI": 1,
"volumeTotal": 1,
"volume24h": 1,
"createdAt": "text",
"initialMarginRatio": 1,
"maintenanceMarginRatio": 1,
"minMargin": 1,
"maxLeverage": 1,
"perTxNotionalCap": 1,
"perBlockNotionalCap": 1,
"skewScale": 1,
"maxFundingVelocityPerDay": 1,
"liquidationBountyBps": 1,
"liquidationFeeBps": 1,
"makerFeeBps": 1,
"takerFeeBps": 1,
"skew": 1,
"totalCollateral": 1,
"fundingValue": 1,
"lastFundingTime": "text",
"markUpdatedAt": "text"
}Ethereum address (0x-prefixed, 20 bytes)
Successful response
Ethereum address (0x-prefixed, 20 bytes)
Ethereum address (0x-prefixed, 20 bytes)
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/{marketOnchainId}/position?traderAddress=text HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"marketId": 1,
"marketOnchainId": 1,
"traderAddress": "text",
"size": 1,
"collateral": 1,
"entrySignal": 1,
"fundingSnapshot": 1,
"openedAt": "text",
"lastUpdatedAt": "text",
"isClosed": true,
"closedAt": "text",
"isFlagged": true,
"flaggedKeeper": "text",
"flaggedAt": "text",
"lifetimeRealizedPnl": 1,
"pnl": 1,
"pnlPercent": 1,
"entryLeverage": 1
}Ethereum address (0x-prefixed, 20 bytes)
50Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/{marketOnchainId}/trade-history HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"values": [
{
"id": 1,
"type": "OPEN",
"traderAddress": "text",
"trader": {
"id": 1,
"profileId": 1,
"displayName": "text",
"username": "text",
"avatarUrl": "https://example.com",
"description": "text",
"score": 1,
"status": "ACTIVE",
"userkeys": [
"text"
],
"xpTotal": 1,
"xpStreakDays": 1,
"xpRemovedDueToAbuse": true,
"influenceFactor": 1,
"influenceFactorPercentile": 1,
"humanVerificationStatus": "REQUESTED",
"validatorNftCount": 1,
"links": {
"profile": "https://example.com",
"scoreBreakdown": "https://example.com"
},
"stats": {
"review": {
"received": {
"negative": 1,
"neutral": 1,
"positive": 1
}
},
"vouch": {
"given": {
"amountWeiTotal": 1,
"count": 1
},
"received": {
"amountWeiTotal": 1,
"count": 1
}
},
"vouchTotals": [
{
"balance": {
"given": 1,
"received": 1
},
"count": {
"given": 1,
"received": 1
},
"token": {
"address": "text",
"decimals": 1,
"id": "text"
}
}
]
}
},
"sizeDelta": 1,
"collateralAmount": 1,
"realizedPnl": 1,
"signal": 1,
"newSize": 1,
"newCollateral": 1,
"createdAt": "text"
}
],
"nextCursor": 1
}50Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/{marketOnchainId}/funding-history HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"values": [
{
"id": 1,
"fundingValue": 1,
"fundingRate": 1,
"skew": 1,
"createdAt": "text"
}
],
"nextCursor": 1
}7dPossible values: Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/{marketOnchainId}/mark-history HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"duration": "1h",
"values": [
{
"timeBucket": "text",
"markPrice": 1,
"fundingRate": 1
}
]
}Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/{marketOnchainId}/top-traders HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"values": [
{
"traderAddress": "text",
"trader": {
"id": 1,
"profileId": 1,
"displayName": "text",
"username": "text",
"avatarUrl": "https://example.com",
"description": "text",
"score": 1,
"status": "ACTIVE",
"userkeys": [
"text"
],
"xpTotal": 1,
"xpStreakDays": 1,
"xpRemovedDueToAbuse": true,
"influenceFactor": 1,
"influenceFactorPercentile": 1,
"humanVerificationStatus": "REQUESTED",
"validatorNftCount": 1,
"links": {
"profile": "https://example.com",
"scoreBreakdown": "https://example.com"
},
"stats": {
"review": {
"received": {
"negative": 1,
"neutral": 1,
"positive": 1
}
},
"vouch": {
"given": {
"amountWeiTotal": 1,
"count": 1
},
"received": {
"amountWeiTotal": 1,
"count": 1
}
},
"vouchTotals": [
{
"balance": {
"given": 1,
"received": 1
},
"count": {
"given": 1,
"received": 1
},
"token": {
"address": "text",
"decimals": 1,
"id": "text"
}
}
]
}
},
"lifetimeRealizedPnl": 1,
"hasOpenPosition": true
}
]
}Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/{marketOnchainId}/simulate-open?collateralDelta=text&leverage=1&side=long HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"status": "text",
"entrySignal": 1,
"notional": 1,
"required": 1,
"sizeDelta": 1,
"perTxNotionalCap": 1,
"notionalCapOk": true,
"worstCaseUpside": 1,
"leveragedUpsideOk": true
}Ethereum address (0x-prefixed, 20 bytes)
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/{marketOnchainId}/simulate-close?trader=text&sizeDelta=text HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"closeSignal": 1,
"collateralReturned": 1,
"realizedPnl": 1
}Ethereum address (0x-prefixed, 20 bytes)
Successful response
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /api/v2/perps/{marketOnchainId}/quotes?trader=text HTTP/1.1
Host: api.ethos.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"marginRatio": 1,
"freeCollateral": 1,
"removableCollateral": 1,
"liquidationSignal": 1,
"fundingRate": 1
}Last updated