---
title: "Get contract by address"
method: GET
path: "/v1/contracts/{address}"
tags: ["Contracts"]
---

# Get contract by address

`GET /v1/contracts/{address}`

Returns a contract account with the specified address.

## Path parameters

- `address` string, required

## Response `200`

- Contract
  - `id` integer — Internal TzKT id. **[sortable]**
  - `type` string — Type of the account, `contract` - smart contract programmable account.
  - `address` string, required — Public key hash of the contract
  - `kind` string, required — Kind of the contract (`delegator_contract` or `smart_contract`), where `delegator_contract` - manager.tz smart contract for delegation purpose only.
  - `tzips` string[], nullable — List of implemented standards (TZIPs).
  - `alias` string, nullable — Name of the project behind the contract or contract description.
  - `balance` integer — Contract balance (micro tez). **[sortable]**
  - `creator` Alias, required
    - `alias` string, nullable — Account alias name (off-chain data).
    - `address` string, required — Account address (public key hash).
  - `delegate` DelegateInfo
    - `alias` string, nullable — Name of the baking service
    - `address` string, required — Public key hash of the delegate (baker)
    - `active` boolean — Delegation status (`true` - active, `false` - deactivated)
  - `delegationLevel` integer, nullable — Block height of latest delegation. `null` if it's not delegated.
  - `delegationTime` string, date-time, nullable — Block datetime of latest delegation (ISO 8601, e.g. `2020-02-20T02:40:57Z`). `null` if it's not delegated.
  - `numContracts` integer — Number of contracts, created (originated) and/or managed by the contract.
  - `tokensCount` integer — Number of tokens minted in the contract.
  - `activeTokensCount` integer — Number of account tokens with non-zero balances.
  - `tokenBalancesCount` integer — Number of tokens the account ever had.
  - `tokenTransfersCount` integer — Number of token transfers from/to the account.
  - `ticketsCount` integer — Number of tickets minted in the contract.
  - `activeTicketsCount` integer — Number of tickets the account owns.
  - `ticketBalancesCount` integer — Number of tickets the account ever owned.
  - `ticketTransfersCount` integer — Number of ticket transfers from/to the account.
  - `numDelegations` integer — Number of delegation operations of the contract.
  - `numOriginations` integer — Number of origination (deployment / contract creation) operations, related the contract.
  - `numTransactions` integer — Number of transaction (transfer) operations, related to the contract. **[sortable]**
  - `numReveals` integer — Number of reveal (is used to reveal the public key associated with an account) operations of the contract.
  - `numMigrations` integer — Number of migration (result of the context (database) migration during a protocol update) operations. related to the contract (synthetic type).
  - `transferTicketCount` integer — Number of transfer ticket operations related to the contract.
  - `increasePaidStorageCount` integer — Number of `increase_paid_storage` operations related to the contract.
  - `eventsCount` integer — Number of events produced by the contract.
  - `firstActivity` integer — Block height of the contract creation. **[sortable]**
  - `firstActivityTime` string, date-time — Block datetime of the contract creation (ISO 8601, e.g. `2020-02-20T02:40:57Z`).
  - `lastActivity` integer — Height of the block in which the account state was changed last time. **[sortable]**
  - `lastActivityTime` string, date-time — Datetime of the block in which the account state was changed last time (ISO 8601, e.g. `2020-02-20T02:40:57Z`).
  - `typeHash` integer — 32-bit hash of the contract parameter and storage types. This field can be used for searching similar contracts (which have the same interface).
  - `codeHash` integer — 32-bit hash of the contract code. This field can be used for searching same contracts (which have the same script).
  - `metadata` unknown
  - `extras` unknown
  - `storage` unknown

---

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