# Trust wallet API

> Trust wallet API is an open-source agent skill for finance and payments. Lets an agent query Trust Wallet's API for token prices, swap quotes and security checks. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/trustwallet/tw-agent-skills/tree/main/skills/api
- **Repository:** https://github.com/trustwallet/tw-agent-skills
- **GitHub stars:** 112
- **License:** MIT
- **Skill name:** trust-wallet-api
- **Collection:** https://github.com/trustwallet/tw-agent-skills
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-12-01

## About

This skill gives an AI coding agent access to the Trust Wallet REST API hosted at tws.trustwallet.com, covering token search, asset details, coin status, prices, trending tokens, market data, swap quotes and token security checks across more than 100 blockchains. Requests are authenticated with HMAC-SHA256, and the setup reference explains credentials, the asset ID format and the supported chain list before any call is made.

The skill is organised as a router. Its main file points the agent to one of several reference documents depending on the task: setup and chains, token info, swap quotes, market data, or security and address validation. The agent reads only the reference that matches the request, which keeps the context focused on the relevant endpoints.

The skill ships no scripts. It relies on the agent making HTTP calls itself, so the user needs their own Trust Wallet API credentials and a way for the agent to send authenticated requests.

## When your agent uses it

> Trust Wallet API for crypto data — token search, prices, trending tokens, swap quotes, market data, security checks, address validation, asset info, and coin status across 100+ blockchains. Use whenever the user asks about crypto prices, token info, swap rates, market cap, trending coins, token risk, honeypot detection, address validation, or wants to call the Trust Wallet / tws.trustwallet.com API directly. Covers HMAC-SHA256 authentication, supported chains, and all REST endpoints.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/trustwallet/tw-agent-skills/tree/HEAD/skills/api)
- [License: MIT](https://github.com/trustwallet/tw-agent-skills/tree/HEAD/skills/api)

## Features

- **Token search and asset info:** Look up tokens by name or symbol and retrieve asset details and chain status.
- **Prices and market data:** Fetch token prices, market capitalisation, trending tokens and category listings.
- **Swap quotes and routes:** Request DEX swap quotes, bridge routes and step-by-step transaction data.
- **Token security checks:** Run risk checks such as honeypot detection on a token contract.
- **Address validation:** Validate blockchain addresses for a given network before use.
- **HMAC authentication setup:** Explains how to sign requests and which asset ID and chain formats the API expects.

## Good for

- Check the current price and market cap of a token
- Find trending crypto tokens right now
- Get a swap quote for exchanging one token for another
- Check whether a token might be a honeypot before buying
- Validate a wallet address for a specific blockchain

## Install

### Claude Code

This skill ships in the `web3-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add trustwallet/tw-agent-skills
/plugin install web3-skills@tw-agent-skills
```

Or copy only this skill to `~/.claude/skills/trust-wallet-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/trust-wallet-api &&
cp -R "$tmp/skills/api" ~/.claude/skills/trust-wallet-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/trust-wallet-api` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/trust-wallet-api` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/trust-wallet-api &&
cp -R "$tmp/skills/api" ~/.agents/skills/trust-wallet-api &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/trust-wallet-api` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/trust-wallet-api` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/trust-wallet-api &&
cp -R "$tmp/skills/api" ~/.cursor/skills/trust-wallet-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/trust-wallet-api` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/trustwallet/tw-agent-skills.git --path skills/api
```

Or copy the folder to `~/.gemini/skills/trust-wallet-api` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/trust-wallet-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/trust-wallet-api &&
cp -R "$tmp/skills/api" ~/.copilot/skills/trust-wallet-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/trust-wallet-api` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/trustwallet/tw-agent-skills.git
```

Then copy `tw-agent-skills/skills/api` into your agent's skills folder as `trust-wallet-api`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Trust wallet API need credentials?

Yes. The setup reference covers HMAC-SHA256 authentication, which requires Trust Wallet API credentials.

### Which chains are covered?

The skill describes support for more than 100 blockchains, with the full list in the setup reference.

### When does the agent use Trust wallet API?

When the user asks about crypto prices, token info, swap rates, market cap, trending coins, token risk, address validation or direct calls to the Trust Wallet API.

### Does Trust wallet API include scripts?

No. The skill consists of Markdown reference files that guide the agent's API calls.

### How do I install Trust wallet API in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/trust-wallet-api to use it in all your projects, or to .claude/skills/trust-wallet-api in one project. Or install the web3-skills plugin, which includes it: /plugin marketplace add trustwallet/tw-agent-skills, then /plugin install web3-skills@tw-agent-skills.

### Does Trust wallet API run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Trust wallet API?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Trust wallet API?

The closest alternatives to Trust wallet API are Trust wallet MCP, Trust wallet CLI, Trust wallet SDK, Swap tokens and Token.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Trust wallet MCP](https://ai-powered.com/skills/trust-wallet-mcp): Trust wallet MCP is an open-source agent skill for finance and payments.
- [Trust wallet CLI](https://ai-powered.com/skills/trust-wallet-cli): Trust wallet CLI is an open-source agent skill for finance and payments.
- [Trust wallet SDK](https://ai-powered.com/skills/trust-wallet-sdk): Trust wallet SDK is an open-source agent skill for finance and payments.
- [Swap tokens](https://ai-powered.com/skills/swap-tokens): Swap tokens is an open-source agent skill for finance and payments.
- [Token](https://ai-powered.com/skills/token): Token is an open-source agent skill for finance and payments.
- [Use developer controlled wallets](https://ai-powered.com/skills/use-developer-controlled-wallets): Use developer controlled wallets is an open-source agent skill for finance and payments.
- [API fetcher specific domains](https://ai-powered.com/skills/api-fetcher-specific-domains): API fetcher specific domains is an open-source agent skill for communication.
- [Tinyplace agent](https://ai-powered.com/skills/tinyplace-agent): Tinyplace agent is an open-source agent skill for finance and payments.

---
Source: https://ai-powered.com/skills/trust-wallet-api
