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

# Screen an address

> Screens an address with Merkle Science using your Merkle Science API key and returns
Merkle Science's response as `data`. Each call is a billed Merkle Science screen.

Portal sends the client ID as Merkle Science's `customer_id`, so screens appear per
client in your Merkle Science dashboard. The risk level comes from the risk rules in
your Merkle Science workspace, and the address is monitored according to your
workspace's monitoring settings.




## OpenAPI

````yaml /openapi/client-api.yaml post /clients/me/integrations/merkle-science/addresses
openapi: 3.1.0
info:
  title: Portal Client API
  version: '3.0'
  description: >
    The Portal Client API provides endpoints for managing wallets, building
    transactions,

    and interacting with blockchain networks. All endpoints require
    authentication via a

    Client API Key or Client Session Token (CST) passed as a Bearer token.


    ## Base URL

    `https://api.portalhq.io/api/v3`


    ## Authentication

    Include your Client API Key or Client Session Token as a Bearer token in the

    `Authorization` header of every request.


    ## Chain ID Format

    Chain parameters use either friendly names (e.g. `ethereum`, `solana`) or
    CAIP-2 format

    (e.g. `eip155:1`, `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`). When using
    CAIP-2 format

    in URLs, ensure the colon is URI-encoded (`%3A`).


    ## Support requests

    Every response carries an `X-Trace-Id` header. Include it when you contact
    support about a

    request, so Portal can find that exact request in its logs.
servers:
  - url: https://api.portalhq.io/api/v3
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Clients
    description: Core client management endpoints
  - name: Wallet
    description: >-
      Read wallet state — balances, NFTs, transaction history, capabilities, and
      transaction details
  - name: Transactions
    description: Build, broadcast, and evaluate blockchain transactions
  - name: Funding
    description: Fund wallets with testnet tokens
  - name: Wallet Shares
    description: Manage signing and backup share pairs
  - name: Delegations
    description: Manage token approvals, revocations, and delegated transfers
  - name: Session Keys
    description: Manage EIP-7702 session keys for smart accounts
  - name: 0x
    description: Token swap endpoints powered by the 0x protocol
  - name: Yield.xyz
    description: Yield opportunities and staking actions powered by Yield.xyz
  - name: Yield.xyz Borrow
    description: >-
      Supply collateral, borrow, repay and withdraw from lending markets (Aave
      V3, Morpho Blue, SparkLend, Lista) powered by Yield.xyz Borrow
  - name: Yield.xyz Perps
    description: >-
      Trade perpetual futures — open/close leveraged positions, manage
      stop-loss/take-profit, and fund/withdraw a trading account — powered by
      Yield.xyz Perps
  - name: Agg
    description: >-
      Prediction markets across venues (Polymarket, Kalshi and more) through one
      Agg account per client — powered by Agg
  - name: Li.Fi
    description: Cross-chain swaps and bridging powered by Li.Fi
  - name: CCTP
    description: >-
      Crosschain USDC transfers powered by Circle's Cross-Chain Transfer
      Protocol (CCTP)
  - name: Blockaid
    description: Transaction and address security scanning powered by Blockaid
  - name: Hypernative
    description: >-
      Transaction, address, token, and NFT security scanning powered by
      Hypernative
  - name: Merkle Science
    description: >-
      Address and transaction screening for sanctions and illicit activity
      powered by Merkle Science
  - name: Noah
    description: KYC onboarding, payins, and payouts powered by Noah
  - name: Meld
    description: Buy and sell crypto with fiat through aggregated providers powered by Meld
  - name: Due
    description: Payins, payouts, virtual accounts, and FX powered by Due
  - name: EIP-7702
    description: EIP-7702 account type detection and authorization management
  - name: Deprecated
    description: >-
      Legacy endpoints scheduled for removal. Use the newer equivalents listed
      in each endpoint's description.
paths:
  /clients/me/integrations/merkle-science/addresses:
    post:
      tags:
        - Merkle Science
      summary: Screen an address
      description: >
        Screens an address with Merkle Science using your Merkle Science API key
        and returns

        Merkle Science's response as `data`. Each call is a billed Merkle
        Science screen.


        Portal sends the client ID as Merkle Science's `customer_id`, so screens
        appear per

        client in your Merkle Science dashboard. The risk level comes from the
        risk rules in

        your Merkle Science workspace, and the address is monitored according to
        your

        workspace's monitoring settings.
      operationId: screenAddressMerkleScience
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MerkleScienceScreenAddressRequest'
      responses:
        '200':
          description: Merkle Science's screening result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MerkleScienceScreeningResponse'
        '400':
          description: >-
            Invalid body, a chain Merkle Science doesn't cover, Merkle Science
            not enabled in this environment, a Merkle Science API key Merkle
            rejects, or a request Merkle can't screen.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: >-
            Your Merkle Science organization's rate limit was reached. Retry
            with exponential backoff.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Merkle Science is unavailable or timed out.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    MerkleScienceScreenAddressRequest:
      type: object
      required:
        - chainId
        - address
      properties:
        chainId:
          type: string
          description: >-
            CAIP-2 chain ID. Supported: Ethereum (`eip155:1`), Sepolia
            (`eip155:11155111`), BNB Smart Chain (`eip155:56`), Polygon
            (`eip155:137`), Optimism (`eip155:10`), Arbitrum (`eip155:42161`),
            Avalanche C-Chain (`eip155:43114`), Base (`eip155:8453`), Linea
            (`eip155:59144`), Solana (`solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`
            or `solana:mainnet`), Tron (`tron:mainnet`), Stellar
            (`stellar:pubnet`) and Bitcoin
            (`bip122:000000000019d6689c085ae165831e93-p2wpkh`). Any other chain
            returns 400.
          example: eip155:1
        address:
          type: string
          description: The address to screen.
          example: '0x1234567890abcdef1234567890abcdef12345678'
    MerkleScienceScreeningResponse:
      type: object
      properties:
        data:
          type: object
          additionalProperties: true
          description: >-
            Merkle Science's response, unchanged. See Merkle Science's
            [address](https://docs.merklescience.com/reference/create-or-view-address)
            and
            [transaction](https://docs.merklescience.com/reference/create-or-view-transaction)
            references for every field.
          properties:
            identifier:
              type: string
              description: The screened address or transaction hash.
            blockchain:
              type: integer
              description: Merkle Science's chain code.
            risk_level:
              type: integer
              description: 0 No Risk, 1 Info, 2 Caution, 3 Medium, 4 High, 5 Critical.
            risk_level_verbose:
              type: string
              example: Critical
            originator:
              type: array
              description: Counterparties funds came from, with their tags and exposure.
              items:
                type: object
                additionalProperties: true
            beneficiary:
              type: array
              description: Counterparties funds went to, with their tags and exposure.
              items:
                type: object
                additionalProperties: true
            tags:
              type: object
              additionalProperties: true
              description: Address screens only. Merkle Science's owner and user tags.
            customer_id:
              type: string
              description: Address screens only. The Portal client ID.
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message describing what went wrong
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >
        Client API Key or Client Session Token (CST). Pass as a Bearer token in
        the

        Authorization header.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.