---
updatedAt: 2026-06-22T07:09:27.000Z
agentTools:
  projectIndex: https://element.readme.io/llms.txt
---

# Get contract info

This endpoint can be used to fetch contract information from the system

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Element Open API",
    "description": "OpenAPI 3.0 based swagger docs for Element Public API.</br></br>If you have questions, Please review <a href=\"https://docs.element.market/welcome-to-element/support/faq\">HelpCenter</a> for help, Or <a href=\"mailto:api@element.market\">Contact Us</a>.",
    "contact": {
      "name": "Element",
      "url": "https://element.market/",
      "email": ""
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.element.market",
      "description": "Mainnet API"
    }
  ],
  "security": [
    {
      "X-Api-Key": []
    }
  ],
  "tags": [
    {
      "name": "Contract"
    }
  ],
  "paths": {
    "/openapi/v1/contract": {
      "get": {
        "tags": [
          "Contract"
        ],
        "summary": "Get contract info",
        "description": "This endpoint can be used to fetch contract information from the system",
        "operationId": "contract",
        "parameters": [
          {
            "name": "chain",
            "in": "query",
            "description": "Chain Name, eth is default.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "eth",
                "bsc",
                "polygon",
                "arbitrum",
                "zksync",
                "linea",
                "starknet",
                "opbnb",
                "base",
                "manta_pacific",
                "mantle",
                "zkfair",
                "merlin",
                "mode",
                "cyber",
                "bob",
                "lightlink",
                "zeta",
                "nibiru",
                "bitlayer",
                "mantra",
                "monad",
                "ink",
                "robinhood"
              ]
            },
            "example": "eth"
          },
          {
            "name": "contract_address",
            "in": "query",
            "description": "The smart contract address.",
            "required": true,
            "schema": {
              "type": "string",
              "default": "0xed5af388653567af2f388e6224dc7c4b3241c544"
            },
            "example": "0xed5af388653567af2f388e6224dc7c4b3241c544"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponseContract"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BadRequestErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TooManyRequestsErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalServerErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BadRequestErrorResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "format": "int32",
            "example": 400
          },
          "error": {
            "type": "string",
            "example": "Bad Request"
          },
          "message": {
            "type": "string",
            "example": "Missing Header: X-api-key"
          },
          "path": {
            "type": "string",
            "example": "/openapi/v1/orders/list"
          }
        }
      },
      "TooManyRequestsErrorResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "format": "int32",
            "example": 429
          },
          "error": {
            "type": "string",
            "example": "Too Many Requests"
          },
          "message": {
            "type": "string",
            "example": "You have exhausted your API Request Quota"
          },
          "path": {
            "type": "string",
            "example": "/openapi/v1/orders/list"
          }
        }
      },
      "InternalServerErrorResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "format": "int32",
            "example": 500
          },
          "error": {
            "type": "string",
            "example": "Internal server error"
          }
        }
      },
      "Account": {
        "type": "object",
        "properties": {
          "identity": {
            "$ref": "#/components/schemas/Identity"
          }
        }
      },
      "ApiResponseContract": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "Error Code",
            "format": "int32"
          },
          "msg": {
            "type": "string",
            "description": "Error Message"
          },
          "data": {
            "$ref": "#/components/schemas/Contract"
          },
          "message": {
            "type": "string",
            "writeOnly": true
          }
        }
      },
      "BlockChain": {
        "type": "object",
        "properties": {
          "chain": {
            "type": "string",
            "description": "Chain name",
            "example": "eth"
          },
          "chainId": {
            "type": "string",
            "description": "Chain id",
            "example": "0x1"
          }
        },
        "description": "Chain information"
      },
      "Collection": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "description": "Collection name",
            "example": "Pulsquares"
          },
          "slug": {
            "type": "string",
            "description": "Collection slug",
            "example": "pulsquares"
          },
          "description": {
            "type": "string",
            "description": "Collection description",
            "example": "Pulsquares is an experimental generative math art NFT project."
          },
          "royalty": {
            "type": "integer",
            "description": "Copyright royalty",
            "format": "int32",
            "example": 500
          },
          "createDate": {
            "type": "string",
            "description": "createDate",
            "example": "2021-10-16T16:25:03.736944"
          },
          "royaltyAddress": {
            "type": "string",
            "description": "Royalty Address"
          },
          "platformSellerFee": {
            "type": "integer",
            "description": "Service charge charged by the platform",
            "format": "int32",
            "example": 200
          },
          "platformSellerAddress": {
            "type": "string",
            "description": "Service charge address by the platform"
          },
          "imageUrl": {
            "type": "string",
            "example": "https://storage.nfte.ai/asset/collection/featured/TKMJDIBVWCFDQHZEALWVKVURVDEYDNIQ.jpg"
          },
          "bannerImageUrl": {
            "type": "string",
            "example": "https://storage.nfte.ai/asset/collection/featured/OWPAGWDYWIZWUWABNKBQECDRDMWSGXYU.jpg"
          },
          "featuredImageUrl": {
            "type": "string",
            "example": "https://storage.nfte.ai/asset/collection/featured/GNBHNVFTMSNXMLTOVOYALMBNQZMCFAWW.jpg"
          },
          "externalUrl": {
            "type": "string",
            "example": "http://pulsquares.art"
          },
          "twitterUrl": {
            "type": "string",
            "example": "twitterUrl"
          },
          "instagramUrl": {
            "type": "string"
          },
          "facebookUrl": {
            "type": "string"
          },
          "mediumUrl": {
            "type": "string"
          },
          "telegramUrl": {
            "type": "string"
          },
          "discordUrl": {
            "type": "string"
          },
          "contracts": {
            "type": "array",
            "description": "Contract list about this collection",
            "items": {
              "$ref": "#/components/schemas/CollectionContract"
            }
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Account"
            }
          },
          "isVerified": {
            "type": "boolean",
            "example": true
          },
          "stats": {
            "$ref": "#/components/schemas/CollectionStats"
          }
        },
        "description": "The collection of this contract"
      },
      "CollectionContract": {
        "type": "object",
        "properties": {
          "blockChain": {
            "$ref": "#/components/schemas/BlockChain"
          },
          "address": {
            "type": "string",
            "description": "Contract address",
            "example": "0xa310425046661c523d98344f7e9d66b32195365d"
          },
          "alias": {
            "type": "string",
            "description": "Contract alias"
          },
          "category": {
            "$ref": "#/components/schemas/ContractCategory"
          }
        },
        "description": "Contract list about this collection"
      },
      "CollectionStats": {
        "type": "object",
        "properties": {
          "ownerCount": {
            "type": "integer",
            "description": "Total number of owners",
            "format": "int32"
          },
          "assetCount": {
            "type": "integer",
            "description": "Total number of asset",
            "format": "int32"
          }
        },
        "description": "Simple field Collection Stats"
      },
      "Contract": {
        "type": "object",
        "properties": {
          "createDate": {
            "type": "string"
          },
          "owner": {
            "type": "string",
            "description": "The owner of contract"
          },
          "collection": {
            "$ref": "#/components/schemas/Collection"
          }
        },
        "description": "Return data, Generic"
      },
      "ContractCategory": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "sort": {
            "type": "integer",
            "format": "int32"
          }
        },
        "description": "Contract category"
      },
      "Identity": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "blockChain": {
            "$ref": "#/components/schemas/BlockChain"
          }
        },
        "description": "Identification"
      }
    },
    "securitySchemes": {
      "X-Api-Key": {
        "type": "apiKey",
        "name": "X-Api-Key",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```