Market Data provides the historical performance data for a given Instrument. This document will guide you on how to get Market Data details.

Make a GET request to /market/data/{instrumentId}

  curl --request GET \
    --url https://api.pipevest.com/v1/market/data?start=1234567890&end=1234567890&timeFrame=1d\
    --header 'Authorization: Bearer 123456' \
    --header 'Signature: sig1=:OTEyMjY4...A5NTNDMEQ=:' \
    --header 'Signature-Input: sig1=("Authorization" "Content-Digest" "Content-Length" "Content-Type" "X-Client-Id" "X-Idempotency-Key" "@method" "@target-uri" "@path" "@query");keyid="staging-pipevest-ed25519";created=1732893484;expires=1732893584' \
    --header 'X-Client-Id: 123456' \

Entity Reference

PropertyDefinition
marketDataIdUnique market Data identifier
instrumentIdUnique instrument identifier
nameThe display name of the asset
currencyAssociated currency
symbolThe symbol associated by the instrument
openInstrument opening trade value
highInstrument highest trade value
lowInstrument lowest trade value
closeInstrument closing trade value
volumeInstrument trade volume
startMarket data start date as UNIX timestamp
endMarket data end date as UNIX timestamp
timeFrameThe time frames used to determine instrument market data
createdAtCreated at unix timestamp
updatedAtUpdated at unix timestamp