---
title: How to Fetch Token Metadata
description:
  "Learn how to fetch Metaplex token metadata including name, symbol, and URI
  for any SPL Token."
---

Tokens created with the
[Metaplex Token Metadata Program](https://developers.metaplex.com/token-metadata)
have a metadata account that stores the token's name, symbol, URI, and other
information. The metadata account is a PDA derived from the mint address.

## Fetch Metadata for a Single Token

<CodeTabs storage="cookbook">

```ts !! title="Kit" file=packages/docs-examples/cookbook/tokens/fetch-token-metadata/kit.ts#region=fetch

```

</CodeTabs>

## Fetch Off-Chain JSON Metadata

The `uri` field in the onchain metadata points to a JSON file containing
extended metadata like the image URL, description, and attributes.

<CodeTabs storage="cookbook">

```ts !! title="Kit" file=packages/docs-examples/cookbook/tokens/fetch-token-metadata/offchain-kit.ts#region=offchain

```

</CodeTabs>

<Callout type="info">
  Not all tokens have Metaplex Token Metadata. Tokens using Token Extensions
  (Token-2022) may store metadata directly on the mint using the metadata
  extension. See [Token Extensions Metadata](/docs/tokens/extensions/metadata).
</Callout>
