Skip to main content

Overview

Portal integrates with Merkle Science so you can screen addresses and transactions for compliance risk (sanctions, darknet markets, mixers, scams, and more) through Portal’s Client API, using your own Merkle Science account. Portal forwards each screen to Merkle Science with your API key and returns Merkle Science’s response unchanged. Portal doesn’t block or flag anything based on the result: you decide what a risk level means for your product, using the risk rules in your Merkle Science workspace.

Steps to enable the Portal Merkle Science integration

1. Get a Merkle Science API key

  • Contact Merkle Science to set up a workspace.
  • Create an API key in your Merkle Science workspace.
Keep your API key secure. You’ll paste it into Portal in the next step.

2. Enable the Merkle Science integration in Portal

  1. Open the Portal Dashboard.
  2. Navigate to the Integrations page.
  3. Find Merkle Science under Security & Compliance and add it.
  4. Paste your Merkle Science API key for the selected Portal environment and save.
Portal checks the key with Merkle Science when you save it, and rejects a key Merkle Science doesn’t accept. Once saved, Portal calls Merkle Science with this key from Portal’s servers, so you don’t embed it in your application.
Integrations are environment‑scoped. Repeat these steps per Portal environment, for example with a separate Merkle Science key for Development and Production.

Screen an address

Screen an address before your user sends funds to it.
Portal sends the client ID as Merkle Science’s customer_id, so each client’s screens appear under that ID in your Merkle Science dashboard.

Screen a transaction

Screen a transaction after it’s broadcast, for example a deposit your user received.

Response

Both endpoints return Merkle Science’s response as data. A shortened address screen:
risk_level runs from 0 (No Risk) to 5 (Critical). See Merkle Science’s address and transaction references for every field.

Supported chains

Pass chainId in CAIP-2 format. Portal supports: Any other chain returns a 400 without calling Merkle Science.

What to know before you go live

Each screen is a billed Merkle Science call. Any of your clients can call these endpoints with their client session once Merkle Science is enabled in an environment, so your users’ screens count toward your Merkle Science plan.
  • Risk levels follow your own Merkle Science rules. A risk level is the most severe rule that fires in your Merkle Science workspace, not a fixed score. With Merkle Science’s preloaded rules, busy addresses such as the USDC contract or a large exchange’s hot wallet can come back Critical, because they’ve transacted with sanctioned addresses. Review your risk rules in Merkle Science before acting on results.
  • Screened addresses follow your monitoring settings. Merkle Science may keep monitoring an address after you screen it, depending on your workspace’s monitoring settings. Merkle Science suggests turning monitoring off for trusted addresses such as exchange hot wallets, which raise alerts often.
  • Rate limits are per Merkle Science organization. Your limit is shared across your Merkle Science workspaces. Over the limit, Portal returns 429; retry with exponential backoff.
  • Results aren’t cached. Each call runs a new screen and returns Merkle Science’s current answer.

Errors

A rejected API key returns 400, not 401, so the SDKs don’t treat it as an expired Portal session. Check the key on the Integrations page.

API reference

Merkle Science API Reference

Open the Merkle Science endpoints reference.