Position API
API documentation for the Points Program. You can see the API in action here: Points Program API.
App
App Request
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/ |
Verb | GET |
Header | accept: */* |
Request
curl -X 'GET' \
'https://api-points.silo.finance/' \
-H 'accept: */*'
Response
Headers
content-length: 51
content-type: text/html; charset=utf-8
date: Wed,28 May 2025 06:58:09 GMT
etag: W/"33-A2PUnq9VS2QfUEvz16lRfTsxeoU"
request-id: 5b2f4e54-974c-48b6-8197-dec03ea01e17
vary: Origin
x-powered-by: Express
Code 200 Body
<a href="https://www.silo.finance">Silo Finance</a>
Check App Health
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/health |
Verb | GET |
Header | accept: application/json |
Request
curl -X 'GET' \
'https://api-points.silo.finance/health' \
-H 'accept: application/json'
Responses
Headers
cache-control: no-cache,no-store,must-revalidate
content-length: 97
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 07:05:40 GMT
etag: W/"61-hE0E6occ1NEIRT6ioY3xlJ8nvBw"
request-id: 44996921-eeb8-4b6c-ac2d-0db4fde1c505
vary: Origin
x-powered-by: Express
Code 200 Body
{
"status": "ok",
"info": {
"prisma": {
"status": "up"
}
},
"error": {},
"details": {
"prisma": {
"status": "up"
}
}
}
Code 503 Body
{
"status": "error",
"info": {
"database": {
"status": "up"
}
},
"error": {
"redis": {
"status": "down",
"message": "Could not connect"
}
},
"details": {
"database": {
"status": "up"
},
"redis": {
"status": "down",
"message": "Could not connect"
}
}
}
Points
Get Points Leaderboard
Get top 3 user accounts in the leaderboard. If a specific account is provided, that user's position in the leaderboard will be returned. The total number of accounts is also returned.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/points/leaderboard |
Verb | GET |
Header | accept: application/json |
Parameters
Name | Type | Description |
---|---|---|
account | string | Account to get position for. If not provided, it will return just the top 3 accounts. |
Request
curl -X 'GET' \
'https://api-points.silo.finance/points/leaderboard' \
-H 'accept: application/json'
Response
Headers
content-length: 319
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 15:37:03 GMT
etag: W/"13f-2ae6Ck9rXiXvMPqo/YZ9f0iR+Q8"
request-id: dbc91516-df26-4c6d-a481-bf4b55857a84
vary: Origin
x-powered-by: Express
Code 200 Body
{
"topAccounts": [
{
"account": "0xff9c35acda4b136f71b1736b2bdfb5479f111c4a",
"points": 5302907372.227094,
"rank": "1"
},
{
"account": "0x3c7bc2bf27e0a91ecd97dba1325af61e4cf47efd",
"points": 3884835117.809282,
"rank": "2"
},
{
"account": "0x431e81e5dfb5a24541b5ff8762bdef3f32f96354",
"points": 2751709298.5025506,
"rank": "3"
}
],
"total": "19294"
}
Get Points for a User
Get points for a user. If an account is not provided, only the total points will be returned.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/points/userpoints |
Verb | GET |
Header | accept: application/json |
Parameters
Name | Type | Description |
---|---|---|
account | string | Account to get points for. If not provided, the total points will be returned. |
Request
curl -X 'GET' \
'https://api-points.silo.finance/points/userpoints?account=0x431e81e5dfb5a24541b5ff8762bdef3f32f96354' \
-H 'accept: application/json'
Response
Headers
content-length: 119
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 20:41:45 GMT
etag: W/"77-K9y02g6aj8XyV+8KQHG6y8MTPBQ"
request-id: b46d824d-9abb-4c05-8677-53f65541d180
vary: Origin
x-powered-by: Express
Code 200 Body
{
"account": "0x431e81e5dfb5a24541b5ff8762bdef3f32f96354",
"userPoints": 2751709298.502551,
"totalPoints": 93532773803.90613
}
Points Breakdown by Asset
Get breakdown of points by asset.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/points/breakdown-by-assets |
Verb | GET |
Header | accept: */* |
Parameters
Name | Type | Description |
---|---|---|
cursor | string | Cursor for pagination. |
limit | number | Maximum number of dates to return. Default is 10, max is 100. |
asset | string | Asset to get breakdown for. Each value provided must be an Ethereum address. |
Request
curl -X 'GET' \
'https://api-points.silo.finance/points/breakdown-by-assets?limit=10&asset=0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38' \
-H 'accept: */*'
Response
Headers
content-length: 8368
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 20:44:16 GMT
etag: W/"20b0-lM+mU1gyeIHpjeJq5VG3lYWRuho"
request-id: a3501798-bdcc-46d8-a063-abd3977445f7
vary: Origin
x-powered-by: Express
Code 200 Body
{
"items": [
{
"id": "0000169c6888dd428388c000f0b2207d",
"userAddress": "0xe0778edd6495d7242ce74f34c51c2575cc8a49e7",
"marketAddress": "0x78c246f67c8a6ce03a1d894d4cf68004bd55deea",
"distributionDate": "2025-01-31T00:00:00.000Z",
"pointsA": 0,
"pointsB": 0.2768465475903617,
"points": 0.2768465475903617,
"aTokenAddress": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"aTokenSymbol": "stS",
"aTokenPrice": 0.5513312629527516,
"aSuppliedAmount": 0,
"aSuppliedAmountUsd": 0,
"aProtectedSuppliedAmount": 0,
"aProtectedSuppliedAmountUsd": 0,
"aBorrowedAmount": 0,
"aBorrowedAmountUsd": 0,
"bTokenAddress": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"bTokenSymbol": "wS",
"bTokenPrice": 0.5503568529254861,
"bSuppliedAmount": 0.5,
"bSuppliedAmountUsd": 0.275178426462743,
"bProtectedSuppliedAmount": 0,
"bProtectedSuppliedAmountUsd": 0,
"bBorrowedAmount": 0,
"bBorrowedAmountUsd": 0
},
{
"id": "000025cc320433b4227862895b8e081e",
"userAddress": "0xc287afb662e5b145763026f728e050c06468003b",
"marketAddress": "0x78c246f67c8a6ce03a1d894d4cf68004bd55deea",
"distributionDate": "2025-03-05T00:00:00.000Z",
"pointsA": 10805.79984519139,
"pointsB": 5095.611321579398,
"points": 15901.41116677079,
"aTokenAddress": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"aTokenSymbol": "stS",
"aTokenPrice": 0.5855366469257407,
"aSuppliedAmount": 18395.94775827435,
"aSuppliedAmountUsd": 10771.50156740106,
"aProtectedSuppliedAmount": 0,
"aProtectedSuppliedAmountUsd": 0,
"aBorrowedAmount": 0,
"aBorrowedAmountUsd": 0,
"bTokenAddress": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"bTokenSymbol": "wS",
"bTokenPrice": 0.5791536405268641,
"bSuppliedAmount": 0,
"bSuppliedAmountUsd": 0,
"bProtectedSuppliedAmount": 0,
"bProtectedSuppliedAmountUsd": 0,
"bBorrowedAmount": 17524.6,
"bBorrowedAmountUsd": 10149.43588877708
},
...
],
"nextCursor": "0000c06f084154b761b2d492e53982ab"
}
Points Reports
Get report of points for all users. Returns a list of distribution dates with total points and position count.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/points/reports |
Verb | GET |
Header | accept: application/json |
Request
curl -X 'GET' \
'https://api-points.silo.finance/points/reports' \
-H 'accept: application/json'
Response
Headers
content-length: 13187
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 19:25:45 GMT
etag: W/"3383-OuJ5sfTQay1NHwO3IOVXtpH8u+M"
request-id: 6a7d9c43-9a8d-4ed8-bf1f-f8647ebcd874
vary: Origin
x-powered-by: Express
Code 200 Body
{
"items": [
{
"distributionDate": "2025-05-28T00:00:00.000Z",
"totalPoints": 118828165,
"positionCount": 18705
},
{
"distributionDate": "2025-05-27T00:00:00.000Z",
"totalPoints": 1434517426,
"positionCount": 18705
},
{
"distributionDate": "2025-05-26T00:00:00.000Z",
"totalPoints": 1445489899,
"positionCount": 18761
},
{
"distributionDate": "2025-05-25T00:00:00.000Z",
"totalPoints": 1438425834,
"positionCount": 18800
},
...
{
"distributionDate": "2025-01-08T00:00:00.000Z",
"totalPoints": 2,
"positionCount": 3
}
]
}
Get User Points by Distribution Date
Get points for a user broken down by distribution date with pagination.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/points/{address} |
Verb | GET |
Header | accept: application/json |
Parameters
Name | Type | Description |
---|---|---|
address | string | User account address. |
cursor | string | Cursor for pagination. |
limit | number | Maximum number of dates to return. Default is 10, max is 100. |
Request
curl -X 'GET' \
'https://api-points.silo.finance/points/0x3c7bc2bf27e0a91ecd97dba1325af61e4cf47efd?limit=3' \
-H 'accept: application/json'
Response
Headers
content-length: 2777
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 19:34:20 GMT
etag: W/"ad9-4Ooqz0ZPJ7ymQ58KxOTUy+Sxw24"
request-id: 232420fd-5531-4327-9e2f-ec8c3e5bfbd0
vary: Origin
x-powered-by: Express
Code 200 Body
{
"items": [
{
"distributionDate": "2025-01-18T00:00:00.000Z",
"points": 62.68743779924181,
"positions": [
{
"id": "cb82d3a312e9655863e32dce60f74233",
"userAddress": "0x3c7bc2bf27e0a91ecd97dba1325af61e4cf47efd",
"marketAddress": "0x78c246f67c8a6ce03a1d894d4cf68004bd55deea",
"distributionDate": "2025-01-18T00:00:00.000Z",
"pointsA": 0,
"pointsB": 62.68743779924181,
"points": 62.68743779924181,
"aTokenAddress": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"aTokenSymbol": "stS",
"aTokenPrice": 0.6989553852213755,
"aSuppliedAmount": 0,
"aSuppliedAmountUsd": 0,
"aProtectedSuppliedAmount": 0,
"aProtectedSuppliedAmountUsd": 0,
"aBorrowedAmount": 0,
"aBorrowedAmountUsd": 0,
"bTokenAddress": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"bTokenSymbol": "wS",
"bTokenPrice": 0.6967778463330534,
"bSuppliedAmount": 91.66666666666667,
"bSuppliedAmountUsd": 63.8713025805299,
"bProtectedSuppliedAmount": 0,
"bProtectedSuppliedAmountUsd": 0,
"bBorrowedAmount": 0,
"bBorrowedAmountUsd": 0
}
]
},
{
"distributionDate": "2025-01-19T00:00:00.000Z",
"points": 62.24385088516606,
"positions": [
{
"id": "e67a4b4d25fc82a74279babd9eb7fff0",
"userAddress": "0x3c7bc2bf27e0a91ecd97dba1325af61e4cf47efd",
"marketAddress": "0x78c246f67c8a6ce03a1d894d4cf68004bd55deea",
"distributionDate": "2025-01-19T00:00:00.000Z",
"pointsA": 0,
"pointsB": 62.24385088516606,
"points": 62.24385088516606,
"aTokenAddress": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"aTokenSymbol": "stS",
"aTokenPrice": 0.630006035665671,
"aSuppliedAmount": 0,
"aSuppliedAmountUsd": 0,
"aProtectedSuppliedAmount": 0,
"aProtectedSuppliedAmountUsd": 0,
"aBorrowedAmount": 0,
"aBorrowedAmountUsd": 0,
"bTokenAddress": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"bTokenSymbol": "wS",
"bTokenPrice": 0.6293281549794806,
"bSuppliedAmount": 100,
"bSuppliedAmountUsd": 62.93281549794806,
"bProtectedSuppliedAmount": 0,
"bProtectedSuppliedAmountUsd": 0,
"bBorrowedAmount": 0,
"bBorrowedAmountUsd": 0
}
]
},
{
"distributionDate": "2025-01-20T00:00:00.000Z",
"points": 54.49437640607357,
"positions": [
{
"id": "48f8fa2b098248c2674b6d341bf5997f",
"userAddress": "0x3c7bc2bf27e0a91ecd97dba1325af61e4cf47efd",
"marketAddress": "0x78c246f67c8a6ce03a1d894d4cf68004bd55deea",
"distributionDate": "2025-01-20T00:00:00.000Z",
"pointsA": 0,
"pointsB": 54.49437640607357,
"points": 54.49437640607357,
"aTokenAddress": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"aTokenSymbol": "stS",
"aTokenPrice": 0.549016761738393,
"aSuppliedAmount": 0,
"aSuppliedAmountUsd": 0,
"aProtectedSuppliedAmount": 0,
"aProtectedSuppliedAmountUsd": 0,
"aBorrowedAmount": 0,
"aBorrowedAmountUsd": 0,
"bTokenAddress": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"bTokenSymbol": "wS",
"bTokenPrice": 0.5489170151452224,
"bSuppliedAmount": 100,
"bSuppliedAmountUsd": 54.89170151452224,
"bProtectedSuppliedAmount": 0,
"bProtectedSuppliedAmountUsd": 0,
"bBorrowedAmount": 0,
"bBorrowedAmountUsd": 0
}
]
}
],
"nextCursor": "2025-01-20T00:00:00.000Z"
}
Manually Update Points
Manually update points for a distribution date. This will re-calculate the points for the distribution date and update the database. New data will be fetched from external sources.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/points/manualupdate |
Verb | POST |
Header | accept: */* |
Request
curl -X 'POST' \
'https://api-points.silo.finance/points/manualupdate' \
-H 'accept: */*' \
-d ''
Resync Points
Resync points for a distribution date. This will re-calculate the points for the distribution date and update the database. It will not fetch new data from external sources.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/points/resync |
Verb | POST |
Header | accept: */* |
Request
curl -X 'POST' \
'https://api-points.silo.finance/points/manualupdate' \
-H 'accept: */*' \
-d ''
Multipliers
Update Multipliers
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/multipliers/update |
Verb | POST |
Header | accept: application/json |
Get Multipliers
Get all multipliers.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/multipliers/all |
Verb | GET |
Header | accept: */* |
Request
curl -X 'GET' \
'https://api-points.silo.finance/multipliers/all' \
-H 'accept: */*'
Response
Headers
content-length: 14564
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 19:52:52 GMT
etag: W/"38e4-yM4OXba5IbYVPq9Kipr1zVBFcKY"
request-id: 8b4836c7-255d-41cb-a4fe-640486ff9aeb
vary: Origin
x-powered-by: Express
Code 201 Body
[
{
"id": "d139ad9d-6422-4b58-9fb6-c6d29446b060",
"poolAddress": "0x1a030f39a8cf9f0b2649e97cf6d0c7853aeacf78",
"deposit_tokenA": 1,
"deposit_tokenB": 2,
"borrow_tokenA": 1,
"borrow_tokenB": 1,
"tokenA_address": "0x9f0df7799f6fdad409300080cff680f5a23df4b1",
"tokenB_address": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"tokenA_symbol": "wOS",
"tokenB_symbol": "wS",
"poolName": "wOS·wS·22",
"createdAt": "2025-02-21T17:28:25.433Z",
"updatedAt": "2025-02-22T01:26:18.563Z"
},
{
"id": "ad49a3d4-4b71-4986-8dce-0757c0faa246",
"poolAddress": "0x6bdf0d12d4b534d5f46c53a90dddfbe6c0e85dc7",
"deposit_tokenA": 1,
"deposit_tokenB": 2,
"borrow_tokenA": 1,
"borrow_tokenB": 1,
"tokenA_address": "0xfa85fe5a8f5560e9039c04f2b0a90de1415abd70",
"tokenB_address": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"tokenA_symbol": "wanS",
"tokenB_symbol": "wS",
"poolName": "wanS·wS·25",
"createdAt": "2025-02-21T17:28:37.079Z",
"updatedAt": "2025-02-22T01:26:31.525Z"
}
...
]
Pools
Get All Pools
Get all pools.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/pools/all |
Verb | GET |
Header | accept: */* |
Request
curl -X 'GET' \
'https://api-points.silo.finance/pools/all' \
-H 'accept: */*'
Response
Headers
content-length: 49117
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 19:57:21 GMT
etag: W/"bfdd-bKyOfiMMht8x0Iw+CQeVZONn9QU"
request-id: 731bf2f1-3afe-4593-8480-0fb2ea3d786b
vary: Origin
x-powered-by: Express
Code 201 Body
[
{
"asset_1_address": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"asset_1_name": "Beets Staked Sonic",
"asset_1_symbol": "stS",
"asset_2_address": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"asset_2_name": "Wrapped Sonic",
"asset_2_symbol": "wS",
"createdTimestamp": 1736255535,
"id": "0x16775ba977e48a67819b302ba5e1d2e9c954f421",
"interestLastUpdated": 3117050,
"marketId": 1,
"name": "stS-wS",
"silo_1_id": "0xbff04857353cc593f85c40a1d47342d3e3633115",
"silo_2_id": "0xe61527810f6dadf21a8ed4ee7c884cc977611f0f",
"multiplier": {
"id": "3e83bfba-526f-4f22-975f-c800c3845023",
"poolAddress": "0x16775ba977e48a67819b302ba5e1d2e9c954f421",
"deposit_tokenA": 1,
"deposit_tokenB": 1,
"borrow_tokenA": 1,
"borrow_tokenB": 1,
"tokenA_address": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"tokenB_address": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"tokenA_symbol": "stS",
"tokenB_symbol": "wS",
"poolName": "stS·wS·1",
"createdAt": "2025-02-21T08:17:11.302Z",
"updatedAt": "2025-04-07T08:38:23.211Z"
}
},
{
"asset_1_address": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"asset_1_name": "Beets Staked Sonic",
"asset_1_symbol": "stS",
"asset_2_address": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"asset_2_name": "Wrapped Sonic",
"asset_2_symbol": "wS",
"createdTimestamp": 1736362929,
"id": "0x875be2b0aef69589a21c9ef73cd92d8e71b20043",
"interestLastUpdated": 3128659,
"marketId": 2,
"name": "stS-wS",
"silo_1_id": "0x0f0d1cfb37c310e2de33dc2c23849bf24014faea",
"silo_2_id": "0x164832d4b539709adf6df94d5fc2eddba82af899",
"multiplier": {
"id": "1ea2c873-b745-4c5f-aa4f-1b6f6368d592",
"poolAddress": "0x875be2b0aef69589a21c9ef73cd92d8e71b20043",
"deposit_tokenA": 1,
"deposit_tokenB": 1,
"borrow_tokenA": 1,
"borrow_tokenB": 1,
"tokenA_address": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"tokenB_address": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"tokenA_symbol": "stS",
"tokenB_symbol": "wS",
"poolName": "stS·wS·2",
"createdAt": "2025-02-21T13:00:38.858Z",
"updatedAt": "2025-03-04T11:08:44.075Z"
}
},
...
]
Positions
Positions Breakdown by Asset
Get breakdown of positions by asset.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/positions/breakdown-by-assets |
Verb | GET |
Header | accept: application/json |
Parameters
Name | Type | Description |
---|---|---|
cursor | string | Cursor for pagination. |
limit | number | Maximum number of positions to return. Default is 10, max is 100. |
asset | string | Asset to get breakdown for. Each value provided must be an Ethereum address. |
Request
curl -X 'GET' \
'https://api-points.silo.finance/positions/breakdown-by-assets?limit=10&asset=0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38' \
-H 'accept: application/json'
Response
Headers
content-length: 8368
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 20:23:26 GMT
etag: W/"20b0-lM+mU1gyeIHpjeJq5VG3lYWRuho"
request-id: 23d79eb3-617c-414e-826f-5161917c02cd
vary: Origin
x-powered-by: Express
Code 200 Body
{
"items": [
{
"id": "0000169c6888dd428388c000f0b2207d",
"userAddress": "0xe0778edd6495d7242ce74f34c51c2575cc8a49e7",
"marketAddress": "0x78c246f67c8a6ce03a1d894d4cf68004bd55deea",
"distributionDate": "2025-01-31T00:00:00.000Z",
"pointsA": 0,
"pointsB": 0.2768465475903617,
"points": 0.2768465475903617,
"aTokenAddress": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"aTokenSymbol": "stS",
"aTokenPrice": 0.5513312629527516,
"aSuppliedAmount": 0,
"aSuppliedAmountUsd": 0,
"aProtectedSuppliedAmount": 0,
"aProtectedSuppliedAmountUsd": 0,
"aBorrowedAmount": 0,
"aBorrowedAmountUsd": 0,
"bTokenAddress": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"bTokenSymbol": "wS",
"bTokenPrice": 0.5503568529254861,
"bSuppliedAmount": 0.5,
"bSuppliedAmountUsd": 0.275178426462743,
"bProtectedSuppliedAmount": 0,
"bProtectedSuppliedAmountUsd": 0,
"bBorrowedAmount": 0,
"bBorrowedAmountUsd": 0
},
{
"id": "000025cc320433b4227862895b8e081e",
"userAddress": "0xc287afb662e5b145763026f728e050c06468003b",
"marketAddress": "0x78c246f67c8a6ce03a1d894d4cf68004bd55deea",
"distributionDate": "2025-03-05T00:00:00.000Z",
"pointsA": 10805.79984519139,
"pointsB": 5095.611321579398,
"points": 15901.41116677079,
"aTokenAddress": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"aTokenSymbol": "stS",
"aTokenPrice": 0.5855366469257407,
"aSuppliedAmount": 18395.94775827435,
"aSuppliedAmountUsd": 10771.50156740106,
"aProtectedSuppliedAmount": 0,
"aProtectedSuppliedAmountUsd": 0,
"aBorrowedAmount": 0,
"aBorrowedAmountUsd": 0,
"bTokenAddress": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"bTokenSymbol": "wS",
"bTokenPrice": 0.5791536405268641,
"bSuppliedAmount": 0,
"bSuppliedAmountUsd": 0,
"bProtectedSuppliedAmount": 0,
"bProtectedSuppliedAmountUsd": 0,
"bBorrowedAmount": 17524.6,
"bBorrowedAmountUsd": 10149.43588877708
},
...
]
}
Positions Breakdown by Markets
Get breakdown of positions by markets.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/positions/breakdown-by-markets |
Verb | GET |
Header | accept: application/json |
Parameters
Name | Type | Description |
---|---|---|
cursor | string | Cursor for pagination. |
limit | number | Maximum number of positions to return. Default is 10, max is 100. |
market | string | Market to get breakdown for. |
Request
curl -X 'GET' \
'https://api-points.silo.finance/positions/breakdown-by-markets?limit=10&market=0x78c246f67c8a6ce03a1d894d4cf68004bd55deea' \
-H 'accept: application/json'
Response
Headers
content-length: 8576
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 20:34:54 GMT
etag: W/"2180-n5EFd+9ZmKEXbZRhcaRxK8+l4jA"
request-id: 261a61f0-7d55-4a66-8dc1-d063c32e84b8
vary: Origin
x-powered-by: Express
Code 200 Body
{
"items": [
{
"id": "12a04cff6819dea64387526b2cf28213",
"userAddress": "0x6648b5554632ed5d6ec27ec6737e98a0a3dbbc94",
"marketAddress": "0x78c246f67c8a6ce03a1d894d4cf68004bd55deea",
"distributionDate": "2025-01-09T00:00:00.000Z",
"pointsA": 20.06732601915091,
"pointsB": 43.02173296610514,
"points": 63.08905898525605,
"aTokenAddress": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"aTokenSymbol": "stS",
"aTokenPrice": 0.6916787053062694,
"aSuppliedAmount": 0,
"aSuppliedAmountUsd": 0,
"aProtectedSuppliedAmount": 0,
"aProtectedSuppliedAmountUsd": 0,
"aBorrowedAmount": 61.66666666666666,
"aBorrowedAmountUsd": 42.65352016055328,
"bTokenAddress": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"bTokenSymbol": "wS",
"bTokenPrice": 0.6574400836394892,
"bSuppliedAmount": 66.66666666666667,
"bSuppliedAmountUsd": 43.82933890929929,
"bProtectedSuppliedAmount": 0,
"bProtectedSuppliedAmountUsd": 0,
"bBorrowedAmount": 0,
"bBorrowedAmountUsd": 0
},
{
"id": "1a1ae340551b6a53e83e65193948b66e",
"userAddress": "0x71b79c6575c4fc6a70b76ac77bf1924f11d2e1cd",
"marketAddress": "0x78c246f67c8a6ce03a1d894d4cf68004bd55deea",
"distributionDate": "2025-01-09T00:00:00.000Z",
"pointsA": 0,
"pointsB": 67.8467389345169,
"points": 67.8467389345169,
"aTokenAddress": "0xe5da20f15420ad15de0fa650600afc998bbe3955",
"aTokenSymbol": "stS",
"aTokenPrice": 0.6916787053062694,
"aSuppliedAmount": 0,
"aSuppliedAmountUsd": 0,
"aProtectedSuppliedAmount": 0,
"aProtectedSuppliedAmountUsd": 0,
"aBorrowedAmount": 0,
"aBorrowedAmountUsd": 0,
"bTokenAddress": "0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38",
"bTokenSymbol": "wS",
"bTokenPrice": 0.6574400836394892,
"bSuppliedAmount": 100,
"bSuppliedAmountUsd": 65.74400836394892,
"bProtectedSuppliedAmount": 0,
"bProtectedSuppliedAmountUsd": 0,
"bBorrowedAmount": 10,
"bBorrowedAmountUsd": 6.574400836394893
},
...
]
}
User Positions
Get user positions.
Parameter | Description |
---|---|
Request URL | https://api-points.silo.finance/positions/{address} |
Verb | GET |
Header | accept: */* |
Parameters
Name | Type | Description |
---|---|---|
address | string | User address to get positions for. |
Request
curl -X 'GET' \
'https://api-points.silo.finance/positions/0x71b79c6575c4fc6a70b76ac77bf1924f11d2e1cd' \
-H 'accept: */*'
Response
Headers
content-length: 217
content-type: application/json; charset=utf-8
date: Wed,28 May 2025 20:37:23 GMT
etag: W/"d9-9/s74mbNnWjDHHaesd+irslQSTQ"
request-id: d6cadf9b-e56b-490b-8db4-f5153d79c6e5
vary: Origin
x-powered-by: Express
Code 200 Body
{
"points": [
{
"userAddress": "0x71b79c6575c4fc6a70b76ac77bf1924f11d2e1cd",
"timestamp": "2025-05-28T20:37:23.389Z",
"lastSnapshotDate": "2025-05-28T20:00:00.000Z",
"points": 951407.5280416161
}
],
"totalPoints": 93532773803.90613
}