How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Backpack Borrow Lend API

Borrowing and lending.

Backpack Borrow Lend API is one of 15 APIs that Backpack publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 5 JSON Schema definitions.

Tagged areas include Borrow Lend. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, a changelog, a JSON-LD context, an AsyncAPI specification, and 5 JSON Schemas.

This API exposes 6 operations across 6 paths, and defines 19 schemas. It is described by OpenAPI 3.0.0, at version 1.0.

Requests are made against a single base URL, https://api.backpack.exchange.

6 operations 6 paths 19 schemas 5 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0
Base URL
https://api.backpack.exchange
License
Proprietary
Resource Areas
1

Paths & Operations 6

Across 6 paths, the API surfaces 6 operations — 5 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Borrow Lend 6

Borrowing and lending.

GET
/api/v1/borrowLend/positions
Get borrow lend positions.
get_borrow_lend_positions 4 params → 200400500
GET
/api/v1/borrowLend/position/liquidationPrice
Get estimated liquidation price.
get_borrow_lend_estimated_liquidation_price 2 params → 200400401500
POST
/api/v1/borrowLend
Execute borrow lend.
execute_borrow_lend 4 params body → 200400500503
GET
/wapi/v1/history/borrowLend
Get borrow history.
get_borrow_lend_history 11 params → 200400401500
GET
/wapi/v1/history/interest
Get interest history.
get_interest_history 11 params → 200400401500
GET
/wapi/v1/history/borrowLend/positions
Get borrow position history.
get_borrow_lend_position_history 10 params → 200400401500

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are BorrowLendPositionWithMargin (12 properties), BorrowLendPositionRow (8 properties), InterestPayment (8 properties), BorrowLendMovement (8 properties). Each schema is shown below with its type and property counts.

ApiErrorResponse
object
2 properties 2 required
BorrowLendMovement
object
8 properties 6 required
BorrowLendPositionWithMargin
object
12 properties 12 required
CustodyAsset
string
BorrowLendSource
string
PositionImfFunction_SqrtFunction
PositionEstimatedLiquidationPrice
object
2 properties 2 required
InterestPayment
object
8 properties 8 required
BorrowLendPositionState
string
BorrowLendPositionRow
object
8 properties 8 required
BorrowLendSide
string
BorrowLendEventType
string
ApiErrorCode
string
PositionImfFunction
object
SqrtFunction
object
2 properties 2 required
BorrowLendExecutePayload
object
3 properties 3 required
PaymentType
string
InterestPaymentSource
string
SortDirection
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

backpack-borrow-lend-api-openapi.yml Raw ↑

Other APIs Backpack publishes across the network.

Backpack Wallet
Backpack Account API
Backpack Assets API
Backpack Borrow Lend Markets API
Backpack Capital API
Backpack Markets API
Backpack Order API
Backpack Position API
Backpack RFQ API
Backpack Strategy API
Backpack System API
Backpack Trades API
Where this information came from

This is an independent, third-party profile of Backpack Borrow Lend API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.