> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blockscout.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List verified smart contracts with optional filtering options

> Retrieves a paginated list of verified smart contracts with optional filtering by proxy status or programming language.



## OpenAPI

````yaml /openapi-specs/pro-api-v11.yaml get /v2/smart-contracts/
openapi: 3.0.0
info:
  contact:
    email: info@blockscout.com
  title: Blockscout
  version: 11.0.3
servers:
  - url: http://localhost/api
    variables: {}
security: []
tags:
  - name: blocks
  - name: transactions
  - name: addresses
  - name: internal-transactions
  - name: tokens
  - name: token-transfers
  - name: smart-contracts
  - name: config
  - name: main-page
  - name: search
  - name: stats
  - name: csv-export
  - name: account-abstraction
  - name: withdrawals
  - name: advanced-filters
  - name: arbitrum
  - name: legacy
  - name: optimism
  - name: mud
  - name: celo
  - name: scroll
  - name: zilliqa
paths:
  /v2/smart-contracts/:
    get:
      tags:
        - smart-contracts
      summary: List verified smart contracts with optional filtering options
      description: >-
        Retrieves a paginated list of verified smart contracts with optional
        filtering by proxy status or programming language.
      operationId: BlockScoutWeb.API.V2.SmartContractController.smart_contracts_list
      parameters:
        - description: API key for rate limiting or for sensitive endpoints
          in: query
          name: apikey
          required: false
          schema:
            type: string
            x-struct: null
            x-validate: null
        - description: Secret key for getting access to restricted resources
          in: query
          name: key
          required: false
          schema:
            type: string
            x-struct: null
            x-validate: null
        - description: |
            Sort results by:
            * balance - Sort by account balance
            * transactions_count - Sort by number of transactions
            Should be used together with `order` parameter.
          in: query
          name: sort
          required: false
          schema:
            enum:
              - balance
              - transactions_count
            type: string
            x-struct: null
            x-validate: null
        - description: |
            Sort order:
            * asc - Ascending order
            * desc - Descending order
            Should be used together with `sort` parameter.
          in: query
          name: order
          required: false
          schema:
            enum:
              - asc
              - desc
            type: string
            x-struct: null
            x-validate: null
        - description: Search query filter
          in: query
          name: q
          required: false
          schema:
            nullable: true
            type: string
            x-struct: null
            x-validate: null
        - description: Filter to apply
          in: query
          name: filter
          required: false
          schema:
            $ref: '#/components/schemas/Language'
        - description: Smart-contract ID for paging
          in: query
          name: smart_contract_id
          required: false
          schema:
            type: integer
            x-struct: null
            x-validate: null
        - description: Coin balance for paging
          in: query
          name: coin_balance
          required: false
          schema:
            anyOf:
              - type: integer
                x-struct: null
                x-validate: null
              - $ref: '#/components/schemas/EmptyString'
              - $ref: '#/components/schemas/NullString'
            x-struct: null
            x-validate: null
        - description: Address hash for paging
          in: query
          name: hash
          required: false
          schema:
            $ref: '#/components/schemas/AddressHash'
        - description: Transactions count for paging
          in: query
          name: transactions_count
          required: false
          schema:
            anyOf:
              - type: integer
                x-struct: null
                x-validate: null
              - $ref: '#/components/schemas/EmptyString'
              - $ref: '#/components/schemas/NullString'
            x-struct: null
            x-validate: null
        - description: Number of items returned per page
          in: query
          name: items_count
          required: false
          schema:
            maximum: 50
            minimum: 1
            type: integer
            x-struct: null
            x-validate: null
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                nullable: false
                properties:
                  items:
                    items:
                      $ref: '#/components/schemas/SmartContract'
                    nullable: false
                    type: array
                    x-struct: null
                    x-validate: null
                  next_page_params:
                    example:
                      items_count: 50
                      smart_contract_id: 1947801
                    nullable: true
                    type: object
                    x-struct: null
                    x-validate: null
                required:
                  - items
                  - next_page_params
                type: object
                x-struct: null
                x-validate: null
          description: >-
            List of verified smart contracts matching the filter criteria, with
            pagination.
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonErrorResponse'
          description: Unprocessable Entity
      callbacks: {}
components:
  schemas:
    Language:
      enum:
        - solidity
        - vyper
        - yul
        - geas
        - stylus_rust
      title: Language
      type: string
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.SmartContract.Language
      x-validate: null
    EmptyString:
      maxLength: 0
      minLength: 0
      title: EmptyString
      type: string
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.EmptyString
      x-validate: null
    NullString:
      pattern: ^null$
      title: NullString
      type: string
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.NullString
      x-validate: null
    AddressHash:
      nullable: false
      pattern: ^0x([A-Fa-f0-9]{40})$
      title: AddressHash
      type: string
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.AddressHash
      x-validate: null
    SmartContract:
      additionalProperties: false
      description: Smart contract
      properties:
        constructor_args:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        package_name:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        is_partially_verified:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        is_changed_bytecode:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        abi:
          items:
            type: object
            x-struct: null
            x-validate: null
          nullable: true
          type: array
          x-struct: null
          x-validate: null
        conflicting_implementations:
          items:
            type: object
            x-struct: null
            x-validate: null
          nullable: true
          type: array
          x-struct: null
          x-validate: null
        certified:
          type: boolean
          x-struct: null
          x-validate: null
        additional_sources:
          items:
            properties:
              file_path:
                type: string
                x-struct: null
                x-validate: null
              source_code:
                type: string
                x-struct: null
                x-validate: null
            type: object
            x-struct: null
            x-validate: null
          nullable: true
          type: array
          x-struct: null
          x-validate: null
        is_verified_via_sourcify:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        can_be_visualized_via_sol2uml:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        evm_version:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        language:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        address:
          $ref: '#/components/schemas/Address'
        is_verified_via_eth_bytecode_db:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        coin_balance:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        is_fully_verified:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        license_type:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        is_blueprint:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        name:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        creation_bytecode:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        external_libraries:
          items:
            properties:
              address_hash:
                $ref: '#/components/schemas/AddressHash'
              name:
                nullable: true
                type: string
                x-struct: null
                x-validate: null
            type: object
            x-struct: null
            x-validate: null
          nullable: true
          type: array
          x-struct: null
          x-validate: null
        market_cap:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        proxy_type:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        implementations:
          items:
            properties:
              address_hash:
                $ref: '#/components/schemas/AddressHash'
              name:
                nullable: true
                type: string
                x-struct: null
                x-validate: null
            type: object
            x-struct: null
            x-validate: null
          nullable: true
          type: array
          x-struct: null
          x-validate: null
        verified_at:
          format: date-time
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        is_verified_via_verifier_alliance:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        compiler_version:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        decoded_constructor_args:
          items:
            items:
              anyOf:
                - type: object
                  x-struct: null
                  x-validate: null
                - type: string
                  x-struct: null
                  x-validate: null
              x-struct: null
              x-validate: null
            type: array
            x-struct: null
            x-validate: null
          nullable: true
          type: array
          x-struct: null
          x-validate: null
        sourcify_repo_url:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        optimization_runs:
          nullable: true
          type: integer
          x-struct: null
          x-validate: null
        compiler_settings:
          nullable: true
          type: object
          x-struct: null
          x-validate: null
        verification_metadata:
          nullable: true
          type: object
          x-struct: null
          x-validate: null
        github_repository_metadata:
          nullable: true
          type: object
          x-struct: null
          x-validate: null
        is_verified:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        reputation:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        verified_twin_address_hash:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        optimization_enabled:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        deployed_bytecode:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        source_code:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        transactions_count:
          nullable: true
          type: integer
          x-struct: null
          x-validate: null
        creation_status:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        file_path:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        has_constructor_args:
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
      title: SmartContract
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.SmartContract
      x-validate: null
    JsonErrorResponse:
      properties:
        errors:
          items:
            properties:
              detail:
                example: null value where string expected
                type: string
                x-struct: null
                x-validate: null
              source:
                properties:
                  pointer:
                    example: /data/attributes/petName
                    type: string
                    x-struct: null
                    x-validate: null
                required:
                  - pointer
                type: object
                x-struct: null
                x-validate: null
              title:
                example: Invalid value
                type: string
                x-struct: null
                x-validate: null
            required:
              - title
              - source
              - detail
            type: object
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      required:
        - errors
      title: JsonErrorResponse
      type: object
      x-struct: Elixir.OpenApiSpex.JsonErrorResponse
      x-validate: null
    Address:
      additionalProperties: false
      description: Address
      properties:
        ens_domain_name:
          description: ENS domain name associated with the address
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        hash:
          $ref: '#/components/schemas/AddressHash'
        implementations:
          description: Implementations linked with the contract
          items:
            $ref: '#/components/schemas/Implementation'
          type: array
          x-struct: null
          x-validate: null
        is_contract:
          description: Has address contract code?
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        is_scam:
          description: Has address scam badge?
          nullable: false
          type: boolean
          x-struct: null
          x-validate: null
        is_verified:
          description: Has address associated source code?
          nullable: true
          type: boolean
          x-struct: null
          x-validate: null
        metadata:
          allOf:
            - $ref: '#/components/schemas/Metadata'
          nullable: true
          x-struct: null
          x-validate: null
        name:
          description: Name associated with the address
          nullable: true
          type: string
          x-struct: null
          x-validate: null
        private_tags:
          description: Private tags associated with the address
          items:
            $ref: '#/components/schemas/Tag'
          type: array
          x-struct: null
          x-validate: null
        proxy_type:
          $ref: '#/components/schemas/ProxyType'
        public_tags:
          description: Public tags associated with the address
          items:
            $ref: '#/components/schemas/Tag'
          type: array
          x-struct: null
          x-validate: null
        reputation:
          description: Reputation of the address
          enum:
            - ok
            - scam
          nullable: false
          type: string
          x-struct: null
          x-validate: null
        watchlist_names:
          description: Watchlist name associated with the address
          items:
            $ref: '#/components/schemas/WatchlistName'
          type: array
          x-struct: null
          x-validate: null
      required:
        - hash
        - is_contract
        - name
        - is_scam
        - reputation
        - proxy_type
        - implementations
        - is_verified
        - ens_domain_name
        - metadata
      title: Address
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.Address
      x-validate: null
    Implementation:
      additionalProperties: false
      description: Proxy smart contract implementation
      properties:
        address_hash:
          $ref: '#/components/schemas/AddressHash'
        name:
          nullable: true
          type: string
          x-struct: null
          x-validate: null
      required:
        - address_hash
        - name
      title: Implementation
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.Implementation
      x-validate: null
    Metadata:
      additionalProperties: false
      description: Metadata struct
      properties:
        tags:
          description: Metadata tags linked with the address
          items:
            $ref: '#/components/schemas/MetadataTag'
          type: array
          x-struct: null
          x-validate: null
      required:
        - tags
      title: Metadata
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.Proxy.Metadata
      x-validate: null
    Tag:
      additionalProperties: false
      description: Address tag struct
      properties:
        address_hash:
          $ref: '#/components/schemas/AddressHash'
        display_name:
          nullable: false
          type: string
          x-struct: null
          x-validate: null
        label:
          nullable: false
          type: string
          x-struct: null
          x-validate: null
      required:
        - address_hash
        - display_name
        - label
      title: Tag
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.Tag
      x-validate: null
    ProxyType:
      enum:
        - eip1167
        - eip1967
        - eip1822
        - eip1967_oz
        - eip1967_beacon
        - master_copy
        - basic_implementation
        - basic_get_implementation
        - comptroller
        - eip2535
        - clone_with_immutable_arguments
        - eip7702
        - resolved_delegate_proxy
        - erc7760
      nullable: true
      title: ProxyType
      type: string
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.ProxyType
      x-validate: null
    WatchlistName:
      additionalProperties: false
      description: Watchlist name struct
      properties:
        display_name:
          nullable: false
          type: string
          x-struct: null
          x-validate: null
        label:
          nullable: false
          type: string
          x-struct: null
          x-validate: null
      required:
        - display_name
        - label
      title: WatchlistName
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.WatchlistName
      x-validate: null
    MetadataTag:
      additionalProperties: false
      description: Metadata tag struct
      properties:
        meta:
          nullable: false
          type: object
          x-struct: null
          x-validate: null
        name:
          nullable: false
          type: string
          x-struct: null
          x-validate: null
        ordinal:
          nullable: false
          type: integer
          x-struct: null
          x-validate: null
        slug:
          nullable: false
          type: string
          x-struct: null
          x-validate: null
        tagType:
          nullable: false
          type: string
          x-struct: null
          x-validate: null
      required:
        - slug
        - name
        - tagType
        - ordinal
        - meta
      title: MetadataTag
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.Proxy.MetadataTag
      x-validate: null

````