> For the complete documentation index, see [llms.txt](https://gitbook-docs.coinmetrics.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook-docs.coinmetrics.io/cm-api-spec/meta-data/security-master/security-master-assets.md).

# Security Master Assets

Returns all the assets and their metadata in security master.

```json
{"openapi":"3.0.2","info":{"title":"Coin Metrics API v4","version":"4.0.0"},"tags":[{"name":"Security Master","description":"Security Master endpoints\n\n**Endpoints on this page:**\n- `GET /security-master/assets` — Security Master Assets\n- `GET /security-master/markets` — Security Master Markets"}],"servers":[{"url":"https://api.coinmetrics.io/v4"},{"url":"wss://api.coinmetrics.io/v4"},{"url":"https://community-api.coinmetrics.io/v4"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"description":"Coin Metrics API key can be specified as `?api_key=` query parameter.","in":"query","name":"api_key","type":"apiKey"}},"parameters":{"SecurityMasterAssets":{"description":"Comma-separated list of assets to query. Mutually exclusive with `codes`.","name":"assets","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"explode":false},"SecurityMasterCodes":{"description":"Comma-separated list of ten-digit alphanumeric identifying codes. Mutually exclusive with `assets`.","name":"codes","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}},"explode":false},"PageSize":{"description":"Number of items per single page of results.<br/> The value of this parameter is ignored if the endpoint supports the `format` parameter and its value is set to `json_stream`.","in":"query","name":"page_size","schema":{"default":100,"type":"integer","format":"int32","minimum":1,"maximum":10000}},"PagingFromWithStartByDefault":{"description":"Where does the first page start, at the start of the interval or at the end.<br/> The value of this parameter is ignored if the endpoint supports the `format` parameter and its value is set to `json_stream`.","in":"query","name":"paging_from","schema":{"default":"start","enum":["start","end"],"type":"string","format":"PagingFrom"}},"NextPageToken":{"description":"Token for receiving the results from the next page of a query.<br/> Should not be used directly. To iterate through pages just use `next_page_url` response field.","in":"query","name":"next_page_token","schema":{"type":"string"}},"Pretty":{"description":"Human-readable formatting of JSON responses.","in":"query","name":"pretty","schema":{"type":"boolean","default":false}}},"responses":{"SecurityMasterAssets":{"description":"List of assets and their metadata in security master","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityMasterAssetsResponse"}}}},"Unauthorized":{"description":"Requested resource requires authorization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"BlockchainForbidden":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Requested resource is not available with supplied credentials."},"UriTooLong":{"description":"Provided URI is too long. It must not be greater than 10000 symbols."}},"schemas":{"SecurityMasterAssetsResponse":{"description":"Security Master assets response","properties":{"data":{"$ref":"#/components/schemas/SecurityMasterAssets"},"next_page_token":{"$ref":"#/components/schemas/NextPageToken"},"next_page_url":{"$ref":"#/components/schemas/NextPageUrl"}},"required":["data"],"type":"object"},"SecurityMasterAssets":{"type":"array","items":{"$ref":"#/components/schemas/SecurityMasterAssetData"}},"SecurityMasterAssetData":{"type":"object","properties":{"asset":{"description":"Asset name","type":"string"},"code":{"$ref":"#/components/schemas/SecurityMasterAssetCode"},"description":{"description":"Description of the asset.","type":"string"},"overview":{"description":"Overview of the asset.","type":"string"},"website":{"description":"Official website URL of the asset.","type":"string"},"whitepaper":{"description":"Official whitepaper URL of the asset.","type":"string"},"decimals":{"description":"Number of decimals","type":"string"},"creation_date":{"description":"Date of the asset creation (first block) in ISO 8601 format.","type":"string"},"type":{"description":"Asset type","type":"string"},"parent_asset":{"description":"Parent asset name","type":"string"},"pricing_asset":{"description":"Pricing asset name","type":"string"},"erc20_token_contract":{"description":"ERC20 contract","type":"string"},"fiat":{"description":"Fiat flag","type":"boolean"}},"required":["asset"]},"SecurityMasterAssetCode":{"description":"Ten-digit alphanumeric asset identifying code","type":"string"},"NextPageToken":{"description":"Token of the next page results for a given request.","type":"string"},"NextPageUrl":{"description":"URL of the next page results for a given request.","type":"string"},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/ErrorObject"}},"required":["error"],"type":"object"},"ErrorObject":{"properties":{"type":{"description":"Error type string. Can be used for error identification.","type":"string"},"message":{"description":"Human-friendly error description. Can be amended without prior notification. Do not use for error identification in your code.","type":"string"}},"required":["type","description"],"type":"object"}}},"paths":{"/security-master/assets":{"get":{"summary":"Security Master Assets","description":"Returns all the assets and their metadata in security master.","operationId":"getSecurityMasterAssets","tags":["Security Master"],"parameters":[{"$ref":"#/components/parameters/SecurityMasterAssets"},{"$ref":"#/components/parameters/SecurityMasterCodes"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/PagingFromWithStartByDefault"},{"$ref":"#/components/parameters/NextPageToken"},{"$ref":"#/components/parameters/Pretty"}],"responses":{"200":{"$ref":"#/components/responses/SecurityMasterAssets"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/BlockchainForbidden"},"414":{"$ref":"#/components/responses/UriTooLong"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gitbook-docs.coinmetrics.io/cm-api-spec/meta-data/security-master/security-master-assets.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
