Documentation Content API v1
Our content and analysis API docs is extensive and you can see below all the available endpoints and currencies supported to help you integrate our content within your the existing web and mobile applications. Includes Fibonacci, Candlestick pattern, forex analysis and much more.
Endpoints
The TraderMade Content API has four API endpoints serving different sets of analysis and content. Below is a summary of these
endpoints.
Available Endpoints:
API Endpoints |
https://contentapi.tradermade.com/api/v1/analysis?api_key=api_key¤cy=EURUSD,GBPUSD&start_date=2020-08-19-10:10&end_date=2020-08-20-15:10 |
https://contentapi.tradermade.com/api/v1/candlestickPattern?start_date=2020-08-18-10:10&end_date=2020-08-19-10:10&timeframe=daily&api_key=api_key |
https://contentapi.tradermade.com/api/v1/fibonacciPattern?start_date=2020-07-14-10:10&end_date=2020-07-17-10:10&api_key=api_key |
https://contentapi.tradermade.com/api/v1/hilo_alerts?api_key=api_key |
API Endpoints
If you are logged in you can use the endpoints below to run the requests from the run button provided to the left of the request example. If you are not logged in you can sign up and login to run sample query. You can also visit our interactive documents page for a more bespoke testing using your api key from the dashboard.
Analysis
Analysis endpoint provides intraday and daily technical analysis for 24 Currency Pairs. Intraday analysis has upto 4 updates a day while short-term analysis is updated daily. Currency covered for the forex analysis endpoint are the following: EURUSD,USDJPY,AUDUSD,GBPUSD,NZDJPY,USDCAD,EURGBP,EURJPY,USDCHF,EURCHF,GBPCAD,GBPCHF,GBPJPY,NOKSEK,
NZDUSD,AUDCAD,AUDJPY,AUDNZD,CHFJPY,EURAUD,EURCAD,EURNOK,EURNZD,EURSEK,GBPAUD,USDNOK,USDSEK,NZDUSD
Request Parameters
currency |
(optional) EURUSD,GBPUSD (if no currency pair is provided all the analysis for all the currencies will be provided within that start and end date ) |
api_key |
Your API key |
id |
(optional) Can be stored from previous request (Gets all the analysis in the database post the id provided in the query) |
n_records |
(optional) Integer (Gets last number of records. Example: 2 will get last 2 records ) |
type |
(optional) short-term analysis, intraday analysis |
start_date |
yyyy-mm-dd-HH:MM |
end_date |
yyyy-mm-dd-HH:MM |
Request Example
https://contentapi.tradermade.com/api/v1/analysis?api_key=api_key¤cy=EURUSD,GBPUSD&start_date=2024-11-29-00:00&end_date=2024-12-04-15:28
Sign Up
Response Example:
[
{
"MACD_fast_parms": 12,
"MACD_signal_parms": 9,
"MACD_slow_parms": 26,
"RSI_fast_parms": 14,
"alert_type": "short-term analysis",
"analysis": "EURUSD resistance comes in at 1.1874 MACD and RSI have a bearish bias. Hence, we see a dip to 1.1795 enter at 1.1848. Above 1.1874 to open 1.1917",
"close_price": 1.1845,
"direction": -1,
"entry": 1.1848,
"id": 90474,
"indicators": "MACD, RSI",
"instrument": "EURUSD",
"parms_frequency": "2h",
"resistance_y0": 1.1874,
"resistance_y1": 1.1917,
"resistance_y2": 1.1996,
"stop": 1.1874,
"support_y0": 1.1795,
"support_y1": 1.1751,
"support_y2": 1.1672,
"target": 1.1795,
"timestamp": "2020-08-20 12:30:02.290880",
"trend": "down",
"url": "n/a"
},
{
"MACD_fast_parms": 12,
"MACD_signal_parms": 9,
"MACD_slow_parms": 26,
"RSI_fast_parms": 14,
"alert_type": "short-term analysis",
"analysis": "GBPUSD resistance comes in at 1.3213 MACD and RSI have a bearish bias. Hence, we see a dip to 1.304 enter at 1.3156. Above 1.3213 to open 1.3327",
"close_price": 1.3138,
"direction": -1,
"entry": 1.3156,
"id": 90477,
"indicators": "MACD, RSI",
"instrument": "GBPUSD",
"parms_frequency": "2h",
"resistance_y0": 1.3213,
"resistance_y1": 1.3327,
"resistance_y2": 1.3386,
"stop": 1.3213,
"support_y0": 1.304,
"support_y1": 1.298,
"support_y2": 1.2866,
"target": 1.304,
"timestamp": "2020-08-20 12:30:03.064931",
"trend": "down",
"url": "n/a"
}
]
Candlestick Patterns
Candlestick Patterns endpoint provides 40+ candlestick patterns for over 60+ currency pairs, We cover 6hour and daily timeframe. Currency covered for Candlestick alerts endpoint are: EURUSD,GBPUSD,USDJPY,AUDUSD,NZDUSD,USDCAD,EURGBP,EURJPY,USDSEK,USDNOK,AUDNZD,USDCHF,GBPJPY,EURAUD,EURCHF,
EURNZD,AUDCAD,EURCAD,GBPAUD,USDZAR,USDRUB,USDBRL,BTCUSD,ETHUSD,LTCUSD,XRPUSD,USDCLP,XAUUSD,XAGUSD,USDTRY,
USDKRW,USDMXN
Request Parameters
currency |
(optional) EURUSD,GBPUSD (if no currency pair is provided all the patterns for all the currencies will be provided within that start and end date ) |
api_key |
Your API key |
id |
(optional) Can be stored from previous request (Gets all the candlestick Patterns in the database post the id provided in the query) |
n_records |
(optional) Integer (Gets last number of records. Example: 2 will get last 2 records ) |
type |
(optional) Choices (only one pattern can be filtered at a time in absence of type in request query all patterns will be provided) two_crows, three_black_crows,three_inside,three_line_strike, three_outside,three_stars_south,three_white_soldiers, abaondoned_baby,
advance_block, belt_hold, breakaway, closing_marubozu,baby_swallow, counter_attack, darK_cloud_cover, doji, doji_star,
dragonfly_doji, engulfing,evening_doji_star, evening_star, gap_side_white, gravestone_doji, hammer, hanging_man, harami,
harami_cross, high_wave, hikkake, hikkake_mod, homing_pigeon, identical_three_crows, in_neck,
inverted_hammer, kicking, kickingby_length, ladder_bottom, long_legged_doji, long_line,
marubozu, matching_low, mathold, morning_doji_star, morning_star, lon_neck, piercing_line,
rickshaw_man, rise_fall_three, seprating_lines, shooting_star, short_line, spinning_top, stalled,
stick_sandwich, takuri, takuri_gap, thursting, tristar |
start_date |
yyyy-mm-dd-HH:MM |
end_date |
yyyy-mm-dd-HH:MM |
Request Example
https://contentapi.tradermade.com/api/v1/candlestickPattern?api_key=api_key&n_records=50&timeframe=daily&start_date=2024-11-29-00:00&end_date=2024-12-04-15:28
Sign Up
Response Example:
[
{
"alert_type": "engulfing",
"analysis": "NZDUSD has completed bearish engulfing candlestick pattern on a daily chart at 2020-08-20",
"date": "2020-08-19 00:00:00.000000",
"direction": -1,
"id": 42778,
"img_url": "https://contentapi.tradermade.com/static/output/NZDUSD__engulfing_daily_candle.png",
"instrument": "NZDUSD",
"timeframe": "daily",
"timestamp": "2020-08-20 02:20:05"
}
.....
{
"alert_type": "engulfing",
"analysis": "USDCAD has completed bullish engulfing candlestick pattern on a daily chart at 2020-08-20",
"date": "2020-08-19 00:00:00.000000",
"direction": 1,
"id": 42780,
"img_url": "https://contentapi.tradermade.com/static/output/USDCAD__engulfing_daily_candle.png",
"instrument": "USDCAD",
"timeframe": "daily",
"timestamp": "2020-08-20 02:20:05"
}
]
Fibonacci Patterns
Fibonacci Patterns endpoint provides 4 types of fibonacci patterns (Gartley, Bat, Butterfly and Crab) for around 50 currency pairs on 1hour and 4hour timeframes. Currency covered for the Fibonacci alerts endpoint are are the following: EURUSD,AUDCAD,AUDCHF,AUDJPY,AUDNZD,AUDSGD,AUDUSD,CADCHF,CADJPY,CADMXN,CHFJPY,CHFNOK,
CHFSEK,COPBRL,EURCAD, EURCHF,EURGBP,EURHUF,EURJPY,EURMXN,EURNOK,EURNZD,EURTRY,EURUSD,
EURZAR,GBPAUD,GBPCAD,GBPCHF,GBPDKK,GBPJPY,GBPNOK,GBPNZD,GBPSEK,GBPUSD,GBPZAR,NOKJPY,
NOKSEK,NZDCAD,NZDCHF,NZDJPY,NZDUSD,SEKJPY,USDCAD,USDCHF,USDCNY,USDCOP,USDJPY,USDMXN,
USDNOK,USDRUB,USDSEK,USDSGD,USDTRY,USDTWD,USDZAR,USDCLP,XAUUSD,XAGUSD
Request Parameters
currency |
(optional) EURUSD,GBPUSD (ideally one or two currency pairs should not be selected or start date and end date should be widened because it can be few days before fibonacci pattern can form on any one particular currency pair.) |
api_key |
Your API key |
id |
(optional) Can be stored from previous request (Gets all the Fibonacci Patterns in the database post the id provided in the query) |
n_records |
(optional) Integer (Gets last number of records. Example: 2 will get last 2 records ) |
type |
(optional) Choices (only one pattern can be filtered at a time in absence of type in request query all patterns will be provided) bullish butterfly, bullish crab, bullish bat, bullish gartley, bearish butterfly, bearish crab, bearish bat, bearish gartley
|
start_date |
yyyy-mm-dd-HH:MM |
end_date |
yyyy-mm-dd-HH:MM |
Request Example
https://contentapi.tradermade.com/api/v1/fibonacciPattern?api_key=api_key&n_records=2&start_date=2020-08-20-10:10&end_date=2020-08-21-10:10
Sign Up
Response Example:
[
{
"alert_type": "bullish gartley",
"analysis": "EURTRY has completed a bullish gartley pattern at (2020-08-21 04:00:00) 8.5923. Signals support at 8.5689 for 8.686",
"close_price": null,
"direction": 1,
"entry": 8.5923,
"id": 3582,
"img_url": "https://contentapi.tradermade.com/static/output/EURTRY-4h-21-Aug 04:00-bullish gartley.png",
"instrument": "EURTRY",
"level_x0": "2020-08-11 16:00:00.000000",
"level_x1": "2020-08-18 20:00:00.000000",
"level_x2": "2020-08-19 16:00:00.000000",
"level_x3": "2020-08-20 12:00:00.000000",
"level_x4": "2020-08-21 04:00:00.000000",
"level_y0": 8.4564,
"level_y1": 8.813,
"level_y2": 8.6282,
"level_y3": 8.7094,
"level_y4": 8.5923,
"prof": 0.1171,
"stop": 8.5689,
"target": 8.686,
"timeframe": "4h",
"timestamp": "2020-08-21 08:00:00.000000"
},
{
"alert_type": "bullish gartley",
"analysis": "EURUSD has completed a bullish gartley pattern at (2020-08-21 04:00:00) 1.184. Signals support at 1.1833 for 1.1866",
"close_price": null,
"direction": 1,
"entry": 1.184,
"id": 3583,
"img_url": "https://contentapi.tradermade.com/static/output/EURUSD-4h-21-Aug 04:00-bullish gartley.png",
"instrument": "EURUSD",
"level_x0": "2020-08-14 04:00:00.000000",
"level_x1": "2020-08-18 20:00:00.000000",
"level_x2": "2020-08-19 20:00:00.000000",
"level_x3": "2020-08-21 00:00:00.000000",
"level_x4": "2020-08-21 04:00:00.000000",
"level_y0": 1.1801,
"level_y1": 1.1946,
"level_y2": 1.1844,
"level_y3": 1.1873,
"level_y4": 1.184,
"prof": 0.0033,
"stop": 1.1833,
"target": 1.1866,
"timeframe": "4h",
"timestamp": "2020-08-21 08:00:00.000000"
}
]
Price Patterns
Price Patterns endpoint provides Channels and triangle patterns for around 50 currency pairs on 1hour timeframe. Currency covered for the Price Patterns endpoint are are the following: EURUSD,AUDCAD,AUDCHF,AUDJPY,AUDNZD,AUDSGD,AUDUSD,CADCHF,CADJPY,CADMXN,CHFJPY,CHFNOK,
CHFSEK,COPBRL,EURCAD, EURCHF,EURGBP,EURHUF,EURJPY,EURMXN,EURNOK,EURNZD,EURTRY,EURUSD,
EURZAR,GBPAUD,GBPCAD,GBPCHF,GBPDKK,GBPJPY,GBPNOK,GBPNZD,GBPSEK,GBPUSD,GBPZAR,NOKJPY,
NOKSEK,NZDCAD,NZDCHF,NZDJPY,NZDUSD,SEKJPY,USDCAD,USDCHF,USDCNY,USDCOP,USDJPY,USDMXN,
USDNOK,USDRUB,USDSEK,USDSGD,USDTRY,USDTWD,USDZAR,USDCLP,XAUUSD,XAGUSD
Request Parameters
currency |
(optional) EURUSD,GBPUSD (ideally one or two currency pairs should not be selected because it can be few days before Price patterns can form on any one particular currency pair.) |
api_key |
Your API key |
id |
(optional) Can be stored from previous request (Gets all the Price Patterns in the database post the id provided in the query) |
n_records |
(optional) Integer (Gets last number of records. Example: 2 will get last 2 records ) |
type |
(optional) Choices (only one pattern can be filtered at a time in absence of type in request query all patterns will be provided) bullish channel,bearish channel,bullish triangle, bearish triangle.
|
start_date |
yyyy-mm-dd-HH:MM |
end_date |
yyyy-mm-dd-HH:MM |
Request Example
https://contentapi.tradermade.com/api/v1/pricePattern?api_key=api_key&n_records=2&start_date=2024-11-29-00:00&end_date=2024-12-04-15:28
Sign Up
Response Example:
[
{
"alert_type": "bearish channel",
"analysis": "EURTRY has completed a bearish channel. Signals resistance at 9.9616 for 9.8881",
"close_price": null,
"direction": -1.0,
"entry": 9.9371,
"img_url": "https://tm-proresearch.com/static/pat_output/EURTRY-1h-2021-08-23 04:00:00-bearish channel.png",
"instrument": "EURTRY",
"level_x0": 1629403200000,
"level_x1": 1629442800000,
"level_x2": 1629464400000,
"level_x3": 1629687600000,
"level_x4": 1629691200000,
"level_y0": 9.9738,
"level_y1": 10.0037,
"level_y2": 9.9182,
"level_y3": 9.9636,
"level_y4": 9.9537,
"prof": -0.0735,
"stop": 9.9616,
"target": 9.8881,
"timeframe": "1h",
"timestamp": 1629694800000
},
{
"alert_type": "bearish channel",
"analysis": "USDJPY has completed a bearish channel. Signals resistance at 109.8779 for 109.5664",
"close_price": null,
"direction": -1.0,
"entry": 109.7741,
"img_url": "https://tm-proresearch.com/static/pat_output/USDJPY-1h-2021-08-20 15:00:00-bearish channel.png",
"instrument": "USDJPY",
"level_x0": 1629363600000,
"level_x1": 1629417600000,
"level_x2": 1629442800000,
"level_x3": 1629468000000,
"level_x4": 1629471600000,
"level_y0": 109.66,
"level_y1": 109.8865,
"level_y2": 109.571,
"level_y3": 109.8785,
"level_y4": 109.7685,
"prof": -0.3115,
"stop": 109.8779,
"target": 109.5664,
"timeframe": "1h",
"timestamp": 1629475200000
}
]
High low Alerts
High low Alerts endpoint provides current day multi week, month, year highs and lows for over 60+ currency pairs
Request Parameters
api_key |
Your API key (only requires this parameter results can be filtered on the client side ) |
Request Example
https://contentapi.tradermade.com/api/v1/hilo_alerts?api_key=api_key
Sign Up
Response Example:
[
{
"Time": "14:48:00",
"alerted": "14:10",
"description": "GBP/AUD",
"direction": "HIGH",
"img_url": "https://contentapi.tradermade.com/static/output/GBPAUDhilo.png",
"instrument": "GBPAUD",
"value": 1.837165,
"variant": "week"
},
{
"Time": "15:13:00",
"alerted": "12:55",
"description": "EUR/NZD",
"direction": "HIGH",
"img_url": "https://contentapi.tradermade.com/static/output/EURNZDhilo.png",
"instrument": "EURNZD",
"value": 1.822258,
"variant": "3-month"
},
{
"Time": "13:30:00",
"alerted": "12:30",
"description": "NZD/JPY",
"direction": "LOW",
"img_url": "https://contentapi.tradermade.com/static/output/NZDJPYhilo.png",
"instrument": "NZDJPY",
"value": 68.766846,
"variant": "month"
},
.....
{
"Time": "01:23:00",
"alerted": "01:20",
"description": "USD/CHF",
"direction": "HIGH",
"img_url": "https://contentapi.tradermade.com/static/output/USDCHFhilo.png",
"instrument": "USDCHF",
"value": 0.916084,
"variant": "week"
}
]