getMomentum API

The getMomentum API provides a daily summary on the number of advancing, declining and unchanged stocks, as well as the percentage of stocks above moving averages of different lengths.

Pricing is based on the number of monthly queries and fields requested. We offer four packages: Small, Medium, Large, Enterprise. Contact us for additional details.


API Documentation

INPUTS:

country (required)
A country code identifying a group of stocks listed in a country. (string)
Example: US

exchanges (optional)
The code for the exchange a group of financial instruments are listed on. (list)
Example: NASDAQ


OUTPUTS:

country (always returned)
A country code identifying a group of stocks listed in a country. (string)
advancesToday (always returned)
The total number of advancing stocks for the current day. (int)
advancesYesterday (always returned)
The total number of advancing stocks for yesterday. (int)
advancesLastWeek (always returned)
The total number of advancing stocks last week. (int)
advancesLastMonth (always returned)
The total number of advancing stocks last month. (int)
unchgToday (always returned)
The total number of unchanges stocks for the current day. (int)
unchgYesterday (always returned)
The total number of unchanged stocks for yesterday. (int)
unchgLastWeek (always returned)
The total number of unchanged stocks last week. (int)
unchgLastMonth (always returned)
The total number of unchanged stocks last month. (int)
declinesToday (always returned)
The total number of declining stocks for the current day. (int)
declinesYesterday (always returned)
The total number of declining stocks for yesterday. (int)
declinesLastWeek (always returned)
The total number of declininig stocks last week. (int)
declinesLastMonth (always returned)
The total number of declining stocks last month. (int)
percentAbove20dMAtoday (always returned)
The percentage of stocks above their 20-day moving average for the current day. (double)
percentAbove20dMAyesterday (always returned)
The percentage of stocks above their 20-day moving average yesterday. (double)
percentAbove20dMALastWeek (always returned)
The percentage of stocks above their 20-day moving average last week. (double)
percentAbove20dMALastMonth (always returned)
The percentage of stocks above their 20-day moving average last month. (double)
percentAbove50dMAtoday (always returned)
The percentage of stocks above their 50-day moving average for the current day. (double)
percentAbove50dMAyesterday (always returned)
The percentage of stocks above their 50-day moving average yesterday. (double)
percentAbove50dMALastWeek (always returned)
The percentage of stocks above their 50-day moving average last week. (double)
percentAbove50dMALastMonth (always returned)
The percentage of stocks above their 50-day moving average last month. (double)
percentAbove100dMAtoday (always returned)
The percentage of stocks above their 100-day moving average for the current day. (double)
percentAbove100dMAyesterday (always returned)
The percentage of stocks above their 100-day moving average yesterday. (double)
percentAbove100dMALastWeek (always returned)
The percentage of stocks above their 100-day moving average last week. (double)
percentAbove100dMALastMonth (always returned)
The percentage of stocks above their 100-day moving average last month. (double)
percentAbove150dMAtoday (always returned)
The percentage of stocks above their 150-day moving average for the current day. (double)
percentAbove150dMAyesterday (always returned)
The percentage of stocks above their 150-day moving average yesterday. (double)
percentAbove150dMALastWeek (always returned)
The percentage of stocks above their 150-day moving average last week. (double)
percentAbove150dMALastMonth (always returned)
The percentage of stocks above their 150-day moving average last month. (double)
percentAbove200dMAtoday (always returned)
The percentage of stocks above their 200-day moving average for the current day. (double)
percentAbove200dMAyesterday (always returned)
The percentage of stocks above their 200-day moving average yesterday. (double)
percentAbove200dMALastWeek (always returned)
The percentage of stocks above their 200-day moving average last week. (double)
percentAbove200dMALastMonth (always returned)
The percentage of stocks above their 200-day moving average last month. (double)
exchange (as requested)
The code for the exchange a group of financial instruments are listed on. (string)
advancingIssues (as requested)
The total number of advancing issues for the current day. (int)
decliningIssues (as requested)
The total number of declining issues for the current day. (int)
unchangedIssues (as requested)
The total number of unchanged issues for the current day. (int)
advancingIssuesPct (as requested)
The percentage of advancing issues for the current day. (double)
decliningIssuesPct (as requested)
The percentage of declining issues for the current day. (double)
unchangedIssuesPct (as requested)
The percentage of unchanged issues for the current day. (double)
advancingShares (as requested)
The total number of advancing shares for the current day. (int)
decliningShares (as requested)
The total number of declining shares for the current day. (int)
unchangedShares (as requested)
The total number of unchanged shares for the current day. (int)
newHighs (as requested)
The number of new 52-week highs for the current day. (int)
newLows (as requested)
The number of new 52-week highs for the current day. (int)

STATUS CODE RESPONSES:

200 OK Success
400 Bad Request The request was invalid, please see the message for more information.
500 Internal Server Error Something is not working correctly, please contact support.