# BarrierAPI
> Static entry point for accessing the Barrier API.
`gg.lode.barrierapi.BarrierAPI`
---
## Signature
```java
public class BarrierAPI
```
---
## Methods
### getApi
```java
public static IBarrierAPI getApi()
```
Returns the current `IBarrierAPI` instance, or `null` if Barrier has not loaded yet.
**Returns:** `IBarrierAPI` — The API instance.
---
## Related Pages
- [[IBarrierAPI]] — The interface returned by `getApi()`