# viaNexus Data Platform API Reference
  
  Welcome to our API reference documentation. Our API enables you to get financial data on-demand via REST calls or continuously via [streams](https://console.vianexus.com/docs/data-streams).

  You can call the API in these ways:
  
  - URLs in your browser (see [example below](https://console.vianexus.com/docs#example-get-a-stock-quote-in-your-browser))
  - cURL commands (see [example below](https://console.vianexus.com/docs#example-get-a-stock-quote-via-curl))
  - Application code
  
  <!-- The API endpoints are based on <a target="_blank" rel="noreferrer" href="https://en.wikipedia.org/wiki/Representational_state_transfer">REST</a>, have standard <a target="_blank" rel="noreferrer" href="https://console.vianexus.com/docs/api-basics/error-codes">HTTP response codes</a>, and return JSON-encoded responses. -->

  The following examples show the API in action.

  ## Example: Get a Stock Quote in your browser

  **URL:** [https://api.blueskyapi.com/v1/data/core/quote/aapl?token=YOUR_TOKEN](https://api.blueskyapi.com/v1/data/core/quote/aapl?token=${publishableToken})

  Here are the steps:

  1. Apply an API Token to the session. (Note: The Console lists tokens on the <a target="_blank" rel="noreferrer" href="https://console.vianexus.com/console/home">Home</a> and <a target="_blank" rel="noreferrer" href="https://console.vianexus.com/console/tokens">API Tokens</a> pages)
  1. Enter an endpoint URL in your browser. (Hint: click an example HTTP request URL in an endpoint reference page.)

  The quote response appears!

  ## Example: Get a Stock Quote via cURL

  Getting the latest Apple stock quote via a <a target="_blank" rel="noreferrer" href="https://everything.curl.dev/get">cURL</a> command.

  **Example Command:** <code>curl -X GET "https://api.blueskyapi.com/v1/data/core/quote/aapl?token=YOUR_TOKEN"</code>


  ## How can I start using the API?

  You need a [Free Trial or an account](https://console.vianexus.com/cloud-login#/register), and an API token.
  
  Setup steps:

  1. Register a [Free Trial or an account](https://console.vianexus.com/cloud-login#/register).
  1. Apply an API token from your account by doing this:
  
      - Click <a target="_blank" rel="noreferrer" href="https://console.vianexus.com/docs/settings"><strong>Apply Token</strong></a> (button in top right of this site)
      - Enter your token.

  Congratulations! You can start calling any endpoints authorized with your Free Trial or your account.

  ## Where can I browse the endpoints?

  Browse the endpoints in the following sections:

  - [viaNexus Data Platform](https://console.vianexus.com/docs/core): Groups endpoint pages by data bundle.

  ## Where can I learn more about financial data and the API?

  These resources demonstrate the API fundamentals and dive deep into using the financial data:

  - [API Basics](https://console.vianexus.com/docs/api-basics): These articles explain fundamentals for using our REST API, including using our GET /data method and working with time series data.

  <div class="aside info">Remember to register for a <a href="https://console.vianexus.com/cloud-login#/register">Free Trial or an account</a>, and then apply one of your tokens to your session here.</div>
  <br/>

  Here are some more example requests:
  
  - **Latest [Stock Quote](https://console.vianexus.com/docs/core/QUOTE) for Amazon:** <br/>[https://api.blueskyapi.com/v1/data/core/quote/amzn?token=YOUR_TOKEN](https://api.blueskyapi.com/v1/data/core/quote/amzn?token=YOUR_TOKEN)
  
  - **[Dividends](https://console.vianexus.com/docs/CORE/corporate-actions/ADVANCED_DIVIDENDS) for Microsoft:** <br/>[https://api.blueskyapi.
    com/v1/data/core/ADVANCED_DIVIDENDS/msft?token=YOUR_TOKEN](https://api.blueskyapi.com/v1/data/core/ADVANCED_DIVIDENDS/msft?token=YOUR_TOKEN)
   
  In the navigation tree on the left, browse the endpoints and articles to get the data you want! Enjoy using our financial data!!

Markdown of https://console.vianexus.com/docs. Append `.md` to any docs URL.
