# Crypto Transaction AI Analyzer (`muhammetakkurtt/crypto-transaction-ai-analyzer`) Actor

Unlock AI-powered insights into any blockchain transaction. Get detailed analysis, summaries, and breakdowns for transactions on Ethereum, Bitcoin, Solana, and more. An affordable alternative to premium analytics like Arkham AI for decoding complex DeFi flows, swaps and transfers — instantly.

- **URL**: https://apify.com/muhammetakkurtt/crypto-transaction-ai-analyzer.md
- **Developed by:** [Muhammet Akkurt](https://apify.com/muhammetakkurtt) (community)
- **Categories:** AI, Developer tools, Other
- **Stats:** 30 total users, 2 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 ai analysis saveds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Crypto Transaction AI Analyzer

Crypto Transaction AI Analyzer is a powerful AI-powered analysis tool developed for the Apify platform. An affordable alternative to Arkham AI, it automatically analyzes blockchain transactions using an advanced on-chain AI system, providing detailed AI-generated insights, breakdowns, and summaries for any transaction hash across multiple blockchain networks.

### Why Should You Use Crypto Transaction AI Analyzer?

Crypto Transaction AI Analyzer saves you hours by automating transaction analysis using one of the most advanced blockchain AI systems available. This tool provides you with access to institutional-grade AI-powered transaction insights and offers the following advantages:

- **AI-Powered Analysis**: Get detailed AI-generated transaction breakdowns, summaries, and insights
- **Multi-Blockchain Support**: Works across Bitcoin, Ethereum, Solana, Tron, Dogecoin, TON, Base, Arbitrum, Sonic, Optimism, Mantle, Avalanche, BNB Chain, Linea, Polygon, Blast, Manta, and Flare networks
- **Batch Processing**: Analyze multiple transaction hashes simultaneously
- **Comprehensive Transaction Intelligence**: Understand transaction flows, token swaps, arbitrage operations, and more

### Features

- AI-powered transaction analysis using an advanced on-chain AI system
- Supports multiple transaction hashes simultaneously
- Comprehensive transaction hash validation for 18+ blockchain networks
- Stores analyzed data in Apify data storage with export options (JSON, CSV, Excel)
- Automatic transaction hash format validation and normalization

### AI Analysis Output Types

#### 1. Transaction Title
AI-generated title that summarizes the key aspects of the transaction, including involved tokens, transaction type (e.g., arbitrage, swap, transfer), and key participants.

#### 2. Transaction Summary
Comprehensive AI-generated narrative summary explaining what happened in the transaction, including detailed explanations of token flows, amounts, addresses involved, and the overall transaction strategy.

#### 3. Transaction Breakdown
Detailed step-by-step breakdown of all transaction components, including individual transfers, swaps, contract interactions, and fee payments. Each step is explained with context and relevant details.

### Use Cases

- **Transaction Intelligence**: Understand complex transaction flows and strategies using AI analysis
- **DeFi Operation Analysis**: Analyze arbitrage, swap, and yield farming transactions
- **Security Research**: Investigate suspicious transactions and understand attack vectors
- **Trading Strategy Research**: Study successful trading patterns and arbitrage opportunities
- **Compliance & Investigations**: Get detailed transaction breakdowns for compliance purposes
- **Multi-Chain Analysis**: Analyze transactions across 18+ blockchain networks
- **Educational Purposes**: Learn about blockchain transactions through AI-powered explanations

### Usage

1. Run this actor in the Apify console.
2. Provide the required inputs:
   - **transactionHashes**: Transaction hashes to analyze (supports multiple hashes)
   - **proxyConfiguration**: Proxy configuration for reliable access

#### Example Input

```json
{
  "transactionHashes": [
    "0x7312cb6b97e39bca7f422d4bad85bbb2e5bfc9ac8124c8ae4bf3fd602a9131c2"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}
````

### Output Data Structure

The AI analysis returns structured data for each transaction hash. All outputs include the transaction hash and AI-generated analysis components, saved to the Apify dataset.

#### AI Transaction Analysis Output

```json
{
  "transaction_hash": "0x7312cb6b97e39bca7f422d4bad85bbb2e5bfc9ac8124c8ae4bf3fd602a9131c2",
  "title": [
    {
      "type": "component",
      "value": {
        "component": "amount",
        "usdValue": 5.98454550972246
      }
    },
    {
      "type": "text",
      "value": "Arbitrage"
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "lombard-staked-btc",
        "tokenSymbol": "LBTC",
        "address": "0x8236a87084f8B84306f72007F36F2618A5634494"
      }
    },
    {
      "type": "text",
      "value": "⇌"
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "wrapped-bitcoin",
        "tokenSymbol": "WBTC",
        "address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
      }
    },
    {
      "type": "text",
      "value": "⇌"
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "coinbase-wrapped-btc",
        "tokenSymbol": "CBBTC",
        "address": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf"
      }
    },
    {
      "type": "text",
      "value": "&"
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "lombard-staked-btc",
        "tokenSymbol": "LBTC",
        "address": "0x8236a87084f8B84306f72007F36F2618A5634494"
      }
    },
    {
      "type": "text",
      "value": "⇌"
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "weth",
        "tokenSymbol": "WETH",
        "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
      }
    }
  ],
  "summary": [
    {
      "type": "text",
      "value": "This transaction is an arbitrage executed by"
    },
    {
      "type": "component",
      "value": {
        "component": "address",
        "address": "0xB1Cc2fDaF96346d5cd2d09feC45D9Ea2cDb6be1B"
      }
    },
    {
      "type": "text",
      "value": ", involving"
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "lombard-staked-btc",
        "tokenSymbol": "LBTC",
        "address": "0x8236a87084f8B84306f72007F36F2618A5634494"
      }
    },
    {
      "type": "text",
      "value": ","
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "wrapped-bitcoin",
        "tokenSymbol": "WBTC",
        "address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
      }
    },
    {
      "type": "text",
      "value": ","
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "coinbase-wrapped-btc",
        "tokenSymbol": "CBBTC",
        "address": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf"
      }
    },
    {
      "type": "text",
      "value": ", and"
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "weth",
        "tokenSymbol": "WETH",
        "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
      }
    },
    {
      "type": "text",
      "value": ". The arbitrageur first swapped"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "tokenAmount": 1.01261725,
        "usdValue": 117179.05555275
      }
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "lombard-staked-btc",
        "tokenSymbol": "LBTC",
        "address": "0x8236a87084f8B84306f72007F36F2618A5634494"
      }
    },
    {
      "type": "text",
      "value": "for"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "tokenAmount": 1.01183813,
        "usdValue": 114629.11807144
      }
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "wrapped-bitcoin",
        "tokenSymbol": "WBTC",
        "address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
      }
    },
    {
      "type": "text",
      "value": "on"
    },
    {
      "type": "component",
      "value": {
        "component": "address",
        "address": "0x0b599ebf4E05af48b56D38E2DDe520570C366460"
      }
    },
    {
      "type": "text",
      "value": ", then swapped"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "tokenAmount": 1.01183813,
        "usdValue": 114629.11807144
      }
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "wrapped-bitcoin",
        "tokenSymbol": "WBTC",
        "address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
      }
    },
    {
      "type": "text",
      "value": "for"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "tokenAmount": 1.0135992,
        "usdValue": 114742.4702376
      }
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "coinbase-wrapped-btc",
        "tokenSymbol": "CBBTC",
        "address": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf"
      }
    },
    {
      "type": "text",
      "value": "on"
    },
    {
      "type": "component",
      "value": {
        "component": "address",
        "address": "0xe8f7c89C5eFa061e340f2d2F206EC78FD8f7e124"
      }
    },
    {
      "type": "text",
      "value": ". Additionally,"
    },
    {
      "type": "component",
      "value": {
        "component": "address",
        "address": "0xB1Cc2fDaF96346d5cd2d09feC45D9Ea2cDb6be1B"
      }
    },
    {
      "type": "text",
      "value": "swapped"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "tokenAmount": 0.00032974,
        "usdValue": 38.15718306
      }
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "lombard-staked-btc",
        "tokenSymbol": "LBTC",
        "address": "0x8236a87084f8B84306f72007F36F2618A5634494"
      }
    },
    {
      "type": "text",
      "value": "for"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "tokenAmount": 0.00772917266534398,
        "usdValue": 37.0228143587243
      }
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "weth",
        "tokenSymbol": "WETH",
        "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
      }
    },
    {
      "type": "text",
      "value": "on"
    },
    {
      "type": "component",
      "value": {
        "component": "address",
        "address": "0xc13E4BCbB9d8Da61C61d2C2Fc9eC32386Ff9C962"
      }
    },
    {
      "type": "text",
      "value": ", and unwrapped"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "tokenAmount": 0.00772917266534398,
        "usdValue": 37.163176134327
      }
    },
    {
      "type": "component",
      "value": {
        "component": "token",
        "tokenId": "ethereum",
        "tokenSymbol": "ETH",
        "address": ""
      }
    },
    {
      "type": "text",
      "value": "from the"
    },
    {
      "type": "component",
      "value": {
        "component": "address",
        "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
      }
    },
    {
      "type": "text",
      "value": "contract. The total revenue generated from this arbitrage was"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "usdValue": 37.0228143587301
      }
    },
    {
      "type": "text",
      "value": ", with"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "usdValue": 3.35877204272912
      }
    },
    {
      "type": "text",
      "value": "in transaction fees and a"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "usdValue": 27.6794968062785
      }
    },
    {
      "type": "text",
      "value": "tip paid to"
    },
    {
      "type": "component",
      "value": {
        "component": "entity",
        "entityId": "titan-builder",
        "entityName": "Titan Builder"
      }
    },
    {
      "type": "text",
      "value": ", resulting in a final profit of"
    },
    {
      "type": "component",
      "value": {
        "component": "amount",
        "usdValue": 5.98454550972246
      }
    },
    {
      "type": "text",
      "value": "."
    }
  ],
  "breakdown": [
    [
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xC052907AFf18334c9b67D630981ECEAcBf8A411E"
        }
      },
      {
        "type": "text",
        "value": "sent"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 5,
          "usdValue": 2.404085
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "ethereum",
          "tokenSymbol": "ETH",
          "address": ""
        }
      },
      {
        "type": "text",
        "value": "to"
      },
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xB1Cc2fDaF96346d5cd2d09feC45D9Ea2cDb6be1B"
        }
      }
    ],
    [
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
        }
      },
      {
        "type": "text",
        "value": "sent"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 0.00772917266534398,
          "usdValue": 37.163176134327
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "ethereum",
          "tokenSymbol": "ETH",
          "address": ""
        }
      },
      {
        "type": "text",
        "value": "to"
      },
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xB1Cc2fDaF96346d5cd2d09feC45D9Ea2cDb6be1B"
        }
      }
    ],
    [
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xB1Cc2fDaF96346d5cd2d09feC45D9Ea2cDb6be1B"
        }
      },
      {
        "type": "text",
        "value": "sent"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 0.0057567633437001,
          "usdValue": 27.6794968062785
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "ethereum",
          "tokenSymbol": "ETH",
          "address": ""
        }
      },
      {
        "type": "text",
        "value": "to"
      },
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97"
        }
      }
    ],
    [
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xB1Cc2fDaF96346d5cd2d09feC45D9Ea2cDb6be1B"
        }
      },
      {
        "type": "text",
        "value": "sent"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 0.00197240932164388,
          "usdValue": 9.48367932804847
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "ethereum",
          "tokenSymbol": "ETH",
          "address": ""
        }
      },
      {
        "type": "text",
        "value": "to"
      },
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xC052907AFf18334c9b67D630981ECEAcBf8A411E"
        }
      }
    ],
    [
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xB1Cc2fDaF96346d5cd2d09feC45D9Ea2cDb6be1B"
        }
      },
      {
        "type": "text",
        "value": "sent"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 1.0135992,
          "usdValue": 114742.4702376
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "coinbase-wrapped-btc",
          "tokenSymbol": "CBBTC",
          "address": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf"
        }
      },
      {
        "type": "text",
        "value": "to"
      },
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0x52Aa899454998Be5b000Ad077a46Bbe360F4e497"
        }
      }
    ],
    [
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0x52Aa899454998Be5b000Ad077a46Bbe360F4e497"
        }
      },
      {
        "type": "text",
        "value": "sent"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 1.01294699,
          "usdValue": 117217.21273581
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "lombard-staked-btc",
          "tokenSymbol": "LBTC",
          "address": "0x8236a87084f8B84306f72007F36F2618A5634494"
        }
      },
      {
        "type": "text",
        "value": "to"
      },
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xB1Cc2fDaF96346d5cd2d09feC45D9Ea2cDb6be1B"
        }
      }
    ],
    [
      {
        "type": "text",
        "value": "Swapped"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 1.01183813,
          "usdValue": 114629.11807144
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "wrapped-bitcoin",
          "tokenSymbol": "WBTC",
          "address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
        }
      },
      {
        "type": "text",
        "value": "⇌"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 1.0135992,
          "usdValue": 114742.4702376
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "coinbase-wrapped-btc",
          "tokenSymbol": "CBBTC",
          "address": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf"
        }
      },
      {
        "type": "text",
        "value": "on"
      },
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xe8f7c89C5eFa061e340f2d2F206EC78FD8f7e124"
        }
      }
    ],
    [
      {
        "type": "text",
        "value": "Swapped"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 1.01261725,
          "usdValue": 117179.05555275
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "lombard-staked-btc",
          "tokenSymbol": "LBTC",
          "address": "0x8236a87084f8B84306f72007F36F2618A5634494"
        }
      },
      {
        "type": "text",
        "value": "⇌"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 1.01183813,
          "usdValue": 114629.11807144
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "wrapped-bitcoin",
          "tokenSymbol": "WBTC",
          "address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
        }
      },
      {
        "type": "text",
        "value": "on"
      },
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0x0b599ebf4E05af48b56D38E2DDe520570C366460"
        }
      }
    ],
    [
      {
        "type": "text",
        "value": "Swapped"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 0.00032974,
          "usdValue": 38.15718306
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "lombard-staked-btc",
          "tokenSymbol": "LBTC",
          "address": "0x8236a87084f8B84306f72007F36F2618A5634494"
        }
      },
      {
        "type": "text",
        "value": "⇌"
      },
      {
        "type": "component",
        "value": {
          "component": "amount",
          "tokenAmount": 0.00772917266534398,
          "usdValue": 37.0228143587243
        }
      },
      {
        "type": "component",
        "value": {
          "component": "token",
          "tokenId": "weth",
          "tokenSymbol": "WETH",
          "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
        }
      },
      {
        "type": "text",
        "value": "on"
      },
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xc13E4BCbB9d8Da61C61d2C2Fc9eC32386Ff9C962"
        }
      }
    ],
    [
      {
        "type": "component",
        "value": {
          "component": "address",
          "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
        }
      },
      {
        "type": "text",
        "value": "invoked"
      },
      {
        "type": "component",
        "value": {
          "component": "instruction",
          "instruction": "Withdrawal"
        }
      }
    ]
  ]
}
```

### Notes

- The collected data is stored in Apify's default data store.

***

> **Disclaimer:** This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Arkham Intelligence, Inc. or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

# Actor input Schema

## `transactionHashes` (type: `array`):

Transaction hashes to analyze (you can enter multiple transaction hashes). Returns detailed AI-powered transaction analysis including breakdown, summary, and insights.

## `proxyConfiguration` (type: `object`):

Using a proxy is recommended for faster and more reliable results

## Actor input object example

```json
{
  "transactionHashes": [
    "0x7312cb6b97e39bca7f422d4bad85bbb2e5bfc9ac8124c8ae4bf3fd602a9131c2"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Crypto transaction analysis data (title, summary, breakdown) stored in the default dataset

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "transactionHashes": [
        "0x7312cb6b97e39bca7f422d4bad85bbb2e5bfc9ac8124c8ae4bf3fd602a9131c2"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("muhammetakkurtt/crypto-transaction-ai-analyzer").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "transactionHashes": ["0x7312cb6b97e39bca7f422d4bad85bbb2e5bfc9ac8124c8ae4bf3fd602a9131c2"] }

# Run the Actor and wait for it to finish
run = client.actor("muhammetakkurtt/crypto-transaction-ai-analyzer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "transactionHashes": [
    "0x7312cb6b97e39bca7f422d4bad85bbb2e5bfc9ac8124c8ae4bf3fd602a9131c2"
  ]
}' |
apify call muhammetakkurtt/crypto-transaction-ai-analyzer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=muhammetakkurtt/crypto-transaction-ai-analyzer",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Crypto Transaction AI Analyzer",
        "description": "Unlock AI-powered insights into any blockchain transaction. Get detailed analysis, summaries, and breakdowns for transactions on Ethereum, Bitcoin, Solana, and more. An affordable alternative to premium analytics like Arkham AI for decoding complex DeFi flows, swaps and transfers — instantly.",
        "version": "0.0",
        "x-build-id": "5wm4UGKlu3hU9Z7kB"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/muhammetakkurtt~crypto-transaction-ai-analyzer/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-muhammetakkurtt-crypto-transaction-ai-analyzer",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/muhammetakkurtt~crypto-transaction-ai-analyzer/runs": {
            "post": {
                "operationId": "runs-sync-muhammetakkurtt-crypto-transaction-ai-analyzer",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/muhammetakkurtt~crypto-transaction-ai-analyzer/run-sync": {
            "post": {
                "operationId": "run-sync-muhammetakkurtt-crypto-transaction-ai-analyzer",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "transactionHashes"
                ],
                "properties": {
                    "transactionHashes": {
                        "title": "Transaction Hashes",
                        "type": "array",
                        "description": "Transaction hashes to analyze (you can enter multiple transaction hashes). Returns detailed AI-powered transaction analysis including breakdown, summary, and insights.",
                        "default": [
                            "0x7312cb6b97e39bca7f422d4bad85bbb2e5bfc9ac8124c8ae4bf3fd602a9131c2"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Using a proxy is recommended for faster and more reliable results",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": []
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
