> For the complete documentation index, see [llms.txt](https://docs.kanalabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kanalabs.io/smart-wallet-sdk/mirai-sdk-the-evm-smart-wallet-and-paymaster/data-service/get-nfts-list.md).

# Get NFTs List

```typescript
import 'dotenv/config';
import { DataService } from '@kanalabs/mirai';

(async () => {

      // Define the accountAddress and chainId
   const accountAddress = '';
   const chainId = 80001;
   const dataApiKey = process.env.DATASERVICE_API_KEY || '' as string;
   
   // initializating DataService...
   const dataService = new DataService();

   // Retrieve nfts list using the specified accountAddress and chainId with your api key
   const response = await dataService.getNftsList(accountAddress, chainId, dataApiKey);
   
   // Log the nfts list response
   console.log('response', response);
})()
```
