Documentation Index
Fetch the complete documentation index at: https://docs.sprinter.tech/llms.txt
Use this file to discover all available pages before exploring further.
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
| Endpoint | Description |
|---|
GET /credit/protocol | Protocol configuration — supported chains, collateral assets, LTV ratios, earn strategies |
GET /credit/accounts/{account}/info | Account credit position — capacity, debt, health factor |
GET /credit/accounts/{account}/collateral | Collateral asset details |
GET /credit/accounts/{account}/operator | Operator status for delegated draws |
Actions
| Endpoint | Description |
|---|
GET /credit/accounts/{account}/lock | Build calldata to lock collateral |
GET /credit/accounts/{account}/unlock | Build calldata to unlock collateral |
GET /credit/accounts/{account}/draw | Build calldata to draw (borrow) credit |
GET /credit/accounts/{account}/repay | Build calldata to repay debt |
Advanced
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.