UniBit AI

FREE
By ryanmelikian777
Updated 3 months ago
Financial
3.9/10
Popularity Score
292ms
Latency
-
Success Rate

UniBit AI API Documentation

UniBit aggregates and analyzes financial events for thousands of companies

View API Details
Stock API
GETRealtime Stock Price
GETRealtime Stock Price

This API returns intraday time series data for any specified stock.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
unirest.get("https://unibit-ai.p.rapidapi.com/realtimestock/AAPL?AccessKey=demo")
.header("X-RapidAPI-Host", "unibit-ai.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://unibit-ai.p.rapidapi.com/realtimestock/AAPL?AccessKey=demo
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://unibit-ai.p.rapidapi.com/realtimestock/AAPL?AccessKey=demo")
.header("X-RapidAPI-Host", "unibit-ai.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication