## Get Locate Rate

`v1.locates.get_locate_rate_by_id(InstrumentIDOrSymbolinstrument_id)  -> LocateGetLocateRateByIDResponse`

**get** `/v1/locates/rates/{instrument_id}`

Fetch the cached locate borrow rate for one instrument. Rates refresh
periodically; `404` means no rate is currently cached for the instrument.

### Parameters

- `instrument_id: InstrumentIDOrSymbol`

  Instrument identifier: either an instrument UUID or a symbol (symbol for equities, OSI for options). Non-UUID inputs are resolved server-side.

### Returns

- `class LocateGetLocateRateByIDResponse: …`

  - `data: LocateRate`

    A locate borrow rate for an instrument.

    - `instrument_id: str`

      Instrument id the rate applies to.

    - `rate: str`

      Borrow rate, expressed as a decimal (e.g. 0.037012 for 3.7012%).

    - `as_of: Optional[datetime]`

      When the rate was requested from the locates venue.

### Example

```python
from clearstreet import ClearStreet

client = ClearStreet(
    api_key="My API Key",
)
response = client.v1.locates.get_locate_rate_by_id(
    "x",
)
print(response)
```

#### Response

```json
{
  "metadata": {
    "request_id": "request_id",
    "next_page_token": "U3RhaW5sZXNzIHJvY2tz",
    "page_number": 1,
    "previous_page_token": "U3RhaW5sZXNzIHJvY2tz",
    "total_items": 42,
    "total_pages": 5
  },
  "error": {
    "code": 400,
    "message": "Order quantity must be greater than zero",
    "details": [
      {
        "foo": "bar"
      }
    ]
  },
  "data": {
    "instrument_id": "528ec5c3-cdbf-447c-b995-ec6c83cfbc02",
    "rate": "0.037012",
    "as_of": "2026-09-10T14:33:07.107683Z"
  }
}
```
