Everything You Need To Know About MetaMask Institutional’s APIs

MetaMask Institutional's (MMI) APIs provide organizations with powerful tools to programmatically manage web3 portfolios and access DeFi data

by Rizvi HaiderJune 14, 2024
MetaMask Insitutional DeFil APIs

MetaMask Institutional (MMI) is excited to introduce our powerful suite of APIs, designed to provide organizations with unparalleled access to their web3 portfolio data. Our APIs offer a range of features, including the ability to programmatically retrieve snapshots, transaction history, and accurate profit and loss (P&L) and performance-related data on accounts across Ethereum and Solana.

By leveraging our APIs, organizations can streamline their portfolio management processes, enhance data indexing for efficient retrieval, and gain deep insights into their DeFi investments to make informed, strategic decisions. They allow organizations to access as in-depth of information as we currently provide through the portfolio dashboard. In this blog post, we'll walk you through the step-by-step process of gaining access to our APIs. At the end, we have included a list of frequently asked questions (FAQs).

MMI-APIs Guide-1

First, to gain access to our APIs, an organization must have completed the MMI onboarding process. Upon successful onboarding, users will be directed to the main portfolio dashboard page. To view the API offering, navigate to the "API tab" located in the top navigation bar.

MMI-APIs Guide-2

On the API page, we provide users with detailed information about our API offering. Proceeding to the next step, users can choose between two tiers: the base tier and the enterprise tier. If an organization requires higher quota limits, more favorable rate limits, or lower overage fees than those provided in the base tier, please contact us, and we will work with you to create a customized enterprise package that meets your specific needs.

MMI-APIs Guide-3

After selecting a tier and agreeing to the terms and conditions, users will be taken to the next screen, where they can easily access their API keys and view their current monthly usage. To access our comprehensive API documentation, simply click on the button located in the top right corner of the screen.

MMI-APIs Guide-4

Our API documentation provides a detailed description of each endpoint. On the left side of the documentation, we have organized the endpoints into four main categories: Account, DeFi, Snapshots, and Transactions. Before users can start utilizing the endpoints, they must first add their accounts to their organization by using the 'save several addresses' endpoint within the Accounts section.

After successfully adding the desired accounts, users can then request snapshots, transaction history, or DeFi data for those specific accounts. This allows for a more targeted and efficient approach to retrieving the necessary information for portfolio management and analysis.

MMI-APIs Guide-5

Start leveraging the power of MMI's APIs today and take your web3 portfolio management to the next level. For more information, check out our API FAQs or contact your sales representative or our customer support team.


Q1: What functionalities do your APIs offer? A1: Our APIs provide a comprehensive suite of endpoints that support operations such as taking snapshots, generating transaction histories, and retrieving profit and loss (P&L) along with performance data for accounts on Ethereum and Solana. We prioritize high reliability and performance, delivering minimal latency and maintaining a robust uptime of 99.99% to ensure uninterrupted service.

Q2: What is the pricing for your API services? A2: Our base tier is available at a cost of $99 and can be added to your existing MMI subscription. For standalone use of our APIs with enhanced quota limits, please contact us for more details.

Q3: Is it possible to exceed my quota limit on API requests? A3: Yes, you can exceed the defined quota. We apply an overage fee for any requests that surpass your quota limit. Please contact us for more details.

Q4: How and when am I billed for the API usage? A4: Billing occurs at the end of each month. We will send you an invoice that includes the total number of API requests made during the month and charges for any additional MMI services utilized.

Q5: Which blockchains are supported? A5: Our snapshots endpoint currently supports all EVM-compatible chains and Solana. For other endpoints, such as transaction history and DeFi positions, we currently offer support for EVM-compatible chains only. We plan to add support for additional chains in the future.

Q6: How do you calculate the P&L of a position? A6: Our DeFi position and profit endpoints are powered by our community-built DeFi adapters, which are part of our open-source DeFi adapter library. By using these adapters, we can fetch the underlying assets and respective balances that make up an LP position and compute the P&L for different time periods.

Receive our Newsletter