# Issue Getting Asset List

**URL:** <https://forum.alpaca.markets/t/issue-getting-asset-list/9951>\
**Category:** Getting Started with Alpaca\
**Created:** [July 9, 2022, 12:05am UTC](https://forum.alpaca.markets/t/issue-getting-asset-list/9951 "2022-07-09T00:05:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirill](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@kirill](https://forum.alpaca.markets/u/kirill)\
**Post date:** [July 9, 2022, 12:05am UTC](https://forum.alpaca.markets/t/issue-getting-asset-list/9951/1 "2022-07-09T00:05:57Z")

</div>

I read [this](https://alpaca.markets/docs/api-references/trading-api/assets/) documentation.

Based on that article I tried to create a short python script that prints a list of all tradeable instruments on Alpaca.

Here is the code:

```auto
from alpaca_trade_api.rest import REST
api = REST()
assets = api.get('/v2/assets')
print(assets)

```

Here are the errors I am getting:

```auto
Output exceeds the size limit. Open the full output data in a text editor
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
c:\Users\hello\Documents\projects\alpaca\main.ipynb Cell 2 in <cell line: 4>()
      1 #get asset list
      3 api = REST()
----> 4 assets = api.get('/v2/assets')
      5 print(assets)

File c:\Users\hello\miniconda3\envs\alpaca\lib\site-packages\alpaca_trade_api\rest.py:250, in REST.get(self, path, data)
    249 def get(self, path, data=None):
--> 250 return self._request('GET', path, data)

File c:\Users\hello\miniconda3\envs\alpaca\lib\site-packages\alpaca_trade_api\rest.py:213, in REST._request(self, method, path, data, base_url, api_version)
    211 while retry >= 0:
    212 try:
--> 213 return self._one_request(method, url, opts, retry)
    214 except RetryException:
    215 retry_wait = self._retry_wait

File c:\Users\hello\miniconda3\envs\alpaca\lib\site-packages\alpaca_trade_api\rest.py:234, in REST._one_request(self, method, url, opts, retry)
    232 resp = self._session.request(method, url, **opts)
    233 try:
--> 234 resp.raise_for_status()
    235 except HTTPError as http_error:
    236 # retry if we hit Rate Limit
...
   1019 )
   1021 if http_error_msg:
-> 1022 raise HTTPError(http_error_msg, response=self)

HTTPError: 404 Client Error: Not Found for url: https://api.alpaca.markets/v2/v2/assets

```

The article simply says:  
 ![alpaca_assets_article](https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/8/8b1998398084cd532175be358b8511ed465b2736.png)

This doesn’t seem very descriptive. What thought process should I have used to translate that information into a working python script?
