Skip to main content

Base URL

https://api.sprinter.tech

OpenAPI Specification

The full machine-readable API spec is available for AI agents, code generators, and API clients:
Point your AI agent or code generator at the OpenAPI spec to auto-generate a client in any language.

Endpoints

Info

EndpointDescription
GET /credit/protocolProtocol configuration — supported chains, collateral assets, LTV ratios, earn strategies
GET /credit/accounts/{account}/infoAccount credit position — capacity, debt, health factor
GET /credit/accounts/{account}/collateralCollateral asset details
GET /credit/accounts/{account}/operatorOperator status for delegated draws

Actions

EndpointDescription
GET /credit/accounts/{account}/lockBuild calldata to lock collateral
GET /credit/accounts/{account}/unlockBuild calldata to unlock collateral
GET /credit/accounts/{account}/drawBuild calldata to draw (borrow) credit
GET /credit/accounts/{account}/repayBuild calldata to repay debt

Advanced

Response Format

All transaction-building endpoints return unsigned calldata:
{
  "calls": [
    {
      "chain": "8453",
      "to": "0x...",
      "data": "0x...",
      "value": "0"
    }
  ]
}
Sign and broadcast each ContractCall in the user’s wallet. No API keys needed for on-chain operations.