> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# API Credits

> Understand how Developer Units (DUs) are consumed across different API endpoints.

Allium's Developer API credits are measured in **Developer Units (DU)**. Each API endpoint consumes a specific number of DUs per call based on the computational resources required.

## How Developer Units Work

Every API request you make to Allium's Developer API consumes a certain number of Developer Units. The consumption varies by endpoint complexity, data volume, and processing requirements.

<Info>
  Need more Developer Units? [Contact us](https://allium.so/contact) to discuss your usage requirements and pricing options.
</Info>

## Developer Units by Endpoint

Below is a comprehensive breakdown of DU costs for all available endpoints:

<Info>
  For API calls to endpoints that support batched inputs, the Developer Unit cost is multiplied by the number of inputs.
</Info>

### Wallets

| Endpoint                                        | Developer Units |
| :---------------------------------------------- | --------------: |
| `/api/v1/developer/wallet/transactions`         |           30 DU |
| `/api/v1/developer/wallet/balances`             |           30 DU |
| `/api/v1/developer/wallet/balances/history`     |           30 DU |
| `/api/v1/developer/wallet/holdings/history`     |           30 DU |
| `/api/v1/developer/wallet/pnl`                  |           30 DU |
| `/api/v1/developer/wallet/pnl-by-token`         |           30 DU |
| `/api/v1/developer/wallet/pnl/history`          |           30 DU |
| `/api/v1/developer/wallet/pnl-by-token/history` |           30 DU |

### Prices

| Endpoint                                | Developer Units |
| :-------------------------------------- | --------------: |
| `/api/v1/developer/prices`              |           20 DU |
| `/api/v1/developer/prices/history`      |           20 DU |
| `/api/v1/developer/prices/stats`        |           20 DU |
| `/api/v1/developer/prices/at-timestamp` |           20 DU |

### Hyperliquid

| Endpoint                                                   | Developer Units |
| :--------------------------------------------------------- | --------------: |
| `/api/v1/developer/trading/hyperliquid/info`               |           40 DU |
| `/api/v1/developer/trading/hyperliquid/info/fills`         |           40 DU |
| `/api/v1/developer/trading/hyperliquid/info/order/history` |           60 DU |
| `/api/v1/developer/trading/hyperliquid/info/order/status`  |           40 DU |
| `/api/v1/developer/trading/hyperliquid/orderbook/snapshot` |           60 DU |
| `/api/v1/developer/trading/hyperliquid/candleSnapshot`     |           20 DU |
| `/api/v1/developer/trading/hyperliquid/metaAndAssetCtxs`   |           20 DU |

### Tokens

| Endpoint                                 | Developer Units |
| :--------------------------------------- | --------------: |
| `/api/v1/developer/tokens/chain-address` |           20 DU |
| `/api/v1/developer/tokens`               |           30 DU |
| `/api/v1/developer/tokens/search`        |           30 DU |

### Assets

| Endpoint                         | Developer Units |
| :------------------------------- | --------------: |
| `/api/v1/developer/assets`       |           30 DU |
| `/api/v1/developer/assets/batch` |           20 DU |

## Related Resources

<CardGroup cols={2}>
  <Card title="Getting Started" icon="rocket" href="/api/getting-started">
    Learn how to authenticate and make your first API request
  </Card>

  <Card title="API Reference" icon="book" href="/api/developer/overview">
    Explore all available endpoints and their documentation
  </Card>
</CardGroup>
