---
title: "Get a single activity by ID"
method: GET
path: "/v1/chains/{chain_name}/activities/{activity_id}"
tags: ["activities"]
---

# Get a single activity by ID

`GET /v1/chains/{chain_name}/activities/{activity_id}`

Get a single activity by ID

## Path parameters

- `chain_name` string, required — The name of chain
- `activity_id` string, uuid, required — Activity id in UUIDv4 format

## Response `200`

200 response

- GetActivityResult — Single activity
  - `result` Activity, required
    - `id` string, uuid, required — Activity id in UUIDv4 format
    - `chain` Chain, required — The chain details
      - `id` string, required — The id of chain
      - `name` string, required — The name of chain
    - `type` 'mint' | 'burn' | 'transfer' | 'sale' | 'deposit' | 'withdrawal', required — The activity type
    - `details` union, required — The activity details
      - Mint — The mint activity details
        - `to` string, required — The account address the asset was minted to
        - `amount` string, required — The minted amount
        - `asset` union, required — The contract and asset details for this activity
          - ActivityNFT
            - `contract_type` 'ERC721' | 'ERC1155', required — The contract type for an NFT
            - `contract_address` string, required — The token contract address
            - `token_id` string, required — An `uint256` token id as string
            - `amount` string, required — (deprecated - will never be filled, use amount on Activity instead) The amount of tokens exchanged
          - ActivityToken
            - `contract_type` 'ERC20', required — The contract type for a token
            - `contract_address` string, required — The contract address
      - Burn — The burn activity details
        - `from` string, required — The account address the asset was transferred from
        - `amount` string, required — The amount of assets burnt
        - `asset` union, required — The contract and asset details for this activity
          - ActivityNFT
            - `contract_type` 'ERC721' | 'ERC1155', required — The contract type for an NFT
            - `contract_address` string, required — The token contract address
            - `token_id` string, required — An `uint256` token id as string
            - `amount` string, required — (deprecated - will never be filled, use amount on Activity instead) The amount of tokens exchanged
          - ActivityToken
            - `contract_type` 'ERC20', required — The contract type for a token
            - `contract_address` string, required — The contract address
      - Transfer — The transfer activity details
        - `from` string, required — The account address the asset was transferred from
        - `to` string, required — The account address the asset was transferred to
        - `amount` string, required — The amount of assets transferred
        - `asset` union, required — The contract and asset details for this activity
          - ActivityNFT
            - `contract_type` 'ERC721' | 'ERC1155', required — The contract type for an NFT
            - `contract_address` string, required — The token contract address
            - `token_id` string, required — An `uint256` token id as string
            - `amount` string, required — (deprecated - will never be filled, use amount on Activity instead) The amount of tokens exchanged
          - ActivityToken
            - `contract_type` 'ERC20', required — The contract type for a token
            - `contract_address` string, required — The contract address
      - NFTSale — The NFT Sale activity details
        - `order_id` string, required — The id of order
        - `to` string, required — The account address of buyer
        - `from` string, required — The account address of seller
        - `asset` ActivityNFT[], required
          - `contract_type` 'ERC721' | 'ERC1155', required — The contract type for an NFT
          - `contract_address` string, required — The token contract address
          - `token_id` string, required — An `uint256` token id as string
          - `amount` string, required — (deprecated - will never be filled, use amount on Activity instead) The amount of tokens exchanged
        - `payment` SalePayment, required
          - `token` union, required — The type of payment token
            - ActivityToken
              - …
            - ActivityNativeToken
              - …
          - `price_excluding_fees` string, required — The base price of the sale not including any fees
          - `price_including_fees` string, required — The total price of the sale. Includes the sum of all fees
          - `fees` SaleFee[], required — The fees associated with this sale
            - `amount` string — Fee payable to recipient upon settlement
            - `type` 'ROYALTY' — Fee type
            - `recipient` string — Wallet address of fee recipient
      - Deposit — The deposit activity details
        - `to` string, required — The account address the asset was deposited to
        - `amount` string, required — The deposited amount
        - `asset` union, required — The contract and asset details for this activity
          - ActivityNFT
            - `contract_type` 'ERC721' | 'ERC1155', required — The contract type for an NFT
            - `contract_address` string, required — The token contract address
            - `token_id` string, required — An `uint256` token id as string
            - `amount` string, required — (deprecated - will never be filled, use amount on Activity instead) The amount of tokens exchanged
          - ActivityToken
            - `contract_type` 'ERC20', required — The contract type for a token
            - `contract_address` string, required — The contract address
      - Withdrawal — The withdrawal activity details
        - `from` string, required — The account address the asset was withdrawn from
        - `amount` string, required — The amount of assets withdrawn
        - `asset` union, required — The contract and asset details for this activity
          - ActivityNFT
            - `contract_type` 'ERC721' | 'ERC1155', required — The contract type for an NFT
            - `contract_address` string, required — The token contract address
            - `token_id` string, required — An `uint256` token id as string
            - `amount` string, required — (deprecated - will never be filled, use amount on Activity instead) The amount of tokens exchanged
          - ActivityToken
            - `contract_type` 'ERC20', required — The contract type for a token
            - `contract_address` string, required — The contract address
    - `updated_at` string, date-time, required — The time activity was updated at
    - `indexed_at` string, date-time, required — The time activity was indexed
    - `blockchain_metadata` BlockchainMetadata, nullable, required — The metadata related to blockchain transaction
      - `transaction_hash` string, required — The transaction hash of the activity
      - `block_number` string, required — EVM block number (uint64 as string)
      - `transaction_index` string, required — Transaction index in a block (uint32 as string)
      - `log_index` string, nullable, required — The log index of activity in a block (uint32 as string)

## Other responses

- `400` — Bad Request (400)
- `404` — The specified resource was not found (404)
- `500` — Internal Server Error (500)

---

[API](https://skmtc.dev/immutable/apis/immutable-zkevm-api.md) · [All operations](https://skmtc.dev/immutable/apis/immutable-zkevm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/immutable/immutable-zkevm-api/revisions/59f94155fcd0/schema)
