# ChestAPI
> Static accessor for retrieving the Chest API instance.
`gg.lode.chestapi.ChestAPI`
---
## Signature
```java
public class ChestAPI
```
---
## Methods
| Method | Return Type | Description |
|--------|-------------|-------------|
| `static getApi()` | `IChestAPI` | Returns the current [[IChestAPI]] instance, or `null` if Chest has not loaded yet. |
---
## Usage
```java
IChestAPI api = ChestAPI.getApi();
if (api == null) {
// Chest is not loaded
return;
}
```
---
## Related Pages
- [[IChestAPI]]