# Configuring use of Mintscan API

Mintscan API is used for the following reports on the StakeTax website:

* AKT
* ARCH
* ATOM
* DYDX
* EVMOS
* INJ
* JUNO
* NTRN
* OSMO
* STRD
* TIA

For the CSVs listed above, source data for transactions can be pulled from LCD node or Mintscan API in the codebase.  LCD node as source data is default because it works out of the box.  But Mintscan API as source data is preferable because it has a more complete history in almost all cases.

## To change to Mintscan API as source data, do the following:

1. Follow <https://docs.cosmostation.io/apis#how-to-get-api-key> to get a Mintscan API key.  Specifically,

* create a mintscan account
* create a mintscan key
* Email <api@cosmostation.io> to get your key "approved", so that it is no longer in "pending" state in the mintscan api dashboard (<https://api.mintscan.io/dashboard>)

2. Add STAKETAX\_MINTSCAN\_KEY to your python environment:

```
# i.e.
export STAKETAX_MINTSCAN_KEY=<someverylongstringkey>
```

3. Run the report per usual:.&#x20;

```
# i.e.
python3 staketaxcsv/report_akt.py <wallet_address>
```

&#x20;
