LSEG Data (Refinitiv)
App · 8 actions
Query entitled LSEG Data Platform historical prices and instrument data.
Actions
| Action | What it does |
|---|---|
| Get a news story | Read the full story for a news headline ID. |
| Get a search view's fields | Read the fields available in an LSEG Discovery view. |
| Get a top news package | Read the headlines in an LSEG top news package. |
| Get daily price history | Get daily price history. |
| Get historical price events | Get historical price events. |
| Get intraday price history | Get intraday price history. |
| List top news packages | Read the LSEG top news package hierarchy. |
| Search instruments | Find instrument codes and reference data using LSEG Discovery. |
Get a news story
Read the full story for a news headline ID.
Inputs
- Story ID
story_idtextRequired - Story ID from a news headline.
Outputs
dataobject- The response from LSEG Data (Refinitiv).
Example output
{
"data": {}
}Get a search view's fields
Read the fields available in an LSEG Discovery view.
Inputs
- View
viewtextRequired - Choose a Discovery view.One of:
SearchAll,Instruments,EquityQuotes.
Outputs
dataobject- The response from LSEG Data (Refinitiv).
Example output
{
"data": {}
}Get a top news package
Read the headlines in an LSEG top news package.
Inputs
- Top news ID
top_news_idtextRequired - ID from List top news packages.
Outputs
dataobject- The response from LSEG Data (Refinitiv).
Example output
{
"data": {}
}Get daily price history
Get daily price history.
Inputs
- Ric
rictextRequired - Refinitiv Instrument Code, such as AAPL.O.
- Start
startdate and time - Start.
- End
enddate and time - End.
- Count
countnumber - Count.At least 1.
- Fields
fieldslist - Fields.
- Interval
intervaltext - Interval.One of:
P1D,P1W,P1M,P3M,P1Y.
Outputs
datalist- The response from LSEG Data (Refinitiv).
Example output
{
"data": [
{
"data": [
[
{}
]
],
"headers": [
{}
],
"universe": {
"ric": "example"
}
}
]
}Get historical price events
Get historical price events.
Inputs
- Ric
rictextRequired - Refinitiv Instrument Code, such as AAPL.O.
- Start
startdate and time - Start.
- End
enddate and time - End.
- Count
countnumber - Count.At least 1.
- Fields
fieldslist - Fields.
Outputs
datalist- The response from LSEG Data (Refinitiv).
Example output
{
"data": [
{
"data": [
[
{}
]
],
"headers": [
{}
],
"universe": {
"ric": "example"
}
}
]
}Get intraday price history
Get intraday price history.
Inputs
- Ric
rictextRequired - Refinitiv Instrument Code, such as AAPL.O.
- Start
startdate and time - Start.
- End
enddate and time - End.
- Count
countnumber - Count.At least 1.
- Fields
fieldslist - Fields.
- Interval
intervaltext - Interval.One of:
PT1M,PT5M,PT10M,PT15M,PT30M,PT1H.
Outputs
datalist- The response from LSEG Data (Refinitiv).
Example output
{
"data": [
{
"data": [
[
{}
]
],
"headers": [
{}
],
"universe": {
"ric": "example"
}
}
]
}List top news packages
Read the LSEG top news package hierarchy.
Inputs
None.
Outputs
dataobject- The response from LSEG Data (Refinitiv).
Example output
{
"data": {}
}Search instruments
Find instrument codes and reference data using LSEG Discovery.
Inputs
- Query
querytextRequired - Instrument name, ticker, or keyword.
- View
viewtext - Discovery view to search.One of:
SearchAll,Instruments,EquityQuotes. - Filter
filtertext - Optional OData expression to narrow the result.
- Top
topnumber - Maximum hits to return.From 1 to 1000.
Outputs
dataobject- The response from LSEG Data (Refinitiv).
Example output
{
"data": {
"Hits": [
{
"DocumentTitle": "example",
"RIC": "example"
}
],
"Total": 1
}
}