Market Cycles

FREEMIUM
By whentotrade
Updated 5 months ago
Finance
1/10
Popularity Score
2620ms
Latency
100%
Success Rate

Market Cycles API Documentation

Analyze dominant cycles in stock market

View API Details
GETMarketCycles
GETMarketCycles

Dominant Cycle Analysis

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
symbolSTRING
REQUIRED
Code Snippet
unirest.get("https://whentotrade.p.rapidapi.com/api/MarketCycles/{symbol}")
.header("X-RapidAPI-Host", "whentotrade.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://whentotrade.p.rapidapi.com/api/MarketCycles/{symbol}
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://whentotrade.p.rapidapi.com/api/MarketCycles/{symbol}")
.header("X-RapidAPI-Host", "whentotrade.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