marginfi website screenshot

marginfi

marginfi is a decentralized borrowing and lending protocol built on the Solana blockchain by mrgn labs. Users lend supported Solana tokens to earn yield and borrow against supplied collateral, with account-health, e-mode, liquid staking token (LST), and leveraged looping (mrgnloop) products layered on top of the core mrgnlend market. marginfi exposes no hosted REST API — developers integrate on-chain through the marginfi-v2 Solana program using the official TypeScript SDK (marginfi-client-v2, mrgn-common) and the Rust (CLI) SDK, with an early-alpha Python SDK (marginpy) and a Rust CPI interface crate also published. It was surfaced through the API Evangelist network as a portfolio company of Multicoin Capital and Pantera Capital.

marginfi is profiled on the APIs.io network. Tagged areas include Company, Crypto Web3, DeFi, Solana, and Lending.

marginfi’s developer surface includes documentation, API reference, getting-started guide, signup flow, CLI, and 7 more developer resources.

19.2/100 emerging ▬ flat Agent 0/100 human only saas Full breakdown ↓
scored 2026-08-30 · rubric v0.17.2
0 APIs
CompanyCrypto Web3DeFiSolanaLendingBorrowingBlockchainSDK

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-30 · rubric v0.17.2
Composite quality — 19.2/100 · emerging
Contract Quality 0.0 / 25
Developer Ergonomics 10.5 / 20
Access Clarity 2.6 / 20
Operational Transparency 0.3 / 13
Contract Governance 0.0 / 12
Discoverability 5.7 / 10
Agent readiness — 0/100 · human only
Machine-Readable Contract 0 / 18
Agentic Access Contract 0 / 10
Documented Reversibility 0 / 6
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 0 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Delegated User Identity 0 / 6
Protected Resource Metadata 0 / 5
Registration Without a Human 0 / 6
Agentic Commerce Surface 0 / 5
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/marginfi: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Marginfi Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Resources

Get Started 3

Portal, sign-up, and the first successful call

Documentation 2

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 4

SDKs, sample code, and the tooling you integrate with

Access & Security 1

Authentication, authorization, and security posture

Company 1

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: marginfi
name: marginfi
description: marginfi is a decentralized borrowing and lending protocol built on the Solana blockchain by mrgn labs. Users
  lend supported Solana tokens to earn yield and borrow against supplied collateral, with account-health, e-mode, liquid staking
  token (LST), and leveraged looping (mrgnloop) products layered on top of the core mrgnlend market. marginfi exposes no hosted
  REST API — developers integrate on-chain through the marginfi-v2 Solana program using the official TypeScript SDK (marginfi-client-v2,
  mrgn-common) and the Rust (CLI) SDK, with an early-alpha Python SDK (marginpy) and a Rust CPI interface crate also published.
  It was surfaced through the API Evangelist network as a portfolio company of Multicoin Capital and Pantera Capital.
url: https://raw.githubusercontent.com/api-evangelist/marginfi/refs/heads/main/apis.yml
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: false
  label: Hosted service · you call their endpoint
  confidence: medium
  source:
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: unknown
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Unknown
  confidence: low
  source: []
  generated: '2026-07-22'
  method: derived
image: https://docs.marginfi.com/opengraph-image.jpg
x-type: company
x-source: vc-portfolio
x-backed-by:
- multicoin-capital
- pantera-capital
x-tier: stub
x-tier-reason: portfolio-lead
specificationVersion: '0.23'
created: '2026-07-17'
modified: '2026-07-20'
tags:
- Company
- Crypto Web3
- DeFi
- Solana
- Lending
- Borrowing
- Blockchain
- SDK
apis: []
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
- FN: APIs.json
  email: info@apis.io
common:
- type: Website
  url: https://marginfi.com
- type: DeveloperPortal
  url: https://docs.marginfi.com
- type: Documentation
  url: https://docs.marginfi.com
- type: APIReference
  url: https://docs.marginfi.com/ts-sdk
- type: GettingStarted
  url: https://docs.marginfi.com/introduction
- type: GitHubOrganization
  url: https://github.com/mrgnlabs
- type: SignUp
  url: https://app.marginfi.com
- type: Packages
  url: packages/marginfi-packages.yml
- type: SDKs
  url: packages/marginfi-packages.yml
- type: CLI
  url: cli/marginfi-cli.yml
- type: LLMsTxt
  url: llms/marginfi-llms.txt
- type: DomainSecurity
  url: security/marginfi-domain-security.yml
x-enrichment:
  date: '2026-07-20'
  status: enriched
  artifacts_added: 4
  pass: local-v1

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/marginfi"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/marginfi/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/marginfi/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.