# Compute Unit Costs

***

## /usage-details

Retrieve the total compute units (CU) and WebSocket message units consumption for a specified API key within a given time range.

<mark style="color:blue;">`GET`</mark> `https://api.expand.network/key/usage-details/:api-key`

#### Query Parameters

<table><thead><tr><th width="190">Name</th><th width="95">Type</th><th>Description</th></tr></thead><tbody><tr><td>endDate</td><td>String</td><td>Specifies the end date of the time range.<br>By default, <code>current date</code></td></tr><tr><td>startDate</td><td>String</td><td>Specifies the start date of the time range.<br>By default, 30 days before the end date.</td></tr><tr><td>includeDetails</td><td>Boolean</td><td>If set to <code>true</code>, displays the latest 100 hits.<br>By default, <code>false</code></td></tr></tbody></table>

{% tabs %}
{% tab title="Sample Request" %}

```url
https://api.expand.network/key/usage-details/{{Your-API-Key}}?includeDetails=true
```

{% endtab %}

{% tab title="Sample Response" %}

```json
{
    "overAllComputeUnits": 2424259.025536377,
    "overAllWebSocketMessageUnits": 4709.322613828859,
    "latest100Items": [
        {
            "chainId": "900",
            "totalComputeUnits": 53.87913470890224,
            "responseTime": "5379",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T13:18:28",
            "bytes": 1907
        },
        {
            "chainId": "900",
            "totalComputeUnits": 0.36733578766939495,
            "responseTime": "29",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T13:16:15",
            "bytes": 610
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 58.20668529109406,
            "responseTime": "5810",
            "api-endpoint": "/chain/getstakepositions",
            "status": 200,
            "timestamp": "2025-01-09T12:52:12",
            "bytes": 141
        },
        {
            "chainId": "900",
            "totalComputeUnits": 41.18914580479265,
            "responseTime": "4109",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:09:17",
            "bytes": 1915
        },
        {
            "chainId": "900",
            "totalComputeUnits": 42.66079077054605,
            "responseTime": "4255",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:08:59",
            "bytes": 3101
        },
        {
            "chainId": "900",
            "totalComputeUnits": 31.387328852737898,
            "responseTime": "3128",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:08:43",
            "bytes": 605
        },
        {
            "chainId": "900",
            "totalComputeUnits": 53.06792248287487,
            "responseTime": "5296",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:08:30",
            "bytes": 1033
        },
        {
            "chainId": "900",
            "totalComputeUnits": 40.948546626710474,
            "responseTime": "4085",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:08:16",
            "bytes": 1483
        },
        {
            "chainId": "900",
            "totalComputeUnits": 53.169093099313194,
            "responseTime": "5307",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:08:04",
            "bytes": 1877
        },
        {
            "chainId": "900",
            "totalComputeUnits": 61.06913193492963,
            "responseTime": "6096",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:07:47",
            "bytes": 1905
        },
        {
            "chainId": "900",
            "totalComputeUnits": 62.49029839040907,
            "responseTime": "6239",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:07:12",
            "bytes": 2746
        },
        {
            "chainId": "900",
            "totalComputeUnits": 40.687789332189936,
            "responseTime": "4058",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:06:54",
            "bytes": 937
        },
        {
            "chainId": "900",
            "totalComputeUnits": 43.37849808218992,
            "responseTime": "4328",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:06:40",
            "bytes": 1448
        },
        {
            "chainId": "900",
            "totalComputeUnits": 61.129710308217305,
            "responseTime": "6102",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:06:25",
            "bytes": 2322
        },
        {
            "chainId": "900",
            "totalComputeUnits": 51.1024856678063,
            "responseTime": "5099",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:05:37",
            "bytes": 4323
        },
        {
            "chainId": "900",
            "totalComputeUnits": 94.5644399315049,
            "responseTime": "9446",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-09T12:05:16",
            "bytes": 5732
        },
        {
            "chainId": "1",
            "totalComputeUnits": 24.28192948629945,
            "responseTime": "2420",
            "api-endpoint": "/oracle/chainlinksupportedassets",
            "status": 200,
            "timestamp": "2025-01-09T11:55:26",
            "bytes": 3922
        },
        {
            "chainId": "1",
            "totalComputeUnits": 21.352011318491233,
            "responseTime": "2126",
            "api-endpoint": "/oracle/chainlinksupportedassets",
            "status": 200,
            "timestamp": "2025-01-09T11:39:39",
            "bytes": 3981
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 31.786685291094066,
            "responseTime": "3169",
            "api-endpoint": "/chain/getstakepositions",
            "status": 200,
            "timestamp": "2025-01-08T18:57:14",
            "bytes": 141
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 39.156685291094064,
            "responseTime": "3905",
            "api-endpoint": "/chain/getstakepositions",
            "status": 200,
            "timestamp": "2025-01-08T18:56:49",
            "bytes": 141
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 37.60668529109407,
            "responseTime": "3751",
            "api-endpoint": "/chain/getstakepositions",
            "status": 200,
            "timestamp": "2025-01-08T18:53:59",
            "bytes": 141
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 43.516767123285845,
            "responseTime": "4342",
            "api-endpoint": "/chain/getstakepositions",
            "status": 200,
            "timestamp": "2025-01-08T18:53:48",
            "bytes": 200
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 46.44676851027215,
            "responseTime": "4634",
            "api-endpoint": "/chain/getstakepositions",
            "status": 200,
            "timestamp": "2025-01-08T18:53:31",
            "bytes": 201
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 29.366686678080363,
            "responseTime": "2926",
            "api-endpoint": "/chain/getstakepositions",
            "status": 200,
            "timestamp": "2025-01-08T18:53:21",
            "bytes": 142
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 31.116595136984483,
            "responseTime": "3101",
            "api-endpoint": "/chain/getstakepositions",
            "status": 200,
            "timestamp": "2025-01-08T18:53:11",
            "bytes": 76
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 57.40662842465571,
            "responseTime": "5730",
            "api-endpoint": "/chain/getstakepositions",
            "status": 400,
            "timestamp": "2025-01-08T18:19:48",
            "bytes": 100
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 52.52662842465571,
            "responseTime": "5242",
            "api-endpoint": "/chain/getstakepositions",
            "status": 400,
            "timestamp": "2025-01-08T18:19:47",
            "bytes": 100
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 51.73662842465571,
            "responseTime": "5163",
            "api-endpoint": "/chain/getstakepositions",
            "status": 400,
            "timestamp": "2025-01-08T18:19:47",
            "bytes": 100
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 45.95667974314887,
            "responseTime": "4585",
            "api-endpoint": "/chain/getstakepositions",
            "status": 200,
            "timestamp": "2025-01-08T18:19:47",
            "bytes": 137
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 46.96662842465571,
            "responseTime": "4686",
            "api-endpoint": "/chain/getstakepositions",
            "status": 400,
            "timestamp": "2025-01-08T18:19:47",
            "bytes": 100
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 45.99662842465572,
            "responseTime": "4589",
            "api-endpoint": "/chain/getstakepositions",
            "status": 400,
            "timestamp": "2025-01-08T18:19:47",
            "bytes": 100
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 42.986692226025575,
            "responseTime": "4288",
            "api-endpoint": "/chain/getstakepositions",
            "status": 200,
            "timestamp": "2025-01-08T18:19:46",
            "bytes": 146
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 11.046646455477628,
            "responseTime": "1094",
            "api-endpoint": "/chain/getstakepositions",
            "status": 400,
            "timestamp": "2025-01-08T18:19:45",
            "bytes": 113
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 13.406610393833793,
            "responseTime": "1330",
            "api-endpoint": "/chain/getstakepositions",
            "status": 400,
            "timestamp": "2025-01-08T18:19:43",
            "bytes": 87
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 13.51661039383379,
            "responseTime": "1341",
            "api-endpoint": "/chain/getstakepositions",
            "status": 400,
            "timestamp": "2025-01-08T18:19:43",
            "bytes": 87
        },
        {
            "chainId": "1100",
            "totalComputeUnits": 14.59661039383379,
            "responseTime": "1449",
            "api-endpoint": "/chain/getstakepositions",
            "status": 400,
            "timestamp": "2025-01-08T18:19:43",
            "bytes": 87
        },
        {
            "chainId": "900",
            "totalComputeUnits": 57.1796035102721,
            "responseTime": "5708",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:35:15",
            "bytes": 2245
        },
        {
            "chainId": "900",
            "totalComputeUnits": 45.56078660958715,
            "responseTime": "4545",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:53",
            "bytes": 3098
        },
        {
            "chainId": "900",
            "totalComputeUnits": 39.16912777397074,
            "responseTime": "3906",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:52",
            "bytes": 1902
        },
        {
            "chainId": "900",
            "totalComputeUnits": 48.89792664383377,
            "responseTime": "4879",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:51",
            "bytes": 1036
        },
        {
            "chainId": "900",
            "totalComputeUnits": 31.787328852737897,
            "responseTime": "3168",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:51",
            "bytes": 605
        },
        {
            "chainId": "900",
            "totalComputeUnits": 49.339133321915945,
            "responseTime": "4923",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:49",
            "bytes": 1906
        },
        {
            "chainId": "900",
            "totalComputeUnits": 39.11853691780637,
            "responseTime": "3902",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:49",
            "bytes": 1476
        },
        {
            "chainId": "900",
            "totalComputeUnits": 50.71028452054606,
            "responseTime": "5060",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:49",
            "bytes": 2736
        },
        {
            "chainId": "900",
            "totalComputeUnits": 37.949614606162505,
            "responseTime": "3784",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:48",
            "bytes": 2253
        },
        {
            "chainId": "900",
            "totalComputeUnits": 40.61779210616254,
            "responseTime": "4052",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:46",
            "bytes": 939
        },
        {
            "chainId": "900",
            "totalComputeUnits": 44.048495308217326,
            "responseTime": "4395",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:44",
            "bytes": 1446
        },
        {
            "chainId": "900",
            "totalComputeUnits": 48.7497144691762,
            "responseTime": "4865",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:42",
            "bytes": 2325
        },
        {
            "chainId": "900",
            "totalComputeUnits": 49.674419126710376,
            "responseTime": "4956",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:41",
            "bytes": 5717
        },
        {
            "chainId": "900",
            "totalComputeUnits": 38.4824884417789,
            "responseTime": "3837",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:41",
            "bytes": 4325
        },
        {
            "chainId": "900",
            "totalComputeUnits": 38.36912916095704,
            "responseTime": "3826",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:39",
            "bytes": 1903
        },
        {
            "chainId": "900",
            "totalComputeUnits": 45.010785222600845,
            "responseTime": "4490",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:38",
            "bytes": 3097
        },
        {
            "chainId": "900",
            "totalComputeUnits": 32.33732885273789,
            "responseTime": "3224",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:37",
            "bytes": 605
        },
        {
            "chainId": "900",
            "totalComputeUnits": 54.159708921231015,
            "responseTime": "5405",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:32",
            "bytes": 2321
        },
        {
            "chainId": "900",
            "totalComputeUnits": 59.54914580479265,
            "responseTime": "5944",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:32",
            "bytes": 1915
        },
        {
            "chainId": "900",
            "totalComputeUnits": 56.85028452054606,
            "responseTime": "5674",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:32",
            "bytes": 2736
        },
        {
            "chainId": "900",
            "totalComputeUnits": 54.96441635273777,
            "responseTime": "5485",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:32",
            "bytes": 5715
        },
        {
            "chainId": "900",
            "totalComputeUnits": 46.8596146061625,
            "responseTime": "4675",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:31",
            "bytes": 2253
        },
        {
            "chainId": "900",
            "totalComputeUnits": 46.902541147258354,
            "responseTime": "4679",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:31",
            "bytes": 4363
        },
        {
            "chainId": "900",
            "totalComputeUnits": 45.658536917806366,
            "responseTime": "4555",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:31",
            "bytes": 1476
        },
        {
            "chainId": "900",
            "totalComputeUnits": 46.54849808218993,
            "responseTime": "4644",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:31",
            "bytes": 1448
        },
        {
            "chainId": "900",
            "totalComputeUnits": 45.737792106162544,
            "responseTime": "4563",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:31",
            "bytes": 939
        },
        {
            "chainId": "900",
            "totalComputeUnits": 51.09792803082008,
            "responseTime": "5099",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:23:31",
            "bytes": 1037
        },
        {
            "chainId": "900",
            "totalComputeUnits": 73.88028590753235,
            "responseTime": "7377",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:22:53",
            "bytes": 2737
        },
        {
            "chainId": "900",
            "totalComputeUnits": 71.72779210616252,
            "responseTime": "7162",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T15:21:20",
            "bytes": 939
        },
        {
            "chainId": "900",
            "totalComputeUnits": 41.979147191778964,
            "responseTime": "4187",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:55:53",
            "bytes": 1916
        },
        {
            "chainId": "900",
            "totalComputeUnits": 52.30078244862824,
            "responseTime": "5219",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:55:38",
            "bytes": 3095
        },
        {
            "chainId": "900",
            "totalComputeUnits": 33.73732746575159,
            "responseTime": "3363",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:55:08",
            "bytes": 604
        },
        {
            "chainId": "900",
            "totalComputeUnits": 54.69792803082007,
            "responseTime": "5460",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:54:57",
            "bytes": 1037
        },
        {
            "chainId": "900",
            "totalComputeUnits": 43.49855633561459,
            "responseTime": "4339",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:54:26",
            "bytes": 1490
        },
        {
            "chainId": "900",
            "totalComputeUnits": 46.449599349313196,
            "responseTime": "4635",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:53:49",
            "bytes": 2242
        },
        {
            "chainId": "900",
            "totalComputeUnits": 60.85913748287485,
            "responseTime": "6077",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:52:46",
            "bytes": 1909
        },
        {
            "chainId": "900",
            "totalComputeUnits": 57.95029561643647,
            "responseTime": "5784",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:51:31",
            "bytes": 2744
        },
        {
            "chainId": "900",
            "totalComputeUnits": 43.41779349314884,
            "responseTime": "4332",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:50:26",
            "bytes": 940
        },
        {
            "chainId": "900",
            "totalComputeUnits": 49.73849253424471,
            "responseTime": "4964",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:50:00",
            "bytes": 1444
        },
        {
            "chainId": "900",
            "totalComputeUnits": 55.579711695203606,
            "responseTime": "5547",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:49:45",
            "bytes": 2323
        },
        {
            "chainId": "900",
            "totalComputeUnits": 46.5124898287652,
            "responseTime": "4640",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:49:26",
            "bytes": 4326
        },
        {
            "chainId": "900",
            "totalComputeUnits": 72.27442328766928,
            "responseTime": "7216",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:48:41",
            "bytes": 5720
        },
        {
            "chainId": "900",
            "totalComputeUnits": 48.54961321917621,
            "responseTime": "4845",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:42:20",
            "bytes": 2252
        },
        {
            "chainId": "900",
            "totalComputeUnits": 59.88029145547757,
            "responseTime": "5978",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:40:44",
            "bytes": 2741
        },
        {
            "chainId": "900",
            "totalComputeUnits": 42.84779349314884,
            "responseTime": "4274",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:40:18",
            "bytes": 940
        },
        {
            "chainId": "900",
            "totalComputeUnits": 50.927919708902266,
            "responseTime": "5082",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:54",
            "bytes": 1031
        },
        {
            "chainId": "900",
            "totalComputeUnits": 46.02078938355975,
            "responseTime": "4591",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:54",
            "bytes": 3100
        },
        {
            "chainId": "900",
            "totalComputeUnits": 39.239127773970736,
            "responseTime": "3913",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:54",
            "bytes": 1902
        },
        {
            "chainId": "900",
            "totalComputeUnits": 34.56732330479269,
            "responseTime": "3446",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:53",
            "bytes": 601
        },
        {
            "chainId": "900",
            "totalComputeUnits": 40.52853830479266,
            "responseTime": "4042",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:51",
            "bytes": 1477
        },
        {
            "chainId": "900",
            "totalComputeUnits": 55.84913332191595,
            "responseTime": "5574",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:51",
            "bytes": 1906
        },
        {
            "chainId": "900",
            "totalComputeUnits": 44.1496146061625,
            "responseTime": "4404",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:50",
            "bytes": 2253
        },
        {
            "chainId": "900",
            "totalComputeUnits": 54.04029006849126,
            "responseTime": "5394",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:47",
            "bytes": 2740
        },
        {
            "chainId": "900",
            "totalComputeUnits": 42.71779349314884,
            "responseTime": "4261",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:45",
            "bytes": 940
        },
        {
            "chainId": "900",
            "totalComputeUnits": 41.92248150684739,
            "responseTime": "4181",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:44",
            "bytes": 4320
        },
        {
            "chainId": "900",
            "totalComputeUnits": 50.339708921230994,
            "responseTime": "5023",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:44",
            "bytes": 2321
        },
        {
            "chainId": "900",
            "totalComputeUnits": 44.08849808218992,
            "responseTime": "4398",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:44",
            "bytes": 1448
        },
        {
            "chainId": "900",
            "totalComputeUnits": 51.09443438355969,
            "responseTime": "5098",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:43",
            "bytes": 5728
        },
        {
            "chainId": "900",
            "totalComputeUnits": 40.329124999998136,
            "responseTime": "4022",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:41",
            "bytes": 1900
        },
        {
            "chainId": "900",
            "totalComputeUnits": 44.96078938355976,
            "responseTime": "4485",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:41",
            "bytes": 3100
        },
        {
            "chainId": "900",
            "totalComputeUnits": 31.51732469177898,
            "responseTime": "3141",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:40",
            "bytes": 602
        },
        {
            "chainId": "900",
            "totalComputeUnits": 55.664426061641876,
            "responseTime": "5555",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:35",
            "bytes": 5722
        },
        {
            "chainId": "900",
            "totalComputeUnits": 57.07970892123101,
            "responseTime": "5697",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:35",
            "bytes": 2321
        },
        {
            "chainId": "900",
            "totalComputeUnits": 58.949129160957035,
            "responseTime": "5885",
            "api-endpoint": "/oracle/getdexdata",
            "status": 200,
            "timestamp": "2025-01-08T13:38:35",
            "bytes": 1903
        }
    ]
}
```

{% endtab %}
{% endtabs %}

### Table of Contents:

1. [<mark style="color:blue;">Account Abstraction</mark>](#account-abstraction)
2. [<mark style="color:blue;">Bridge</mark>](#bridge)
3. [<mark style="color:blue;">Chain</mark>](#chain)
4. [<mark style="color:blue;">Derivative</mark>](#derivative)
5. [<mark style="color:blue;">DEX</mark>](#dex)
6. [<mark style="color:blue;">Fungible Token</mark>](#fungible-token)
7. [<mark style="color:blue;">Lend Borrow</mark>](#lend-borrow)
8. [<mark style="color:blue;">NFT</mark>](#nft)
9. [<mark style="color:blue;">Oracle</mark>](#oracle)
10. [<mark style="color:blue;">Stablecoin</mark>](#stablecoin)
11. [<mark style="color:blue;">Synthetic</mark>](#synthetic)
12. [<mark style="color:blue;">WETH</mark>](#weth)
13. [<mark style="color:blue;">Yield Aggregator</mark>](#yield-aggregator)

***

### Account Abstraction

<table><thead><tr><th width="424">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/aa/getpaymasterdata</td><td>18</td></tr><tr><td>/aa/getsignaturemessage</td><td>16</td></tr><tr><td>/aa/getuserops</td><td>15</td></tr><tr><td>/aa/senduserops</td><td>19</td></tr></tbody></table>

### Bridge

<table><thead><tr><th width="420">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/bridge/addliquidity</td><td>23</td></tr><tr><td>/bridge/getsupportedchains</td><td>5</td></tr><tr><td>/bridge/getliquidity</td><td>25</td></tr><tr><td>/bridge/getprice</td><td>47</td></tr><tr><td>/bridge/getroute</td><td>20</td></tr><tr><td>/bridge/gettransaction</td><td>37</td></tr><tr><td>/bridge/removeliquidity</td><td>7</td></tr><tr><td>/bridge/swap</td><td>18</td></tr><tr><td>/bridge/getsupportedtokens</td><td>23</td></tr></tbody></table>

### Chain&#x20;

<table><thead><tr><th width="417">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/chain/decodetransaction</td><td>17</td></tr><tr><td>/chain/generic</td><td>16</td></tr><tr><td>/chain/getbalance</td><td>18</td></tr><tr><td>/chain/getblock</td><td>14</td></tr><tr><td>/chain/getflashbotbundle</td><td>8</td></tr><tr><td>/chain/getflashbotblocks</td><td>33</td></tr><tr><td>/chain/getflashbottransactions</td><td>15</td></tr><tr><td>/chain/getgasfees</td><td>10</td></tr><tr><td>/chain/getgasprice</td><td>13</td></tr><tr><td>/chain/gethistoricalrewards</td><td>26</td></tr><tr><td>/chain/getpublicrpc</td><td>20</td></tr><tr><td>/chain/getstorage</td><td>13</td></tr><tr><td>/chain/gettokenaddress</td><td>20</td></tr><tr><td>/chain/gettransaction</td><td>16</td></tr><tr><td>/chain/getusertransactions</td><td>18</td></tr><tr><td>/chain/portfolio</td><td>8</td></tr><tr><td>/chain/sendtransaction</td><td>14</td></tr></tbody></table>

### Derivative

<table><thead><tr><th width="412">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/derivative/getassets</td><td>24</td></tr><tr><td>/derivative/getfills</td><td>29</td></tr><tr><td>/derivative/gethistoricalpnl</td><td>20</td></tr><tr><td>/derivative/getorder</td><td>26</td></tr><tr><td>/derivative/getorders</td><td>19</td></tr><tr><td>/derivative/getperpetualpositions</td><td>23</td></tr><tr><td>/derivative/getsubaccounts</td><td>32</td></tr><tr><td>/derivative/gettransfers</td><td>21</td></tr></tbody></table>

### DEX&#x20;

<table><thead><tr><th width="415">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/dex/addliquidity</td><td>16</td></tr><tr><td>/dex/gethistoricaltimeseries</td><td>190</td></tr><tr><td>/dex/gethistoricaltransactions</td><td>30</td></tr><tr><td>/dex/getindividualposition</td><td>19</td></tr><tr><td>/dex/getliquidityholders</td><td>121</td></tr><tr><td>/dex/getliquiditysources</td><td>34</td></tr><tr><td>/dex/getpoolchartdata</td><td>350</td></tr><tr><td>/dex/getpoolliquidity</td><td>21</td></tr><tr><td>/dex/getpools</td><td>46</td></tr><tr><td>/dex/getpooltradedata</td><td>30</td></tr><tr><td>/dex/getprice</td><td>22</td></tr><tr><td>/dex/gettokenliquidity</td><td>26</td></tr><tr><td>/dex/getuserliquidity</td><td>24</td></tr><tr><td>/dex/getwalletposition</td><td>1044</td></tr><tr><td>/dex/quoteaggregator</td><td>36</td></tr><tr><td>/dex/removeliquidity</td><td>21</td></tr><tr><td>/dex/swap</td><td>13</td></tr><tr><td>/dex/swapaggregator</td><td>146</td></tr></tbody></table>

### Fungible Token

<table><thead><tr><th width="412">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/fungibletoken/approve</td><td>14</td></tr><tr><td>/fungibletoken/convertbasetokentowraptoken</td><td>28</td></tr><tr><td>/fungibletoken/convertwraptokentobasetoken</td><td>21</td></tr><tr><td>/fungibletoken/gettokendetails</td><td>16</td></tr><tr><td>/fungibletoken/getuserallowance</td><td>14</td></tr><tr><td>/fungibletoken/getuserbalance</td><td>21</td></tr><tr><td>/fungibletoken/historical/logs</td><td>22</td></tr><tr><td>/fungibletoken/historical/transactions</td><td>58</td></tr><tr><td>/fungibletoken/historical/weth</td><td>37</td></tr><tr><td>/fungibletoken/transfer</td><td>20</td></tr><tr><td>/fungibletoken/transferfrom</td><td>17</td></tr></tbody></table>

### Lend Borrow&#x20;

<table><thead><tr><th width="408">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/lendborrow/borrow</td><td>14</td></tr><tr><td>/lendborrow/deposit</td><td>14</td></tr><tr><td>/lendborrow/entermarket</td><td>27</td></tr><tr><td>/lendborrow/entermarketstatus</td><td>34</td></tr><tr><td>/lendborrow/exitisolationmode</td><td>32</td></tr><tr><td>/lendborrow/exitmarket</td><td>26</td></tr><tr><td>/lendborrow/getpool</td><td>35</td></tr><tr><td>/lendborrow/getpools</td><td>25</td></tr><tr><td>/lendborrow/getuseraccountdata</td><td>57</td></tr><tr><td>/lendborrow/migrate</td><td>15</td></tr><tr><td>/lendborrow/repay</td><td>25</td></tr><tr><td>/lendborrow/setuseremode</td><td>23</td></tr><tr><td>/lendborrow/withdraw</td><td>15</td></tr></tbody></table>

### NFT&#x20;

<table><thead><tr><th width="407">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/nft/getbalance</td><td>18</td></tr><tr><td>/nft/getmetadata</td><td>25</td></tr><tr><td>/nft/getowner</td><td>23</td></tr><tr><td>/nft/historical/logs</td><td>39</td></tr><tr><td>/nft/historical/transactions</td><td>14</td></tr></tbody></table>

### Oracle&#x20;

<table><thead><tr><th width="404">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/oracle/getprice</td><td>16</td></tr><tr><td>/oracle/getsupportedtokens</td><td>46</td></tr></tbody></table>

### Stablecoin&#x20;

<table><thead><tr><th width="407">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/stablecoin/getprice</td><td>16</td></tr></tbody></table>

### Synthetic&#x20;

<table><thead><tr><th width="408">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/synthetic/depositpeggedtoken</td><td>18</td></tr><tr><td>/synthetic/getprice</td><td>23</td></tr><tr><td>/synthetic/withdrawpeggedtoken</td><td>15</td></tr></tbody></table>

### WETH&#x20;

<table><thead><tr><th width="409">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/weth/getbalance</td><td>6</td></tr><tr><td>/weth/historical/logs</td><td>20</td></tr></tbody></table>

### Yield Aggregator

<table><thead><tr><th width="410">API Endpoint</th><th>Total Compute Units</th></tr></thead><tbody><tr><td>/yieldaggregator/depositpool</td><td>27</td></tr><tr><td>/yieldaggregator/depositvault</td><td>14</td></tr><tr><td>/yieldaggregator/getbalance</td><td>22</td></tr><tr><td>/yieldaggregator/getvaults</td><td>43</td></tr><tr><td>/yieldaggregator/withdrawpool</td><td>15</td></tr><tr><td>/yieldaggregator/withdrawvault</td><td>18</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.expand.network/additional-info/compute-unit-costs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
