---
# System prepended metadata

title: API

---

# API

### Install

```sh
cd YOUR_WORKING_DIRECTORY/casperdash-api
npm install
```

### Usage

```sh
npm start     //mainnet
npm run dev   //testnet
```
#### Tokens/RPC configuration
The default ERC20 token, NFT(cep47) or node rpc addresses can be configurable at

```sh
YOUR_WORKING_DIRECTORY/casperdash-api/config/testnet
YOUR_WORKING_DIRECTORY/casperdash-api/config/mainet
```



### Document

Check document at http://localhost:3001/api-docs after running

![](https://i.imgur.com/kaDjQfF.png)

### License

[MIT](https://raw.githubusercontent.com/CasperDash/casperdash-api/master/LICENSE)
