Xpersona
A

Alchemy Official

CLAWHUB · Unverified

Access Alchemy's multi-chain APIs for tokens, NFTs, transfers, prices, portfolios, simulations, webhooks, and Solana via API key or agentic gateway. Skill: Alchemy Official Owner: sahilaujla Summary: Access Alchemy's multi-chain APIs for tokens, NFTs, transfers, prices, portfolios, simulations, webhooks, and Solana via API key or agentic gateway. Tags: latest:1.1.2 Version history: v1.1.2 | 2026-03-30T22:03:21.718Z | user Re-publish with clean metadata to fix search indexing v1.1.1 | 2026-03-27T21:10:09.032Z | user Fix 'Create a free API key' link: www.dashboard.

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s171m2az6mjz6k9vg7s6bcvb7183g8ss:alchemy-official
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sahilaujla-alchemy-official/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

156,275 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: alchemy-official
description: "Official Alchemy skill. Two auth modes: API key or x402 Agentic Gateway (no key needed). Complete coverage for ~100 chains: Token API, NFT API, Transfers, Prices, Portfolio, Simulation, Webhooks, Solana, and JSON-RPC. 82 reference docs + x402 gateway rules."
version: 1.0.0
author: alchemyplatform
homepage: https://github.com/alchemyplatform/skills
license: MIT
tags:
  - alchemy
  - blockchain
  - infrastructure
  - multi-chain
  - tokens
  - nfts
  - prices
  - transfers
  - portfolio
  - webhooks
  - solana
  - evm
  - x402
  - agentic-gateway
  - siwe
  - official
triggers:
  - "alchemy"
  - "blockchain data"
  - "token balances"
  - "nft"
  - "transfer history"
  - "token prices"
  - "portfolio"
  - "on-chain"
config:
  ALCHEMY_API_KEY:
    required: false
    description: "Alchemy API key (get one free at https://dashboard.alchemy.com). If not set, uses the x402 Agentic Gateway instead (no key needed, pays per request with USDC)."
metadata:
  openclaw:
    emoji: "⚗️"
    primaryEnv: ALCHEMY_API_KEY
    homepage: https://www.alchemy.com
    primaryEnv: ALCHEMY_API_KEY
    homepage: https://www.alchemy.com
---
# AI + Alchemy API Integration Guide

## Summary
A self-contained guide for AI agents integrating Alchemy APIs using an API key. This file alone should be enough to ship a basic integration. Use the reference files for depth, edge cases, and advanced workflows.

## Before Making Any Request

1. Check if `$ALCHEMY_API_KEY` is set (e.g., `echo $ALCHEMY_API_KEY`).
2. If **not set**, do NOT proceed with API-key URLs. **Use the `agentic-gateway` skill instead** — it requires no API key.
3. If set, use the Base URLs + Auth table below.

## Do This First
1. Choose the right product using the Endpoint Selector below.
2. Use the Base URLs + Auth table for the correct endpoint and headers.
3. Copy a Quickstart example and test against a testnet first.

## Base URLs + Auth (Cheat Sheet)
| Product | Base URL | Auth | Notes |
| --- | --- | --- | --- |
| Ethereum RPC (HTTPS) | `https://eth-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY` | API key in URL | Standard EVM reads and writes. |
| Ethereum RPC (WSS) | `wss://eth-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY` | API key in URL | Subscriptions and realtime. |
| Base RPC (HTTPS) | `https://base-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY` | API key in URL | EVM L2. |
| Base RPC (WSS) | `wss://base-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY` | API key in URL | Subscriptions and realtime. |
| Arbitrum RPC (HTTPS) | `https://arb-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY` | API key in URL | EVM L2. |
| Arbitrum RPC (WSS) | `wss://arb-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY` | API key in URL | Subscriptions and realtime. |
| BNB RPC (HTTPS) | `https://bnb-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY` | API key in URL | EVM L1. |
| BNB RPC (WSS) | `wss://bnb-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY` | API key in URL | Subscriptions and realtime. |
| Solana RPC (HTTPS) | `ht

_meta.json

{
  "ownerId": "kn7e2rhje1r9khwxwkqz1z9m8n83hzj1",
  "slug": "alchemy-official",
  "version": "1.1.2",
  "publishedAt": 1774908201718
}

references/data-nft-api.md

---
id: references/data-nft-api.md
name: 'NFT API'
description: 'Query NFT ownership, metadata, collections, and contract-level info via Alchemy''s NFT REST APIs.'
tags:
  - alchemy
  - data-apis
  - data
related:
  - recipes-get-nft-ownership.md
  - recipes-get-nft-metadata.md
updated: 2026-02-23
---
# NFT API

Query NFT ownership, metadata, collections, and contract-level info. REST endpoints (GET).

**Base URL**: `https://<network>.g.alchemy.com/nft/v3/$ALCHEMY_API_KEY`

**Supported chains**: Ethereum, Base, Polygon, Arbitrum, Optimism, BNB, and testnets.

---

## `GET /getNFTsForOwner`

Returns all NFTs owned by a given address.

### Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `owner` | string (query) | Yes | — | Wallet address |
| `contractAddresses[]` | string[] (query) | No | — | Filter by contract addresses (max 45) |
| `withMetadata` | boolean (query) | No | `true` | Include metadata in response |
| `orderBy` | string (query) | No | — | `"transferTime"` to sort by acquisition time |
| `excludeFilters[]` | string[] (query) | No | — | `"SPAM"`, `"AIRDROPS"` |
| `includeFilters[]` | string[] (query) | No | — | `"SPAM"`, `"AIRDROPS"` |
| `spamConfidenceLevel` | string (query) | No | — | `"VERY_HIGH"`, `"HIGH"`, `"MEDIUM"`, `"LOW"` |
| `tokenUriTimeoutInMs` | integer (query) | No | — | Timeout for token URI resolution |
| `pageKey` | string (query) | No | — | Pagination cursor |
| `pageSize` | integer (query) | No | `100` | Results per page (max 100) |

### Request

```bash
curl -s "https://eth-mainnet.g.alchemy.com/nft/v3/$ALCHEMY_API_KEY/getNFTsForOwner?owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&withMetadata=true&pageSize=2"
```

### Response

```json
{
  "ownedNfts": [
    {
      "contract": {
        "address": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
        "name": "BoredApeYachtClub",
        "symbol": "BAYC",
        "totalSupply": "10000",
        "tokenType": "ERC721",
        "contractDeployer": "0xaba7161a7fb69c88e16ed9f455ce62b791ee4d03",
        "deployedBlockNumber": 12287507,
        "openSeaMetadata": {
          "collectionName": "Bored Ape Yacht Club",
          "collectionSlug": "boredapeyachtclub",
          "safelistRequestStatus": "verified",
          "imageUrl": "https://...",
          "description": "...",
          "floorPrice": 10.5
        },
        "isSpam": false,
        "spamClassifications": []
      },
      "tokenId": "1234",
      "tokenType": "ERC721",
      "name": "Bored Ape #1234",
      "description": "...",
      "tokenUri": "ipfs://Qm.../1234",
      "image": {
        "cachedUrl": "https://nft-cdn.alchemy.com/...",
        "thumbnailUrl": "https://nft-cdn.alchemy.com/...",
        "pngUrl": "https://nft-cdn.alchemy.com/...",
        "contentType": "image/png",
        "size": 123456,
        "originalUrl": "ipfs://..."
      },
      "animation": {
        "cachedUrl": null,
        "contentType": null,

references/data-overview.md

---
id: references/data-overview.md
name: data-apis
description: Higher-level Alchemy APIs for asset discovery, wallet analytics, transfer history, NFT data, and token pricing. Use when you need indexed blockchain data without raw RPC log scanning, including token balances, NFT ownership, portfolio views, price feeds, and transaction simulation.
tags: []
related: []
updated: 2026-02-14
metadata:
  author: alchemyplatform
  version: "1.0"
---
# Data APIs

## Summary
Higher-level APIs for asset discovery, wallet analytics, transfer history, and pricing. These are optimized for analytics use cases and reduce the need for raw RPC log scanning.

## References (Recommended Order)
1. [data-token-api.md](data-token-api.md) - Token balances and token metadata for wallets and contracts.
2. [data-portfolio-apis.md](data-portfolio-apis.md) - Consolidated wallet views (tokens/NFTs/summary).
3. [data-transfers-api.md](data-transfers-api.md) - Transfer history and indexed movement data.
4. [data-nft-api.md](data-nft-api.md) - NFT ownership, metadata, and collection queries.
5. [data-prices-api.md](data-prices-api.md) - Token price data for current and historical pricing.
6. [data-simulation-api.md](data-simulation-api.md) - Pre-execution simulation for risk checks.

## How to Use This Skill
- Prefer these APIs when you want asset analytics or historical data without maintaining a custom indexer.
- If you need real-time updates, pair with the `webhooks` skill.

## Agentic Gateway
Most Data APIs are also available via the Agentic Gateway (`https://x402.alchemy.com/...`) without an API key.
See the `agentic-gateway` skill for SIWE authentication and x402 payment setup.

## Cross-References
- `node-apis` skill → `node-enhanced-apis.md` for related RPC-style endpoints.
- `recipes` skill for end-to-end workflows.
- `agentic-gateway` skill for easy agent access to Alchemy's developer platform.

## Official Docs
- [Data APIs Overview](https://www.alchemy.com/docs/reference/data-overview)

references/data-portfolio-apis.md

---
id: references/data-portfolio-apis.md
name: 'Portfolio APIs'
description: 'Portfolio APIs provide consolidated wallet views (tokens, NFTs, and transaction history) across multiple networks in single requests.'
tags:
  - alchemy
  - data-apis
  - data
related:
  - data-token-api.md
  - data-nft-api.md
  - data-transfers-api.md
  - recipes-get-portfolio.md
updated: 2026-02-23
---
# Portfolio APIs

Consolidated wallet views (tokens, NFTs, transaction history) across multiple networks in single requests. All endpoints are `POST` with JSON bodies.

**Base URL**: `https://api.g.alchemy.com/data/v1/$ALCHEMY_API_KEY`

**Supported chains** (in `networks` array): `eth-mainnet`, `base-mainnet`, `polygon-mainnet`, `arb-mainnet`, `opt-mainnet`, `sol-mainnet`, and more.

---

## `POST /assets/tokens/by-address`

Returns fungible tokens (native + ERC-20 + SPL) with balances, prices, and metadata for one or more wallets across multiple networks.

### Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `addresses` | array | Yes | — | Wallet/network pairs (max 2 addresses, max 5 networks each) |
| `addresses[].address` | string | Yes | — | Wallet address |
| `addresses[].networks` | string[] | Yes | — | Network slugs to query |
| `withMetadata` | boolean | No | `true` | Include token metadata (name, symbol, decimals, logo) |
| `withPrices` | boolean | No | `true` | Include token prices |
| `includeNativeTokens` | boolean | No | `true` | Include native tokens (ETH, MATIC, etc.) |
| `includeErc20Tokens` | boolean | No | `true` | Include ERC-20 tokens |
| `pageKey` | string | No | — | Pagination cursor |

### Request

```bash
curl -s -X POST "https://api.g.alchemy.com/data/v1/$ALCHEMY_API_KEY/assets/tokens/by-address" \
  -H "Content-Type: application/json" \
  -d '{
    "addresses": [{
      "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
      "networks": ["eth-mainnet", "base-mainnet", "arb-mainnet"]
    }]
  }'
```

### Response

```json
{
  "data": {
    "tokens": [
      {
        "network": "eth-mainnet",
        "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
        "tokenAddress": null,
        "tokenBalance": "0x000000000000000000000000000000000000000000000001bdd951817729c4f9",
        "tokenMetadata": {
          "symbol": null,
          "decimals": null,
          "name": null,
          "logo": null
        },
        "tokenPrices": [
          {
            "currency": "usd",
            "value": "1970.69",
            "lastUpdatedAt": "2025-06-01T12:00:00Z"
          }
        ]
      },
      {
        "network": "eth-mainnet",
        "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
        "tokenAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "tokenBalance": "0x000000000000000000000000000000000000000000000000000000003b9aca00",
        "tokenMetadata": {
          "name": "USD Coin",
          "symbol": "USDC",
          "decimals

Sponsored

Ads related to Alchemy Official and adjacent AI workflows.