Cost To Borrow

API TraderAPI QuantAPI Developer

Unlock a detailed view of the cost to borrow securities. This endpoint provides rich and actionable insights into the security lending fees associated with short selling and offers you a clear perspective on market behavior.

Available Data Points:

  • Date: Date for the Cost to Borrow data. (YYYY-MM-DD format).
  • Cost To Borrow: The average lending fees for all outstanding loans presented as an annual percentage rate.
  • Cost To Borrow New: The average lending fees for all new loans taken out in the last trading day presented as an annual percentage rate.

Try it out! You can test the API with the trial key TEST. Simply include it in your request headers; either here, or add the header "Ortex-Api-Key": "TEST" to your http request.

Trial key restrictions: Trial keys may be limited to a specific date range and set of regions. Requests outside the allowed regions or entirely outside the allowed date range are rejected; a date window that partially overlaps the allowed range is trimmed to it, reported in meta.restriction.

Get full access! Get a key at app.ortex.com/apis

Path Params
string
required

Exchange symbol (e.g. "nyse", "nasdaq"), MIC code (e.g. "xnys", "xnas") or two character ISO country code (e.g "us", "ca" for ALL country exchanges)

string
required

Ticker symbol

Query Params
string
enum
Defaults to json

Response format. "json" (default) or "csv".

Allowed:
date
required

Inclusive start of the returned date window. Format: YYYY-MM-DD.

integer

Page number within the paginated result set. Must be >= 1. Defaults to 1.

integer

Number of rows per page. The default and the maximum allowed depend on the API tier; values above the tier maximum are clamped down to it.

date

Inclusive end of the returned date window (defaults to today). Format: YYYY-MM-DD.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/csv