Roic AI RQL
  • Welcome
  • Roic Query Language
    • Getting Started
    • Query Builder
    • Query Structure
    • Ticker Syntax
    • Fields
    • Parameters
    • Options
  • Standalone Data Points
    • Company News
    • Earnings Call List
    • Earnings Call
Powered by GitBook
On this page
  • Components:
  • Ticker
  • Field
  • Options

Was this helpful?

  1. Roic Query Language

Query Structure

PreviousQuery BuilderNextTicker Syntax

Last updated 12 months ago

Was this helpful?

A typical query in the Roic AI API is structured as follows:

https://api.roic.ai/v1/rql/?
    query=
        get(
            "FIELD(PARAMETERS)"
            ) 
        for(
            "TICKER EXCHANGE"
            )&
        "OPTION1=VALUE",
        "OPTION2=VALUE",
        ...,
        "APIKEY=VALUE"

Components:

Ticker

The stock symbol and exchange code, e.g., "AAPL US". More information is on the .

Field

Options

The financial data point you want to retrieve. More information is on the .

Various flags that modify the output (e.g., date visibility, headers). More information is on the .

Ticker Syntax page
Fields page
Options page