## Get Instrument By ID `client.V1.Instruments.GetInstrumentByID(ctx, instrumentID, query) (*V1InstrumentGetInstrumentByIDResponse, error)` **get** `/v1/instruments/{instrument_id}` Retrieves detailed information for a specific instrument. ### Parameters - `InstrumentID InstrumentIDOrSymbol` OEMS instrument UUID - `query V1InstrumentGetInstrumentByIDParams` - `IncludeOptionsExpiryDates param.Field[bool]` When true, include unique options expiry dates for this instrument ### Returns - `type V1InstrumentGetInstrumentByIDResponse struct{…}` - `Data Instrument` Represents a tradable financial instrument. - `ID string` Unique OEMS instrument identifier (UUID) - `CountryOfIssue string` The ISO country code of the instrument's issue - `Currency string` The ISO currency code in which the instrument is traded - `EasyToBorrow bool` Indicates if the instrument is classified as Easy-To-Borrow - `IsLiquidationOnly bool` Indicates if the instrument is liquidation only and cannot be bought - `IsMarginable bool` Indicates if the instrument is marginable - `IsRestricted bool` Indicates if the instrument is restricted from trading - `IsShortProhibited bool` Indicates if short selling is prohibited for the instrument - `IsThresholdSecurity bool` Indicates if the instrument is on the Regulation SHO Threshold Security List - `IsTradable bool` Indicates if the instrument is tradable - `Symbol string` The trading symbol for the instrument - `Venue string` The MIC code of the primary listing venue - `Adv string` Average daily share volume from the security definition. - `Expiry Time` The expiration date for options instruments - `InstrumentType SecurityType` The type of security (e.g., Common Stock, ETF) - `const SecurityTypeCommonStock SecurityType = "COMMON_STOCK"` - `const SecurityTypePreferredStock SecurityType = "PREFERRED_STOCK"` - `const SecurityTypeOption SecurityType = "OPTION"` - `const SecurityTypeCash SecurityType = "CASH"` - `const SecurityTypeOther SecurityType = "OTHER"` - `LongMarginRate string` The percent of a long position's value you must post as margin - `Name string` The full name of the instrument or its issuer - `NotionalAdv string` Notional ADV (`adv × previous_close`). The primary liquidity signal used by `/instruments/search` ranking. Computed at response time so it stays consistent with whatever `adv` and `previous_close` show. - `OptionsExpiryDates []Time` Available options expiration dates for this instrument. Present only when `include_options_expiry_dates=true` in the request. - `PreviousClose string` Last close price from the security definition. - `ShortMarginRate string` The percent of a short position's value you must post as margin - `StrikePrice string` The strike price for options instruments ### Example ```go package main import ( "context" "fmt" "github.com/clear-street/clear-street-go" "github.com/clear-street/clear-street-go/option" ) func main() { client := clearstreet.NewClient( option.WithAPIKey("My API Key"), ) response, err := client.V1.Instruments.GetInstrumentByID( context.TODO(), "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", clearstreet.V1InstrumentGetInstrumentByIDParams{ }, ) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", response) } ``` #### Response ```json { "data": { "country_of_issue": "US", "currency": "USD", "easy_to_borrow": true, "id": "0f5a1a4e-5b3e-4d8f-9b7a-2b1d0e3f4a5b", "instrument_type": "COMMON_STOCK", "is_liquidation_only": false, "is_marginable": true, "is_restricted": false, "is_short_prohibited": false, "is_threshold_security": false, "is_tradable": true, "long_margin_rate": "0.25", "name": "Apple Inc.", "short_margin_rate": "0.25", "symbol": "AAPL", "venue": "XNMS" }, "error": null, "metadata": { "request_id": "5b6c7d8e-9f0a-1b2c-3d4e-5f6a7b8c9d0e" } } ```