> For the complete documentation index, see [llms.txt](https://docs.fast.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fast.xyz/api-reference/rest-api/tokens.md).

# Tokens

Token metadata

## GET /v1/tokens

>

````json
{"openapi":"3.1.0","info":{"title":"FastSet Proxy REST API","version":"1.0.0"},"tags":[{"name":"tokens","description":"Token metadata"}],"paths":{"/v1/tokens":{"get":{"tags":["tokens"],"operationId":"get_token_info","parameters":[{"name":"token_ids","in":"query","description":"Comma-separated hex-encoded token IDs.\nExample: `?token_ids=abcd...,ef01...`","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Token metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenInfoSuccess"}}}},"400":{"description":"Invalid token ID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"502":{"description":"Upstream validator error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}},"components":{"schemas":{"TokenInfoSuccess":{"type":"object","description":"Schema for `GET /v1/tokens` response.","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/TokenInfoResponse"},"meta":{"$ref":"#/components/schemas/ResponseMeta"}}},"TokenInfoResponse":{"type":"object","required":["requested_token_metadata"],"properties":{"requested_token_metadata":{"type":"array","items":{"type":"array","items":false,"prefixItems":[{"type":"string"},{"oneOf":[{"type":"null"},{"type":"object","description":"Encodes metadata about a custom token","required":["update_id","admin","token_name","decimals","total_supply","mints"],"properties":{"admin":{"$ref":"#/components/schemas/PublicKeyBytes","description":"the current token admin"},"decimals":{"type":"integer","format":"int32","description":"the number of decimals for this token","minimum":0},"mints":{"type":"array","items":{"$ref":"#/components/schemas/PublicKeyBytes"},"description":"the authorized minting addresses for this token"},"token_name":{"type":"string","description":"the name of the token"},"total_supply":{"$ref":"#/components/schemas/Amount","description":"the total supply for this token"},"update_id":{"$ref":"#/components/schemas/Nonce","description":"number of management operations applied to some token"}}}]}]}}}},"PublicKeyBytes":{"type":"string","description":"A byte sequence that names an entity on or off the FastSet network.\nTypically encoded as an Ed25519 public key."},"Amount":{"type":"string"},"Nonce":{"type":"integer","format":"int64","minimum":0},"ResponseMeta":{"type":"object","description":"Shared metadata included in every API response.","required":["timestamp"],"properties":{"timestamp":{"type":"string","description":"ISO-8601 / RFC-3339 UTC timestamp of when the response was generated."}}},"ErrorEnvelope":{"type":"object","description":"Error response envelope.\n\n```json\n{\n  \"error\": { \"code\": \"UNEXPECTED_NONCE\", \"message\": \"…\", \"details\": { … } },\n  \"meta\": { \"timestamp\": \"…\" }\n}\n```","required":["error","meta"],"properties":{"error":{"description":"Structured error body built from [`RestApiError`]."},"meta":{"$ref":"#/components/schemas/ResponseMeta"}}}}}}
````


---

# 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://docs.fast.xyz/api-reference/rest-api/tokens.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.
