alchemy-api

alchemy-api is a skill for Claude Code, Codex from alchemyplatform/alchemy-claude-plugin. It costs 163 tokens per session (4,754 once invoked), scanned A, a copy of alchemy-api, MIT.

A guide for adding Alchemy, a blockchain data service, to application code such as a backend, script, worker, or decentralised app using an API key.

In plain words
What is it for?
Use it to add blockchain, token, NFT, transfer, price, portfolio, simulation, webhook, Solana, and related Alchemy data services to software that runs outside the agent session.
Why use it?
It explains how to connect an application to Alchemy services instead of having to design the integration from scratch.

Skill for Claude CodeCodex

Part of the alchemy plugin — 4 skills, 9 commands, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alchemyplatform/alchemy-claude-plugin/alchemy-api
Any agent
npx skills add alchemyplatform/alchemy-claude-plugin --skill alchemy-api
Clone the repo
git clone --depth 1 https://github.com/alchemyplatform/alchemy-claude-plugin

Made for: Claude Code, Codex.

Or install alchemy, the plugin that ships this one along with the rest of its 4 skills, 9 commands, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for alchemy-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/alchemyplatform/alchemy-claude-plugin/alchemy-api.svg)](https://agentmods.dev/skills/alchemyplatform/alchemy-claude-plugin/alchemy-api)
Your own site
<a href="https://agentmods.dev/skills/alchemyplatform/alchemy-claude-plugin/alchemy-api"><img src="https://agentmods.dev/badge/skills/alchemyplatform/alchemy-claude-plugin/alchemy-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,754 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00163 $0.04754
Opus 5 $0.00081 $0.02377
Sonnet 5 $0.00033 $0.00951
Haiku 4.5 $0.00016 $0.00475

Measured 4d ago against content hash 549eb7d87b67, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

alchemy-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://eth-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY \
Origin

This is a copy

98% identical to alchemy-api — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/alchemy/skills/alchemy-api/SKILL.md · 281 lines

How it starts

The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Alchemy API (with API Key)

Reference and integration guide for wiring Alchemy APIs into application code using a standard API key. This file alone is enough to ship a basic integration; the references/ directory contains deeper coverage of every product surface.

When to use this skill

Use alchemy-api when all of the following are true:

  • The user is wiring Alchemy into application code (server, backend, dApp, worker, script) that runs outside the current agent session
  • They have, or are willing to create, an Alchemy API key (free at dashboard.alchemy.com)

This is the preferred app-integration path for normal server/backend usage.

When to use a different skill

Situation Use this skill instead
Live agent work in this session (queries, admin, on-machine automation) and @alchemy/cli is installed locally — or both CLI and MCP are available alchemy-cli
Live agent work in this session and only MCP is wired into the client (no CLI) alchemy-mcp
Live agent work and neither is available install alchemy-cli and use alchemy-cli
Application code without an API key — autonomous agent paying per-request, or user explicitly wants x402/MPP agentic-gateway

Do not use this skill to run ad-hoc live queries from inside the agent session — that's the alchemy-cli / alchemy-mcp path. This skill is for code that ships.

Mandatory preflight gate

Before writing application code or making any network call:

  1. Confirm the user is building application code (not asking the agent to run a live query). If the user is asking for live work, redirect to alchemy-cli (preferred) or alchemy-mcp.
  2. Check $ALCHEMY_API_KEY is set (e.g. echo $ALCHEMY_API_KEY).
  3. If $ALCHEMY_API_KEY is unset or empty, take the first of these that applies:
    • CLI bridge (recommended if @alchemy/cli is installed locally): the CLI can fetch a key from the user's Alchemy account so they never have to leave the terminal. See Bridging from the CLI to an API key below.
    • Tell the user they can create a free API key at https://dashboard.alchemy.com/, or
    • Switch to the agentic-gateway skill (x402/MPP gateway, wallet-based auth, no API key needed).

Read the full file on GitHub · 281 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 281 lines · 163 tokens per session scan A 549eb7d87b67

Subscribe to this mod's changes

alchemy-api is a skill published in the GitHub repository alchemyplatform/alchemy-claude-plugin (6 stars, last pushed 2mo ago), licensed MIT. It adds 163 tokens to every session and 4,754 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 98% identical to alchemy-api, differing in 1 line, and is treated as a copy.

Related

Other skills, from other repositories

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

analyzing-ethereum-smart-contract-vulnerabilities

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

xalgorix/xalgorix · 49 tokens

developing-smart-contracts

Solidity smart contract development guidelines for Lineth blockchain. Use when writing, reviewing, or refactoring Solidity contracts, or when the user asks about Solidity best practices, contract structure, or NatSpec docstrings. Covers NatSpec documentation, naming conventions, file layout, and code style.

LFDT-Lineth/lineth-monorepo · 63 tokens

agent-uat

AI 에이전트가 마크다운 시나리오를 읽고 사용자와 인터랙티브하게 실행하여 WAIaaS 기능을 메인넷/테스트넷에서 검증하는 시스템이다.

waiaas/WAIaaS · 0 tokens

alchemy-agentic-gateway

Use when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features. Also use when the user mentions "SIWE", "SIWS", "x402", "MPP", "mppx", or "agentic gateway" — this skill covers wallet-based auth flows for Alchemy's x402 and MPP…

moonpay/skills · 101 tokens

alchemy-api

Integrates Alchemy blockchain APIs using an API key. Requires $ALCHEMYAPIKEY to be set; if unavailable, use the alchemy-agentic-gateway skill instead. Use when user asks about EVM JSON-RPC calls, token balances, NFT ownership or metadata, transfer history, token prices, portfolio data, transaction simulation…

moonpay/skills · 100 tokens