Table of Contents
Points per API call
Please note that certain APIs have an associated API call count multiplier. This multiplier is used in API to determine the total cost associated with using that API. For example, if an API has a call count multiplier of 2, it means that each call made to that API endpoint counts as two calls towards your usage limit.
To view the list of multipliers, click on the following link:
Stock and Company Identification Numbers
Different endpoint examples are provided with the Json response for it. You can combine various Parameters to filter the response. See below also the description of all parameter and response objects.
Commodity Prices
Various endpoint examples of the commodity prices API, including metals, energy, agricultural, industrial, livestock data.
Available values
- gold
- silver
- platinum
- copper
- steel
- hrc_ steel
- titanium
- lithium
- palladium
- iron_ore
- natural_gas
- crude_oil
- ttf_gas
- uk_gas
- gasoline
- heating_oil
- urals_oil
- brent
- propane
- naptha
- ethanol
- methanol
- uranium
- coal
- cheese
- potatoes
- butter
- sunflower_oil
- palm_oil
- rapeseed_oil
- canola
- sugar
- rice
- oat
- wheat
- soybeans
- corn
- coffee
- cocoa
- tea
- orange_juice
- milk
- wool
- rubber
- lumber
- beef
- poultry
- live_cattle
- feeder_cattle
- salmon
- lean_hogs
- eggs_us
- eggs_ch
- aluminum
- zinc
- cobalt
- tin
- lead
- bitumen
- nickel
- rhodium
- molybdenum
- palladium
- polyvinyl
- polyethylene
- polypropylene
- neodymium
- tellurium
- soda_ash
- magnesium
- manganese
- gallium
- germanium
- di-ammonium
- iron_ore
Historical Commodity Prices
Stock Market Index
Price data of indexes and benchmarks of various countries and regions. You can filter on region, country or specific index.
Available values
- US30
- US500
- USNDX
- Athens_General
- ATX
- BE20
- BELEX_15
- BET
- BIST_100
- BUX
- CH20
- Copenhagen
- CROBEX
- CSE_General
- DE40
- ES35
- EU100
- EU350
- EU50
- EU600
- FR40
- GB100
- Helsinki
- Helsinki_25
- ICEX
- ISEQ
- IT40
- LuxX
- MBI_10
- MOEX
- Monex
- MSE
- NL25
- Oslo
- PFTS
- PSI_Geral
- PSI_20
- PX
- BET
- BUX
- PFTS
- SAX
- LuxX
- CROBEX
- SOFIX
- SBITOP
- Vilnius
- BELEX_15
- SASX-10
- Tallinn
- EU100
- EU350
- CSE_General
- EU50
- ICEX
- MBI_10
- MSE
- Riga
- Monex
- EU600
- US30
- US500
- USNDX
- Ecuador_General
- CATSX
- IBOVESPA
- IPC_Mexico
- Peru_General
- Merval
- IBC
- COLCAP
- IGPA
- BVPSI
- BSX
- JSE
- JP225
- SHANGHAI
- CSI_300
- SHANGHAI_50
- CH50
- SENSEX
- DSE_Broad
- JCI
- TASI
- TAIEX
- ADX_General
- SET_50
- FKLCI
- STI
- TA-125
- HK50
- PSEi
- KSE_100
- KASE
- QE
- HNX
- VN
- MSM_30
- ASPI
- Blom
- ASE
- LSX_Composite
- MSE_20
- DFM_General
- Kuwait_All_Share
- JPVIX
- NIFTY_50
- Estirad
- AUALL
- AU50
- AU200
- NZX_50
- FTSE_100
- CAC_40
- DAX
- Dow_Jones
- S&P_500
- NASDAQ
- Nikkei_225
- Hang_Seng
- Shanghai_Composite
- ASX_200
- NZX_50
- NSE-All_Share
- SAALL
- SA40
- EGX_30
- CFG_25
- Nairobi_20
- Nairobi_All_Share
- DSEI
- TUN
- GGSECI
- SEMDEX
- USE_All_Share
- NSX_Overall
- Gaborone
- ZSI_Industrials
Bond Yields
Bond yields of different regions, countries and specific bond types.
Historical Bond Yields
Historical bond yields of different regions, countries and specific bond types with 1D and 1M intervals. Decades of historical coverage.
Coverage of Government Bonds
- America
- Europe
- Africa
- Asia
- Australia
- Canada 30Y
- Canada 20Y
- Canada 10Y
- Canada 5Y
- Canada 3Y
- Canada 52W
- Canada 6M
- Canada 3M
- Canada 1M
- US 30Y
- US 20Y
- US 10Y
- US 7Y
- US 5Y
- US 3Y
- US 52W
- US 6M
- US 3M
- US 4W
- Mexico 10Y
- Albania 10Y
- Austria 10Y
- Austria 2Y
- Belgium 10Y
- Belgium 2Y
- Bulgaria 10Y
- Belgium 10Y
- Croatia 10Y
- Czech Republic 10Y
- Denmark 10Y
- Denmark 2Y
- Denmark 1Y
- Finland 2Y
- Finland 10Y
- France 1M
- France 3M
- France 6M
- France 2Y
- France 3Y
- France 5Y
- France 7Y
- France 10Y
- France 52W
- France 20Y
- France 30Y
- Germany 30Y
- Germany 15Y
- Germany 10Y
- Germany 7Y
- Germany 5Y
- Germany 3Y
- Germany 52W
- Germany 6M
- Greece 10Y
- Hungary 10Y
- Ireland 10Y
- Italy 10Y
- Italy 7Y
- Italy 5Y
- Italy 3Y
- Italy 2Y
- Latvia 10Y
- Lithuania 10Y
- Luxembourg 10Y
- Netherlands 10Y
- Netherlands 2Y
- Netherlands 6M
- Norway 10Y
- Poland 10Y
- Portugal 3M
- Portugal 6M
- Portugal 52W
- Portugal 2Y
- Portugal 3Y
- Portugal 5Y
- Portugal 7Y
- Portugal 10Y
- Portugal 20Y
- Portugal 30Y
- Romania 10Y
- Russia 52W
- Russia 2Y
- Russia 3Y
- Russia 5Y
- Russia 7Y
- Russia 10Y
- Russia 20Y
- Slovakia 10Y
- Slovenia 10Y
- Spain 15Y
- Spain 10Y
- Spain 7Y
- Spain 5Y
- Spain 3Y
- Spain 2Y
- Spain 52W
- Spain 6M
- Sweden 2Y
- Sweden 10Y
- Switzerland 2Y
- Switzerland 10Y
- Turkey 2Y
- Turkey 10Y
- UK 30Y
- UK 20Y
- UK 10Y
- UK 7Y
- UK 5Y
- UK 3Y
- UK 2Y
- UK 52W
- UK 6M
- UK 3M
- UK 1M
- Egypt 10Y
- Egypt 5Y
- Egypt 3Y
- Egypt 1Y
- Ghana 10Y
- Kenya 10Y
- Nigeria 10Y
- Morocco 10Y
- South Africa 30Y
- South Africa 20Y
- South Africa 10Y
- South Africa 5Y
- South Africa 3M
- Zambia 10Y
- Afghanistan 10Y
- Bangladesh 10Y
- China 30Y
- China 20Y
- China 10Y
- China 5Y
- China 3Y
- China 2Y
- China 52W
- India 30Y
- India 10Y
- India 7Y
- India 5Y
- India 3Y
- India 2Y
- India 52W
- India 6M
- India 3M
- Indonesia 10Y
- Indonesia 5Y
- Indonesia 3Y
- Indonesia 52W
- Indonesia 6M
- Indonesia 3M
- Israel 10Y
- Japan 1M
- Japan 3M
- Japan 6M
- Japan 52W
- Japan 2Y
- Japan 3Y
- Japan 5Y
- Japan 7Y
- Japan 10Y
- Japan 20Y
- Japan 30Y
- Japan 40Y
- Malaysia 10Y
- Mongolia 10Y
- Nepal 10Y
- Pakistan 10Y
- Philippine 10Y
- Singapore 1M
- Singapore 3M
- Singapore 6M
- Singapore 12M
- Singapore 2Y
- Singapore 5Y
- Singapore 10Y
- Singapore 15Y
- Singapore 20Y
- Singapore 30Y
- South Korea 20Y
- South Korea 10Y
- South Korea 5Y
- South Korea 3Y
- South Korea 2Y
- South Korea 52W
- Taiwan 10Y
- Thailand 10Y
- Vietnam 10Y
- Australia 30Y
- Australia 20Y
- Australia 10Y
- Australia 7Y
- Australia 5Y
- Australia 3Y
- Australia 2Y
- Australia 52W
- NZ 10Y
- NZ 1Y
Company Information
Different endpoint examples are provided with the Json response for it. You can combine various Parameters to filter the response. See below also the description of all parameter and response objects.
Market Exchanges
Market Exchanges API offers up-to-date information about exchanges, trading platforms, regulated or non-regulated markets and trade reporting facilities.
Options Chain
The Options Chains API provides traders and developers with access to real-time and historical data on all available options contracts for a specific underlying instrument.
Income Statements
You can combine a lot of parameters to get very customized results. For example if you want to compare all Cost of sales and Gross Profit and other components of the income statement of all companies within the technology sector in the consumer electronics industry, this is possible. On top of that, you can choose the years and quarters for which you want these results.
Possible output parameters:
'Amortization'
'AmortizationOfIntangiblesIncomeStatement'
'AverageDilutionEarnings'
'BasicAccountingChange'
'BasicAverageShares'
'BasicContinuousOperations'
'BasicDiscontinuousOperations'
'BasicEPS'
'BasicEPSOtherGainsLosses'
'BasicExtraordinary'
'ContinuingAndDiscontinuedBasicEPS'
'ContinuingAndDiscontinuedDilutedEPS'
'CostOfRevenue'
'DepletionIncomeStatement'
'DepreciationAmortizationDepletionIncomeStatement'
'DepreciationAndAmortizationInIncomeStatement'
'DepreciationIncomeStatement'
'DilutedAccountingChange'
'DilutedAverageShares'
'DilutedContinuousOperations'
'DilutedDiscontinuousOperations'
'DilutedEPS'
'DilutedEPSOtherGainsLosses'
'DilutedExtraordinary'
'DilutedNIAvailtoComStockholders'
'DividendPerShare'
'EBIT'
'EBITDA'
'EarningsFromEquityInterest'
'EarningsFromEquityInterestNetOfTax'
'ExciseTaxes'
'GainOnSaleOfBusiness'
'GainOnSaleOfPPE'
'GainOnSaleOfSecurity'
'GeneralAndAdministrativeExpense'
'GrossProfit'
'ImpairmentOfCapitalAssets'
'InsuranceAndClaims'
'InterestExpense'
'InterestExpenseNonOperating'
'InterestIncome'
'InterestIncomeNonOperating'
'MinorityInterests'
'NetIncome'
'NetIncomeCommonStockholders'
'NetIncomeContinuousOperations'
'NetIncomeDiscontinuousOperations'
'NetIncomeExtraordinary'
'NetIncomeFromContinuingAndDiscontinuedOperation'
'NetIncomeFromContinuingOperationNetMinorityInterest'
'NetIncomeFromTaxLossCarryforward'
'NetIncomeIncludingNoncontrollingInterests'
'NetInterestIncome'
'NetNonOperatingInterestIncomeExpense'
'NormalizedBasicEPS'
'NormalizedDilutedEPS'
'NormalizedEBITDA'
'NormalizedIncome'
'OperatingExpense'
'OperatingIncome'
'OperatingRevenue'
'OtherGandA'
'OtherIncomeExpense'
'OtherNonOperatingIncomeExpenses'
'OtherOperatingExpenses'
'OtherSpecialCharges'
'OtherTaxes'
'OtherunderPreferredStockDividend'
'PreferredStockDividends'
'PretaxIncome'
'ProvisionForDoubtfulAccounts'
'ReconciledCostOfRevenue'
'ReconciledDepreciation'
'RentAndLandingFees'
'RentExpenseSupplemental'
'ReportedNormalizedBasicEPS'
'ReportedNormalizedDilutedEPS'
'ResearchAndDevelopment'
'RestructuringAndMergernAcquisition'
'SalariesAndWages'
'SecuritiesAmortization'
'SellingAndMarketingExpense'
'SellingGeneralAndAdministration'
'SpecialIncomeCharges'
'TaxEffectOfUnusualItems'
'TaxLossCarryforwardBasicEPS'
'TaxLossCarryforwardDilutedEPS'
'TaxProvision'
'TaxRateForCalcs'
'TotalExpenses'
'TotalOperatingIncomeAsReported'
'TotalOtherFinanceCost'
'TotalRevenue'
'TotalUnusualItems'
'TotalUnusualItemsExcludingGoodwill'
'WriteOff'
Balance Sheet
You can combine a lot of parameters to get very customized results. For example if you want to compare all Assets and Liabilities and other components of the Balance Sheet of all companies within the technology sector in the consumer electronics industry, this is possible. On top of that, you can choose the years and quarters for which you want these results.
Possible Output Parameters:
'AccountsPayable',
'AccountsReceivable',
'AccruedInterestReceivable',
'AccumulatedDepreciation',
'AdditionalPaidInCapital',
'AllowanceForDoubtfulAccountsReceivable',
'AssetsHeldForSaleCurrent',
'AvailableForSaleSecurities',
'BuildingsAndImprovements',
'CapitalLeaseObligations',
'CapitalStock',
'CashAndCashEquivalents',
'CashCashEquivalentsAndShortTermInvestments',
'CashEquivalents',
'CashFinancial'
'CommercialPaper',
'CommonStock',
'CommonStockEquity',
'ConstructionInProgress',
'CurrentAccruedExpenses',
'CurrentAssets',
'CurrentCapitalLeaseObligation',
'CurrentDebt',
'CurrentDebtAndCapitalLeaseObligation',
'CurrentDeferredAssets',
'CurrentDeferredLiabilities',
'CurrentDeferredRevenue',
'CurrentDeferredTaxesAssets',
'CurrentDeferredTaxesLiabilities',
'CurrentLiabilities',
'CurrentNotesPayable',
'CurrentProvisions',
'DefinedPensionBenefit',
'DerivativeProductLiabilities',
'DividendsPayable',
'DuefromRelatedPartiesCurrent',
'DuefromRelatedPartiesNonCurrent',
'DuetoRelatedPartiesCurrent',
'DuetoRelatedPartiesNonCurrent',
'EmployeeBenefits',
'FinancialAssets',
'FinancialAssetsDesignatedasFairValueThroughProfitorLossTotal',
'FinishedGoods',
'FixedAssetsRevaluationReserve',
'ForeignCurrencyTranslationAdjustments',
'GainsLossesNotAffectingRetainedEarnings',
'GeneralPartnershipCapital',
'Goodwill',
'GoodwillAndOtherIntangibleAssets',
'GrossAccountsReceivable',
'GrossPPE',
'HedgingAssetsCurrent',
'HeldToMaturitySecurities',
'IncomeTaxPayable',
'InterestPayable',
'InventoriesAdjustmentsAllowances',
'Inventory',
'InvestedCapital',
'InvestmentProperties',
'InvestmentinFinancialAssets',
'InvestmentsAndAdvances',
'InvestmentsInOtherVenturesUnderEquityMethod',
'InvestmentsinAssociatesatCost',
'InvestmentsinJointVenturesatCost',
'InvestmentsinSubsidiariesatCost',
'LandAndImprovements',
'Leases',
'LiabilitiesHeldforSaleNonCurrent',
'LimitedPartnershipCapital',
'LineOfCredit',
'LoansReceivable',
'LongTermCapitalLeaseObligation',
'LongTermDebt',
'LongTermDebtAndCapitalLeaseObligation',
'LongTermEquityInvestment',
'LongTermProvisions',
'MachineryFurnitureEquipment',
'MinimumPensionLiabilities',
'MinorityInterest',
'NetDebt',
'NetPPE',
'NetTangibleAssets',
'NonCurrentAccountsReceivable',
'NonCurrentAccruedExpenses',
'NonCurrentDeferredAssets',
'NonCurrentDeferredLiabilities',
'NonCurrentDeferredRevenue',
'NonCurrentDeferredTaxesAssets',
'NonCurrentDeferredTaxesLiabilities',
'NonCurrentNoteReceivables',
'NonCurrentPensionAndOtherPostretirementBenefitPlans',
'NonCurrentPrepaidAssets',
'NotesReceivable',
'OrdinarySharesNumber',
'OtherCapitalStock',
'OtherCurrentAssets',
'OtherCurrentBorrowings',
'OtherCurrentLiabilities',
'OtherEquityAdjustments',
'OtherEquityInterest',
'OtherIntangibleAssets',
'OtherInventories',
'OtherInvestments',
'OtherNonCurrentAssets',
'OtherNonCurrentLiabilities',
'OtherPayable',
'OtherProperties',
'OtherReceivables',
'OtherShortTermInvestments',
'Payables',
'PayablesAndAccruedExpenses',
'PensionandOtherPostRetirementBenefitPlansCurrent',
'PreferredSecuritiesOutsideStockEquity',
'PreferredSharesNumber',
'PreferredStock',
'PreferredStockEquity',
'PrepaidAssets',
'Properties',
'RawMaterials',
'Receivables',
'ReceivablesAdjustmentsAllowances',
'RestrictedCash',
'RestrictedCommonStock',
'RetainedEarnings',
'ShareIssued',
'StockholdersEquity',
'TangibleBookValue',
'TaxesReceivable',
'TotalAssets',
'TotalCapitalization',
'TotalDebt',
'TotalEquityGrossMinorityInterest',
'TotalLiabilitiesNetMinorityInterest',
'TotalNonCurrentAssets',
'TotalNonCurrentLiabilitiesNetMinorityInterest',
'TotalPartnershipCapital',
'TotalTaxPayable',
'TradeandOtherPayablesNonCurrent',
'TradingSecurities',
'TreasurySharesNumber',
'TreasuryStock',
'UnrealizedGainLoss',
'WorkInProcess',
'WorkingCapital',
Cash Flow
You can combine a lot of parameters to get very customized results. For example if you want to compare all Operating Cashflow and Capital Expenditure and other components of the income statement of all companies within the technology sector in the consumer electronics industry, this is possible. On top of that, you can choose the years and quarters for which you want these results.
Possible Output Parameters:
'AdjustedGeographySegmentData',
'AmortizationCashFlow',
'AmortizationOfIntangibles',
'AmortizationOfSecurities',
'AssetImpairmentCharge',
'BeginningCashPosition',
'CapitalExpenditure',
'CapitalExpenditureReported',
'CashDividendsPaid',
'CashFlowFromContinuingFinancingActivities',
'CashFlowFromContinuingInvestingActivities',
'CashFlowFromContinuingOperatingActivities',
'CashFlowFromDiscontinuedOperation',
'CashFlowsfromusedinOperatingActivitiesDirect',
'CashFromDiscontinuedFinancingActivities',
'CashFromDiscontinuedInvestingActivities',
'CashFromDiscontinuedOperatingActivities',
'ChangeInAccountPayable',
'ChangeInAccruedExpense',
'ChangeInDividendPayable',
'ChangeInIncomeTaxPayable',
'ChangeInInterestPayable',
'ChangeInInventory',
'ChangeInOtherCurrentAssets',
'ChangeInOtherCurrentLiabilities',
'ChangeInOtherWorkingCapital',
'ChangeInPayable',
'ChangeInPayablesAndAccruedExpense',
'ChangeInPrepaidAssets',
'ChangeInReceivables',
'ChangeInTaxPayable',
'ChangeInWorkingCapital',
'ChangesInAccountReceivables',
'ChangesInCash',
'ClassesofCashPayments',
'ClassesofCashReceiptsfromOperatingActivities',
'CommonStockDividendPaid',
'CommonStockIssuance',
'CommonStockPayments',
'DeferredIncomeTax',
'DeferredTax',
'Depletion',
'Depreciation',
'DepreciationAmortizationDepletion',
'DepreciationAndAmortization',
'DividendPaidCFO',
'DividendReceivedCFO',
'DividendsPaidDirect',
'DividendsReceivedCFI',
'DividendsReceivedDirect',
'DomesticSales',
'EarningsLossesFromEquityInvestments',
'EffectOfExchangeRateChanges',
'EndCashPosition',
'ExcessTaxBenefitFromStockBasedCompensation',
'FinancingCashFlow',
'ForeignSales',
'FreeCashFlow',
'GainLossOnInvestmentSecurities',
'GainLossOnSaleOfBusiness',
'GainLossOnSaleOfPPE',
'IncomeTaxPaidSupplementalData',
'InterestPaidCFF',
'InterestPaidCFO',
'InterestPaidDirect',
'InterestPaidSupplementalData',
'InterestReceivedCFI',
'InterestReceivedCFO',
'InterestReceivedDirect',
'InvestingCashFlow',
'IssuanceOfCapitalStock',
'IssuanceOfDebt',
'LongTermDebtIssuance',
'LongTermDebtPayments',
'NetBusinessPurchaseAndSale',
'NetCommonStockIssuance',
'NetForeignCurrencyExchangeGainLoss',
'NetIncomeFromContinuingOperations',
'NetIntangiblesPurchaseAndSale',
'NetInvestmentPropertiesPurchaseAndSale',
'NetInvestmentPurchaseAndSale',
'NetIssuancePaymentsOfDebt',
'NetLongTermDebtIssuance',
'NetOtherFinancingCharges',
'NetOtherInvestingChanges',
'NetPPEPurchaseAndSale',
'NetPreferredStockIssuance',
'NetShortTermDebtIssuance',
'OperatingCashFlow',
'OperatingGainsLosses',
'OtherCashAdjustmentInsideChangeinCash',
'OtherCashAdjustmentOutsideChangeinCash',
'OtherCashPaymentsfromOperatingActivities',
'OtherCashReceiptsfromOperatingActivities',
'OtherNonCashItems',
'PaymentsonBehalfofEmployees',
'PaymentstoSuppliersforGoodsandServices',
'PensionAndEmployeeBenefitExpense',
'PreferredStockDividendPaid',
'PreferredStockIssuance',
'PreferredStockPayments',
'ProceedsFromStockOptionExercised',
'ProvisionandWriteOffofAssets',
'PurchaseOfBusiness',
'PurchaseOfIntangibles',
'PurchaseOfInvestment',
'PurchaseOfInvestmentProperties',
'PurchaseOfPPE',
'ReceiptsfromCustomers'
'ReceiptsfromGovernmentGrants',
'RepaymentOfDebt',
'RepurchaseOfCapitalStock',
'SaleOfBusiness',
'SaleOfIntangibles',
'SaleOfInvestment',
'SaleOfInvestmentProperties',
'SaleOfPPE',
'ShortTermDebtIssuance',
'ShortTermDebtPayments',
'StockBasedCompensation',
'TaxesRefundPaid',
'TaxesRefundPaidDirect',
'UnrealizedGainLossOnInvestmentSecurities',
Insider Transactions
The Insider Transaction API provides detailed data on insider trading and ownership changes in the stocks for current and past transactions.
Historical Dividends
The Historical Dividends API gives you access to our comprehensive database where dividends rates and dividend dates are collected for various companies worldwide.
Historical Stock Splits
By using Tradefeeds Historical Stock Splits and Stock Splits Calendar API, you get accurate data on historical stock splits and stock split calendar.
Historical Candlestick
Tradefeeds Historical Candlestick API provides end-of-day stock price data across exchanges globally.
Real-time Stock Price Candlestick
Tradefeeds Real-time Stock Price Candlestick endpoint provides current prices of stocks and last traded timestamp data.
Financial Ratios
Different endpoint examples are provided with the Json response for it. You can combine various Parameters to filter the response. See below also the description of all parameter and response objects. You could for example take all quick ratios of all companies within sector Technology, industry Consumer electronics
Technical Indicators
Technical indicators, calculated based on saved historical prices on the candlesticks of: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 12h, 1d, 1w.
Also includes the ability to identify technical indicators in the past by selecting an earlier endpoint and work back from there.
- /technicalindicators&stock_ticker_symbol=AAPL&technical_indicator=rsi
- /technicalindicators&stock_ticker_symbol=AAPL&technical_indicator=sp
https://data.tradefeeds.com/api/v1/technicalindicators
?key=YOUR-KEY
&stock_ticker_symbol=aapl&technical_indicator=relative_strength_index
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
},
"output": {
"value": 70.03713323772295,
"backtrack": 0
},
{
"value": 68.55107952179476,
"backtrack": 1
},
{
"value": 72.55100476679559,
"backtrack": 2
},
{
"value": 73.51409814264913,
"backtrack": 3
},
{
"value": 69.91451308499144,
"backtrack": 4
},
{
"value": 65.17308969691057,
"backtrack": 5
},
{
"value": 66.17910755701931,
"backtrack": 6
},
{
"value": 68.41845715627683,
"backtrack": 7
},
{
"value": 64.71596338703083,
"backtrack": 8
},
{
"value": 70.76586249275925,
"backtrack": 9
}
},
}
[
}
https://data.tradefeeds.com/api/v1/technicalindicators
?key=YOUR-KEY
&stock_ticker_symbol=aapl&technical_indicator=stalled_pattern
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
},
"output": {
{
value: "100" // stalled_pattern pattern found at this candle
}
{
value: "0" // stalled_pattern pattern NOT found at this candle
}
},
}
[
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
| Objects | Description |
| stock_ticker_symbol | Security for which you want technical indicators |
| exchange | Exchange where the security is trade on |
| technical_indicator | Which technical indicator you want to check for. Choose from the other table |
| interval | The candle interval to check (1m, 5m, 15m, 30m, 1h, 2h, 4h, 12h, 1d, 1w) |
| retrace | Starting point back in time from where to check |
| checks | The number of candles you want to check, going in the direction from the retrace towards the past |
| candle_type | Available candle types are: candle / heikinashi / Renko / Kagi |
API Response Objects
| Response Objects | Description |
| name | Name of the company or security |
| stock_ticker_symbol | Stock for which you want output |
| isin_identifier | International Securities Identification Number. universally recognizable |
| exchange | Exchange where the security is trade on |
| stochastic_indicator | |
| bollinger_bands | |
| ichimoku_cloud | |
| moving_average_convergence_divergence | |
| relative_strength_index | |
| fibonacci_retracement | |
| average_directional_index | |
| parabolic_stop_and_reverse | |
| money_flow_index | |
| average_true_range | |
| simple_moving_average | |
| exponential_moving_average | |
| on_balance_volume | |
| pivot_points | |
| dynamic_momentum_index | |
| directional_movement_index | |
| aroon_indicator | |
| klinger_oscillator | |
| percentage_price_oscillator | |
Analyst Ratings
Different endpoint examples are provided with the Json response for it. You can filter for consensus analyst ratings, as well as individual. You can filter based on the perspective of the stock or the analyst.
Macro Trends
Macro Trends API provides data on key macro trends that influence all financial markets including stock, bond, money, forex markets, and overall the direcition of the global economy. Search macro trends based on country, country ISO code, reports.
Macroeconomic Calendar
The calendar offers up-to-date data from reliable sources on key economic announcements and indicators detailing release times, country codes, actual values, past figures, consensus estimates and event importance ratings. Utilize the API’s parameters to filter and pinpoint the data you need by country, date and macroeconomic report name.
Currency Pairs
Currency Pairs API provides up-to-date forex rates for more than 170 world currencies. The data is updated every 60 seconds for all primary currency pairs to ensure real-time accuracy for traders and analysts.
SEC Filings
Get details about SEC filings of all reports aswell as being able to extract segments of data from it or the entire report.
ETF Holdings
Information about ETFs and which stocks they hold. This includes the total owned shares, percentage of their portfolio. Different endpoint examples are provided with the Json response for it. You can also use this to identify which ETFs are holding a certain stock.
Mutual Fund Holdings
Information about mutual funds and which stocks they hold. This includes the total owned shares, percentage of their portfolio. Different endpoint examples are provided with the Json response for it. You can also use this to identify which mutual funds are holding a certain stock.
Search Terms and Volumes
Search terms and volumes and trends related to stock searches and stock questions as well as the volume. Use this to find related stocks according to google searches. Compare search volumes and trends over time. Different endpoint examples are provided with the Json response for it. Uses Google SERP, Google Trends, Google ads search volume
- /searchtrends&stock_ticker_symbol=AAPL
- /searchtrends&stock_isin_identifier=US0378331005
https://data.tradefeeds.com/api/v1/searchtrends
?key=YOUR-KEY
&stock_ticker_symbol=AAPL
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
},
"terms": {
"search_term": "apple stock"
"search_question": "is apple a good stock to buy?"
},
"output": {
"related_term": "apple stock predictions 2025"
"related_term_volume": "20000"
"related_term": "microsoft stock"
"related_term_volume": "8700000"
"related_term": "amazon stock"
"related_term_volume": "1100000"
"related_term": "apple stock price"
"related_term_volume": "1350000"
"related_question": "can apple stock reach 1000?"
"related_question_volume": "13200"
"related_question": "should I buy apple stock 2021?"
"related_question_volume": "32000"
},
}
[
}
https://data.tradefeeds.com/api/v1/searchtrends
?key=YOUR-KEY
&isin_identifier=US0378331005
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
},
"terms": {
"search_term": "apple stock"
"search_question": "is apple a good stock to buy?"
},
"output": {
"related_term": "apple stock predictions 2025"
"related_term_volume": "20000"
"related_term": "microsoft stock"
"related_term_volume": "8700000"
"related_term": "amazon stock"
"related_term_volume": "1100000"
"related_term": "apple stock price"
"related_term_volume": "1350000"
"related_question": "can apple stock reach 1000?"
"related_question_volume": "13200"
"related_question": "should I buy apple stock 2021?"
"related_question_volume": "32000"
},
}
[
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
| Objects | Description |
| stock_ticker_symbol | Ticker of the security for which you want search trends and volumes |
| exchange | The exchange platform where the security trades on |
| stock_isin_identifier | ISIN of the security for which you want search trends and volumes |
| date_from | Set the date range from whitin which you want the results |
| date_to | Set the date range from whitin which you want the results |
API Response Objects
| Response Objects | Description |
| name | Name of the company or Fund |
| stock_ticker_symbol | Ticker symbol of security |
| exchange | Exchange where the security is trade on |
| stock_isin_identifier | ISIN identifier of security |
| search_term | Search terms we have available (apple stock price, …) |
| search_question | Search questions we have available (is apple stock worth buying?, …) |
| related_terms | Terms searched by people, related to original search term (fb stock price, amazon stock price, …) |
| related_questions | Questions related to the original search question (why apple stock price is so expensive?, …) |
| stock_ticker_symbol | The ticker symbol of the stock security |
| search_term_volume | Volume per month of original search term |
| related_ search_term_volume | Volume per month of related search terms |
| search_question_volume | Volume per month of original search question |
| related_search_question_volume | Volume per month of related search question |
| Search_term_trend | Volume currently compared to 12 month average. For more details, you need to use date ranges and build this data yourself |
HTTP Status Codes
100 - 199: Informational Responses
For example, 102 indicates the resource is being processed.
300 - 399: Redirects
For example, 301 means Moved permanently.
Purpose: Error Handling
400 - 499: Client-side Errors
400 means bad request and 404 means resource not found.
500 - 599: Server-side Errors
For example, 500 means an internal server error.
SDKs
URL url = new URL(“https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL“);
try (BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream(), “UTF-8”))) {
for (String line; (line = reader.readLine()) != null;) {
System.out.println(line);
}
}
set_time_limit(0);
$url_info = “https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL“;
$channel = curl_init();
curl_setopt($channel, CURLOPT_AUTOREFERER, TRUE);
curl_setopt($channel, CURLOPT_HEADER, 0);
curl_setopt($channel, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($channel, CURLOPT_URL, $url_info);
curl_setopt($channel, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($channel, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
curl_setopt($channel, CURLOPT_TIMEOUT, 0);
curl_setopt($channel, CURLOPT_CONNECTTIMEOUT, 0);
curl_setopt($channel, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($channel, CURLOPT_SSL_VERIFYPEER, FALSE);
$output = curl_exec($channel);
if (curl_error($channel)) {
return ‘error:’ . curl_error($channel);
} else {
$outputJSON = json_decode($output);
var_dump($outputJSON);
}
const https = require(‘https’)
const options = {
hostname: ‘data.tradefeeds.com’,
port: 443,
path: ‘/api/v1/company_ratings?key=APIKEY&ticker=AAPL‘
method: ‘GET’
}
const req = https.request(options, (res) => {
res.on(‘data’, (d) => {
process.stdout.write(d)
})
})
req.on(‘error’, (error) => {
console.error(error)
})
req.end()
#!/usr/bin/env python
try:
# For Python 3.0 and later
from urllib.request import urlopen
except ImportError:
# Fall back to Python 2’s urllib2
from urllib2 import urlopen
import json
def get_jsonparsed_data(url):
“””
Receive the content of “url“, parse it as JSON and return the object.
Parameters
———-
url : str
Returns
——-
dict
“””
response = urlopen(url)
data = response.read().decode(“utf-8”)
return json.loads(data)
url = (“https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL”)
print(get_jsonparsed_data(url))
package main
import (
“fmt”
“io/ioutil”
“log”
“net/http”
)
func main() {
url := “https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL”
response, err := http.Get(url)
if err != nil {
log.Fatal(err)
}
defer response.Body.Close()
responseData, err := ioutil.ReadAll(response.Body)
if err != nil {
log.Fatal(err)
}
responseString := string(responseData)
fmt.Println(responseString)
}
require ‘net/http’
require ‘uri’
uri = URI.parse(“https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL”)
request = Net::HTTP::Get.new(uri)
request[“Upgrade-Insecure-Requests”] = “1”
req_options = {
use_ssl: uri.scheme == “https”,
}
response = Net::HTTP.start(uri.hostname, uri.port, req_options) do |http|
http.request(request)
end
# response.code
# response.body
using (var httpClient = new HttpClient())
{
using (var request = new HttpRequestMessage(new HttpMethod(“GET”), “https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL”))
{
request.Headers.TryAddWithoutValidation(“Upgrade-Insecure-Requests”, “1”);
var response = await httpClient.SendAsync(request);
}
}
require(httr)
headers = c(
`Upgrade-Insecure-Requests` = ‘1’,
)
params = list(
`datatype` = ‘json’
)
res <- httr::GET(url = ‘https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL’, httr::add_headers(.headers=headers), query = params)
version: 2
requests:
curl_converter:
request:
url: ‘https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL’
method: GET
headers:
–
name: Upgrade-Insecure-Requests
value: ‘1’
–
queryString:
–
name: datatype
value: json
use reqwest::blocking::Client;
use reqwest::header::{HeaderMap, UPGRADE_INSECURE_REQUESTS};
use std::error::Error;
fn main() -> Result<(), Box<dyn Error>> {
let mut headers = HeaderMap::new();
headers.insert(UPGRADE_INSECURE_REQUESTS, “1”.parse()?);
let client = Client::new();
let res = client
.get(“https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL”)
.headers(headers)
.send()?
.text()?;
println!(“{}”, res);
Ok(())
}
import PlaygroundSupport
import Foundation
let url = URL(string: “https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL”)
var request = URLRequest(url: url!)
request.addValue(“application/json”, forHTTPHeaderField: “Accept”)
let task = URLSession.shared.dataTask(with: url!) { data, response, error in
guard error == nil else {
print(error!)
return
}
guard let data = data else {
print(“Data is empty”)
return
}
let json = try! JSONSerialization.jsonObject(with: data, options: [])
print(json)
}
task.resume()
PlaygroundPage.current.needsIndefiniteExecution = true
import scala.io.Source.fromURL
val json = fromURL(“https://data.tradefeeds.com/api/v1/company_ratings?key=APIKEY&ticker=AAPL”).mkString
print(json)
