Skip to content
Skill

Trust wallet API

Lets an agent query Trust Wallet's API for token prices, swap quotes and security checks

Trust wallet API is an open-source agent skill for finance and payments. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
112
Last commit
License
MIT
Listing updated

Similar skills

About Trust wallet API

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 6 files (29 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/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:

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Trust wallet API 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.

More from trustwallet/tw-agent-skills

  1. Lets an agent check balances and send, swap or buy crypto via Trust Wallet's MCP server

    • Open source
    • 112 GitHub stars
    • Finance and payments
  2. Guides an agent through Trust Wallet's open-source wallet, dApp and token libraries

    • Open source
    • 112 GitHub stars
    • Finance and payments
  3. Lets an agent run the twak CLI to manage a Trust Wallet crypto wallet from a shell

    • Open source
    • 112 GitHub stars
    • Finance and payments
  4. Starter SKILL.md template for authoring new agent skills in Trust Wallet's repo

    • Open source
    • 112 GitHub stars
    • Developer tools