Developers

Build on Surf with APIs, source code and integration support.

API

REST endpoints for markets, pools, positions, rates and protocol stats. This is the same data that powers the Surf app and the Analytics page.

surflending.org/api-docs
API reference

Open source

The V1 smart contracts are open source and audited. V2 contracts (written in Aiken) will be open-sourced at a later date, alongside the audit reports on the Security page.

GitHub

Docs

Protocol documentation: pool types, interest model, orders and batchers, liquidations, migration, and the full glossary.

Read the docs
Building an integration?For wallets, aggregators, dashboards or bots, open a ticket in Discord. We will help with endpoints, test data and direct access to the team.

Ready to Surf?