# Token Layer API ## Docs - [Introduction](https://tokenlayer-2a53bba4.mintlify.app/introduction.md): Welcome to the Token Layer API documentation - [Authentication](https://tokenlayer-2a53bba4.mintlify.app/authentication.md): Learn how to authenticate your API requests - [Quickstart](https://tokenlayer-2a53bba4.mintlify.app/quickstart.md): Get started with the Thrust API in under 5 minutes - [Error Handling](https://tokenlayer-2a53bba4.mintlify.app/errors.md): Understanding and handling API errors - [MCP Server](https://tokenlayer-2a53bba4.mintlify.app/mcp-server.md): Connect Thrust to AI assistants via Model Context Protocol - [MCP Quickstart](https://tokenlayer-2a53bba4.mintlify.app/mcp-quickstart.md): Get started with Thrust MCP server in minutes - [MCP Tools Reference](https://tokenlayer-2a53bba4.mintlify.app/mcp-tools.md): Complete guide to all available Thrust MCP tools - [Example Prompts](https://tokenlayer-2a53bba4.mintlify.app/mcp-examples.md): Ready-to-use prompts for common Thrust MCP tasks - [API Reference](https://tokenlayer-2a53bba4.mintlify.app/api-reference.md): Complete reference for all Thrust API endpoints - [Create new token transaction](https://tokenlayer-2a53bba4.mintlify.app/api-reference/transactions/create-new-token-transaction.md): Creates a new token on-chain. This endpoint prepares and optionally executes the blockchain transaction to deploy a new token contract with specified parameters. - [Get tokens list](https://tokenlayer-2a53bba4.mintlify.app/api-reference/tokens/get-tokens-list.md): Retrieves a list of tokens with filtering options (trending, new, popular, top_posts). Supports optional hashtag filtering and pagination. - [Get token price quote](https://tokenlayer-2a53bba4.mintlify.app/api-reference/tokens/get-token-price-quote.md): Get a price quote for buying or selling tokens. Automatically uses the appropriate protocol: - **RobinSwap** for non-graduated tokens - **UniswapV3** for graduated tokens - [Get liquidity pool data](https://tokenlayer-2a53bba4.mintlify.app/api-reference/tokens/get-liquidity-pool-data.md): Get liquidity pool data for a token including supply, reserves, weight, graduation status and progress. - [Get user token balance](https://tokenlayer-2a53bba4.mintlify.app/api-reference/tokens/get-user-token-balance.md): Get authenticated user's balance for a specific token. - [Search for token](https://tokenlayer-2a53bba4.mintlify.app/api-reference/tokens/search-for-token.md): Search for a token by: - **Token UUID** (internal token ID from tokens table) - **Token Layer ID** (bytes32 format: 0x... with 64 hex characters) - **Contract address** (0x... with 40 hex characters for EVM or base58 for Solana) - **Token symbol** (uppercase, e.g., BTC, ETH) - **… - [Check token ownership](https://tokenlayer-2a53bba4.mintlify.app/api-reference/tokens/check-token-ownership.md): Checks if a user owns a specific token by querying token balances across chains. Returns ownership status and balance with caching for performance. - [Trade tokens (buy or sell)](https://tokenlayer-2a53bba4.mintlify.app/api-reference/transactions/trade-tokens-buy-or-sell.md): Prepares a transaction to buy or sell tokens. Supports multiple trade types: - **Buy exact input**: Spend specific USD amount - **Buy exact output**: Receive specific token amount - **Sell exact input**: Sell specific token amount - **Sell exact output**: Receive specific USD amount - [Search tokens, users, and posts](https://tokenlayer-2a53bba4.mintlify.app/api-reference/search/search-tokens-users-and-posts.md): Universal search across tokens, users, and posts. Supports filtering by category and pagination. ## OpenAPI Specs - [openapi](https://tokenlayer-2a53bba4.mintlify.app/openapi.yaml) ## Optional - [Community](https://discord.gg/tokenlayer) - [GitHub](https://github.com/tokenlayer-labs)