Table of Contents
Stock and Company Identification Numbers API
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.
- /identifiers&stock_ticker_symbol=AAPL
- /identifiers&stock_ticker_symbol=AAPL, GOOG, AMZN, ...
- /identifiers&isin_identifier=US0378331005
- /identifiers&cik_code=0000320193
- /identifiers&cusip_number=037833100
- /identifiers&employer_id=942404110
https://data.tradefeeds.com/api/v1/identifiers
?key=YOUR-KEY
&stock_ticker_symbol=aapl
{
"status": {
"message": "Success"
},
"results": [
{
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"cik_code": "0000320193"
"cusip_number": "037833100"
"employer_id": "942404110"
"exchange": "nasdaq"
"ipo_date": "1980:11:12"
"founded_date": "1976:04:01"
"industry": "technology"
"sector": "consumer electronics"
}
[
}
https://data.tradefeeds.com/api/v1/identifiers
?key=YOUR-KEY
&stock_ticker_symbol=aapl,fb
{
"status": {
"message": "Success"
},
"results": [
{
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"cik_code": "0000320193"
"cusip_number": "037833100"
"employer_id": "942404110"
"exchange": "nasdaq"
"ipo_date": "1980:11:12"
"founded_date": "1976:04:01"
"industry": "technology"
"sector": "consumer electronics"
},
"name": "Facebook, Inc",
"stock_ticker_symbol": "FB"
"isin_identifier": "US30303M1027"
"cik_code": "0001326801"
"cusip_number": "30303M102"
"employer_id": "201665019"
"exchange": "nasdaq"
"ipo_date": "2012:05:18"
"founded_date": "2004:01:04"
"industry": "Internet Content & Information"
"sector": "Communication Services"
}
[
}
https://data.tradefeeds.com/api/v1/identifiers
?key=YOUR-KEY
&isin_identifier=US0378331005
{
"status": {
"message": "Success"
},
"results": [
{
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"cik_code": "0000320193"
"cusip_number": "037833100"
"employer_id": "942404110"
"exchange": "nasdaq"
"ipo_date": "1980:11:12"
"founded_date": "1976:04:01"
"industry": "technology"
"sector": "consumer electronics"
}
[
}
https://data.tradefeeds.com/api/v1/identifiers
?key=YOUR-KEY
&cik_code=0000320193
{
"status": {
"message": "Success"
},
"results": [
{
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"cik_code": "0000320193"
"cusip_number": "037833100"
"employer_id": "942404110"
"exchange": "nasdaq"
"ipo_date": "1980:11:12"
"founded_date": "1976:04:01"
"industry": "technology"
"sector": "consumer electronics"
}
[
}
https://data.tradefeeds.com/api/v1/identifiers
?key=YOUR-KEY
&cusip_number=037833100
{
"status": {
"message": "Success"
},
"results": [
{
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"cik_code": "0000320193"
"cusip_number": "037833100"
"employer_id": "942404110"
"exchange": "nasdaq"
"ipo_date": "1980:11:12"
"founded_date": "1976:04:01"
"industry": "technology"
"sector": "consumer electronics"
}
[
}
https://data.tradefeeds.com/api/v1/identifiers
?key=YOUR-KEY
&employer_id=942404110
{
"status": {
"message": "Success"
},
"results": [
{
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"cik_code": "0000320193"
"cusip_number": "037833100"
"employer_id": "942404110"
"exchange": "nasdaq"
"ipo_date": "1980:11:12"
"founded_date": "1976:04:01"
"industry": "technology"
"sector": "consumer electronics"
}
[
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
Objects | Description |
stock_ticker_symbol | Stock for which you want output |
isin_identifier | International Securities Identification Number. universally recognizable |
cik_code | Identify corporations and individuals who have filed disclosure with the SEC |
cusip_number | identifies most financial instruments. Helps with clearance and settlements |
employer_id | Federal Tax Identification Number (EIN) |
. | . |
. | . |
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 |
cik_code | Identify corporations and individuals who have filed disclosure with the SEC |
cusip_number | identifies most financial instruments. Helps with clearance and settlements |
employer_id | Federal Tax Identification Number (EIN) |
exchange_platform | Exchanged where this security is traded on |
ipo_date | Date of security’s IPO |
founded_date | Date of founding of company |
industry | Industries this security is classified under |
sector | Sectors this security is classified under |
Commodity Prices
Various endpoint examples of the commodity prices API, including metals, energy, agricultural, industrial, livestock data.
- API-key&category=energy
- API-key&name=coal
- API-key&category=metals
- API-key&name=gold
- API-key&category=agricultural
- API-key&name=coffee
- API-key&category=livestock
- API-key&name=beef
- API-key&category=industrial
- API-key&name=bitumen
https://data.tradefeeds.com/api/v1/commodity_prices
?key=API-KEY
&category=energy
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"category": "energy",
"name": "brent",
"unit": "usd/bbl",
"price": "91.813",
"daypricechange": "1.047",
"daychange": "-1.13%",
"weekchange": "-1.98%",
"monthchange": "3.63%",
"yearchange": "13.01%",
"22q4": "108.705",
"23q1": "112.753",
"23q2": "98.899",
"23q3": "101.725",
"date": "2022:11:17"
},
{
"category": "energy",
"name": "coal",
"unit": "usd/t",
"price": "332.55",
"daypricechange": "8.45",
"daychange": "-2.48%",
"weekchange": "0.77%",
"monthchange": "-15.20%",
"yearchange": "121.48%",
"22q4": "368.524",
"23q1": "391.94",
"23q2": "334.538",
"23q3": "351.987",
"date": "2022:11:16"
},
{
"category": "energy",
"name": "crude oil",
"unit": "usd/bbl",
"price": "84.042",
"daypricechange": "1.548",
"daychange": "-1.81%",
"weekchange": "-2.81%",
"monthchange": "2.40%",
"yearchange": "8.37%",
"22q4": "99.27",
"23q1": "105.168",
"23q2": "93.987",
"23q3": "97.144",
"date": "2022:11:17"
},
{
"category": "energy",
"name": "ethanol",
"unit": "usd/gal",
"price": "2.57",
"daypricechange": "0.0200",
"daychange": "-0.77%",
"weekchange": "-5.86%",
"monthchange": "6.42%",
"yearchange": "-23.51%",
"22q4": "2.949",
"23q1": "3.014",
"23q2": "2.683",
"23q3": "2.842",
"date": "2022:11:16"
},
{
"category": "energy",
"name": "gasoline",
"unit": "usd/gal",
"price": "2.4747",
"daypricechange": "0.0333",
"daychange": "-1.33%",
"weekchange": "-3.57%",
"monthchange": "2.80%",
"yearchange": "11.29%",
"22q4": "2.919",
"23q1": "3.057",
"23q2": "2.722",
"23q3": "2.842",
"date": "2022:11:17"
},
{
"category": "energy",
"name": "heating oil",
"unit": "usd/gal",
"price": "3.5648",
"daypricechange": "0.0488",
"daychange": "-1.35%",
"weekchange": "-0.13%",
"monthchange": "-1.77%",
"yearchange": "50.75%",
"22q4": "4.056",
"23q1": "4.148",
"23q2": "3.704",
"23q3": "3.844",
"date": "2022:11:17"
},
{
"category": "energy",
"name": "methanol",
"unit": "cny/t",
"price": "2630",
"daypricechange": "39.00",
"daychange": "-1.46%",
"weekchange": "1.04%",
"monthchange": "-5.33%",
"yearchange": "2.85%",
"22q4": "2887.857",
"23q1": "2978.571",
"23q2": "2724.457",
"23q3": "2803.418",
"date": "2022:11:17"
},
{
"category": "energy",
"name": "naphtha",
"unit": "usd/t",
"price": "686",
"daypricechange": "0.02",
"daychange": "0.00%",
"weekchange": "2.76%",
"monthchange": "3.19%",
"yearchange": "-7.62%",
"22q4": "758.04",
"23q1": "766.553",
"23q2": "699.63",
"23q3": "733.853",
"date": "2022:11:16"
},
{
"category": "energy",
"name": "natural gas",
"unit": "usd/mmbtu",
"price": "6.247",
"daypricechange": "0.0470",
"daychange": "0.76%",
"weekchange": "0.13%",
"monthchange": "0.16%",
"yearchange": "27.39%",
"22q4": "7.071",
"23q1": "7.632",
"23q2": "6.27",
"23q3": "6.761",
"date": "2022:11:17"
},
{
"category": "energy",
"name": "propane",
"unit": "usd/gal",
"price": "0.87",
"daypricechange": "0.00",
"daychange": "-0.51%",
"weekchange": "0.26%",
"monthchange": "5.14%",
"yearchange": "-31.22%",
"22q4": "0.978",
"23q1": "1.015",
"23q2": "0.927",
"23q3": "0.943",
"date": "2022:11:16"
},
{
"category": "energy",
"name": "ttf gas",
"unit": "eur/mwh",
"price": "109.6",
"daypricechange": "4.30",
"daychange": "-3.78%",
"weekchange": "-3.40%",
"monthchange": "-3.20%",
"yearchange": "15.17%",
"22q4": "137.774",
"23q1": "152.661",
"23q2": "108.217",
"23q3": "120.215",
"date": "2022:11:17"
},
{
"category": "energy",
"name": "uk gas",
"unit": "gbp/thm",
"price": "257.66",
"daypricechange": "12.0700",
"daychange": "-4.47%",
"weekchange": "-3.28%",
"monthchange": "27.87%",
"yearchange": "7.45%",
"22q4": "355.12",
"23q1": "395.554",
"23q2": "269.746",
"23q3": "301.736",
"date": "2022:11:17"
},
{
"category": "energy",
"name": "urals oil",
"unit": "usd/bbl",
"price": "73.14",
"daypricechange": "2.13",
"daychange": "-2.83%",
"weekchange": "-3.55%",
"monthchange": "0.79%",
"yearchange": "-8.88%",
"22q4": "88.045",
"23q1": "92.592",
"23q2": "80.212",
"23q3": "82.472",
"date": "2022:11:16"
},
{
"category": "energy",
"name": "uranium",
"unit": "usd/lbs",
"price": "50.65",
"daypricechange": "0.0500",
"daychange": "0.10%",
"weekchange": "0.10%",
"monthchange": "-0.69%",
"yearchange": "5.41%",
"22q4": "53.264",
"23q1": "54.901",
"23q2": "52.782",
"23q3": "52.023",
"date": "2022:11:16"
}
]
}
}
https://data.tradefeeds.com/api/v1/commodity_prices
?key=API-KEY
&name=coal
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"category": "energy",
"name": "coal",
"unit": "usd/t",
"price": "332.55",
"daypricechange": "8.45",
"daychange": "-2.48%",
"weekchange": "0.77%",
"monthchange": "-15.20%",
"yearchange": "121.48%",
"22q4": "368.524",
"23q1": "391.94",
"23q2": "334.538",
"23q3": "351.987",
"date": "2022:11:16"
}
]
}
}
https://data.tradefeeds.com/api/v1/commodity_prices
?key=API-KEY
&category=metals
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"category": "metals",
"name": "copper",
"unit": "usd/lbs",
"price": "3.734",
"daypricechange": "0.0540",
"daychange": "-1.43%",
"weekchange": "-1.63%",
"monthchange": "10.44%",
"yearchange": "-13.25%",
"22q4": "3.683",
"23q1": "3.668",
"23q2": "3.828",
"23q3": "3.796",
"date": "2022:11:17"
},
{
"category": "metals",
"name": "gold",
"unit": "usd/t.oz",
"price": "1763.51",
"daypricechange": "10.26",
"daychange": "-0.58%",
"weekchange": "0.50%",
"monthchange": "6.68%",
"yearchange": "-5.11%",
"22q4": "1691.197",
"23q1": "1720.867",
"23q2": "1774.655",
"23q3": "1712.009",
"date": "2022:11:17"
},
{
"category": "metals",
"name": "hrc steel",
"unit": "usd/t",
"price": "662",
"daypricechange": "4.00",
"daychange": "-0.60%",
"weekchange": "-0.30%",
"monthchange": "-12.32%",
"yearchange": "-63.18%",
"22q4": "572.51",
"23q1": "546.602",
"23q2": "635.969",
"23q3": "604.271",
"date": "2022:11:16"
},
{
"category": "metals",
"name": "iron ore",
"unit": "usd/t",
"price": "99",
"daypricechange": "2.00",
"daychange": "2.06%",
"weekchange": "8.20%",
"monthchange": "4.21%",
"yearchange": "16.47%",
"22q4": "104.052",
"23q1": "107.395",
"23q2": "95.981",
"23q3": "97.81",
"date": "2022:11:16"
},
{
"category": "metals",
"name": "lithium",
"unit": "cny/t",
"price": "592500",
"daypricechange": "0",
"daychange": "0.00%",
"weekchange": "0.00%",
"monthchange": "9.22%",
"yearchange": "200.00%",
"22q4": "609502.893",
"23q1": "614680.631",
"23q2": "595208.785",
"23q3": "616249.671",
"date": "2022:11:17"
},
{
"category": "metals",
"name": "platinum",
"unit": "usd/t.oz",
"price": "990.49",
"daypricechange": "15.52",
"daychange": "-1.54%",
"weekchange": "-4.03%",
"monthchange": "9.14%",
"yearchange": "-5.49%",
"22q4": "948.883",
"23q1": "936.603",
"23q2": "1009.948",
"23q3": "966.94",
"date": "2022:11:17"
},
{
"category": "metals",
"name": "silver",
"unit": "usd/t.oz",
"price": "21.05",
"daypricechange": "0.426",
"daychange": "-1.98%",
"weekchange": "-2.84%",
"monthchange": "12.20%",
"yearchange": "-15.05%",
"22q4": "19.961",
"23q1": "19.541",
"23q2": "21.345",
"23q3": "20.468",
"date": "2022:11:17"
},
{
"category": "metals",
"name": "steel",
"unit": "cny/t",
"price": "3734",
"daypricechange": "23.00",
"daychange": "-0.61%",
"weekchange": "5.18%",
"monthchange": "-0.45%",
"yearchange": "-13.30%",
"22q4": "3314.059",
"23q1": "3299.901",
"23q2": "3462.089",
"23q3": "3436.814",
"date": "2022:11:17"
},
{
"category": "metals",
"name": "titanium",
"unit": "usd/kg",
"price": "9",
"daypricechange": "0.00",
"daychange": "0.00%",
"weekchange": "-18.18%",
"monthchange": "-18.18%",
"yearchange": "24.14%",
"22q4": "13.258",
"23q1": "13.835",
"23q2": "11.472",
"23q3": "12.568",
"date": "2022:11:16"
}
]
}
}
https://data.tradefeeds.com/api/v1/commodity_prices
?key=API-KEY
&name=gold
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"category": "metals",
"name": "gold",
"unit": "usd/t.oz",
"price": "1762.6",
"daypricechange": "11.17",
"daychange": "-0.63%",
"weekchange": "0.45%",
"monthchange": "6.63%",
"yearchange": "-5.16%",
"22q4": "1691.197",
"23q1": "1720.867",
"23q2": "1774.655",
"23q3": "1712.009",
"date": "2022:11:17"
}
]
}
}
https://data.tradefeeds.com/api/v1/commodity_prices
?key=API-KEY
&category=agricultural
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"category": "agricultural",
"name": "butter",
"unit": "eur/t",
"price": "6113",
"daypricechange": "137.00",
"daychange": "-2.19%",
"weekchange": "-2.74%",
"monthchange": "-13.29%",
"yearchange": "13.20%",
"22q4": "6533.656",
"23q1": "6678.073",
"23q2": "6488.226",
"23q3": "6578.95",
"date": "2022:11:16"
},
{
"category": "agricultural",
"name": "canola",
"unit": "cad/t",
"price": "871.6",
"daypricechange": "10.80",
"daychange": "-1.22%",
"weekchange": "-2.76%",
"monthchange": "1.30%",
"yearchange": "-14.05%",
"22q4": "832.931",
"23q1": "815.375",
"23q2": "864.087",
"23q3": "859.141",
"date": "2022:11:17"
},
{
"category": "agricultural",
"name": "cheese",
"unit": "usd/lbs",
"price": "2.092",
"daypricechange": "0.0060",
"daychange": "0.29%",
"weekchange": "0.10%",
"monthchange": "-3.24%",
"yearchange": "19.89%",
"22q4": "2.242",
"23q1": "2.256",
"23q2": "2.107",
"23q3": "2.205",
"date": "2022:11:16"
},
{
"category": "agricultural",
"name": "cocoa",
"unit": "usd/t",
"price": "2466",
"daypricechange": "37.00",
"daychange": "-1.48%",
"weekchange": "-3.60%",
"monthchange": "6.98%",
"yearchange": "-3.37%",
"22q4": "2746.13",
"23q1": "2739.783",
"23q2": "2624.331",
"23q3": "2598.129",
"date": "2022:11:17"
},
{
"category": "agricultural",
"name": "coffee",
"unit": "usd/lbs",
"price": "151.5",
"daypricechange": "3.95",
"daychange": "-2.54%",
"weekchange": "-11.40%",
"monthchange": "-22.35%",
"yearchange": "-33.83%",
"22q4": "154.799",
"23q1": "149.5",
"23q2": "167.994",
"23q3": "157.72",
"date": "2022:11:17"
},
{
"category": "agricultural",
"name": "corn",
"unit": "usd/bu",
"price": "657.909",
"daypricechange": "7.3407",
"daychange": "-1.10%",
"weekchange": "0.71%",
"monthchange": "-3.39%",
"yearchange": "14.82%",
"22q4": "717.346",
"23q1": "747.432",
"23q2": "688.495",
"23q3": "694.065",
"date": "2022:11:17"
},
{
"category": "agricultural",
"name": "cotton",
"unit": "usd/lbs",
"price": "85.16",
"daypricechange": "1.60",
"daychange": "-1.84%",
"weekchange": "0.71%",
"monthchange": "4.57%",
"yearchange": "-27.58%",
"22q4": "76.54",
"23q1": "74.167",
"23q2": "82.933",
"23q3": "78.485",
"date": "2022:11:17"
},
{
"category": "agricultural",
"name": "lumber",
"unit": "usd/1000 board feet",
"price": "430",
"daypricechange": "24.80",
"daychange": "-5.45%",
"weekchange": "-6.52%",
"monthchange": "-15.62%",
"yearchange": "-39.61%",
"22q4": "369",
"23q1": "351.81",
"23q2": "427.82",
"23q3": "401.985",
"date": "2022:11:16"
},
{
"category": "agricultural",
"name": "milk",
"unit": "usd/cwt",
"price": "20.98",
"daypricechange": "0.01",
"daychange": "-0.05%",
"weekchange": "-0.10%",
"monthchange": "-3.58%",
"yearchange": "16.69%",
"22q4": "22.3",
"23q1": "23.081",
"23q2": "21.415",
"23q3": "21.603",
"date": "2022:11:16"
},
{
"category": "agricultural",
"name": "oat",
"unit": "usd/bu",
"price": "395.5",
"daypricechange": "2.5000",
"daychange": "-0.63%",
"weekchange": "3.94%",
"monthchange": "1.67%",
"yearchange": "-46.52%",
"22q4": "333.372",
"23q1": "310.591",
"23q2": "366.817",
"23q3": "342.041",
"date": "2022:11:16"
},
{
"category": "agricultural",
"name": "orange juice",
"unit": "usd/lbs",
"price": "199.25",
"daypricechange": "3.40",
"daychange": "-1.68%",
"weekchange": "-4.30%",
"monthchange": "-4.53%",
"yearchange": "57.26%",
"22q4": "223.137",
"23q1": "230.425",
"23q2": "206.993",
"23q3": "214.582",
"date": "2022:11:17"
},
{
"category": "agricultural",
"name": "palm oil",
"unit": "myr/t",
"price": "3850",
"daypricechange": "172.00",
"daychange": "-4.28%",
"weekchange": "-7.85%",
"monthchange": "-4.01%",
"yearchange": "-22.97%",
"22q4": "3699.331",
"23q1": "3609.704",
"23q2": "4058.503",
"23q3": "3851.979",
"date": "2022:11:17"
},
{
"category": "agricultural",
"name": "potatoes",
"unit": "eur/100kg",
"price": "22",
"daypricechange": "0.00",
"daychange": "0.00%",
"weekchange": "0.00%",
"monthchange": "4.76%",
"yearchange": "51.72%",
"22q4": "25.656",
"23q1": "26.92",
"23q2": "22.818",
"23q3": "23.839",
"date": "2022:11:16"
},
{
ETC
https://data.tradefeeds.com/api/v1/commodity_prices
?key=API-KEY
&name=coffee
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"category": "agricultural",
"name": "coffee",
"unit": "usd/lbs",
"price": "151.8",
"daypricechange": "3.65",
"daychange": "-2.35%",
"weekchange": "-11.23%",
"monthchange": "-22.19%",
"yearchange": "-33.70%",
"22q4": "154.799",
"23q1": "149.5",
"23q2": "167.994",
"23q3": "157.72",
"date": "2022:11:17"
}
]
}
}
https://data.tradefeeds.com/api/v1/commodity_prices
?key=API-KEY
&category=livestock
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"category": "livestock",
"name": "beef",
"unit": "brl/kg",
"price": "19.77",
"daypricechange": "0.13",
"daychange": "-0.65%",
"weekchange": "-0.70%",
"monthchange": "0.15%",
"yearchange": "-1.54%",
"22q4": "20.045",
"23q1": "20.579",
"23q2": "20.463",
"23q3": "20.534",
"date": "2022:11:16"
},
{
"category": "livestock",
"name": "eggs ch",
"unit": "cny/t",
"price": "5223",
"daypricechange": "57.00",
"daychange": "-1.08%",
"weekchange": "-1.00%",
"monthchange": "4.46%",
"yearchange": "6.05%",
"22q4": "5673.956",
"23q1": "5992.041",
"23q2": "5513.925",
"23q3": "5671.088",
"date": "2022:11:17"
},
{
"category": "livestock",
"name": "eggs us",
"unit": "usd/dozen",
"price": "3.71",
"daypricechange": "0.00",
"daychange": "0.00%",
"weekchange": "6.61%",
"monthchange": "32.97%",
"yearchange": "282.47%",
"22q4": "4.483",
"23q1": "4.804",
"23q2": "3.803",
"23q3": "4.167",
"date": "2022:11:16"
},
{
"category": "livestock",
"name": "feeder cattle",
"unit": "usd/lbs",
"price": "175.7",
"daypricechange": "0.0250",
"daychange": "0.01%",
"weekchange": "-1.14%",
"monthchange": "-0.40%",
"yearchange": "10.56%",
"22q4": "185.722",
"23q1": "193.78",
"23q2": "183.464",
"23q3": "185.708",
"date": "2022:11:16"
},
{
"category": "livestock",
"name": "lean hogs",
"unit": "usd/lbs",
"price": "85.575",
"daypricechange": "0.2500",
"daychange": "0.29%",
"weekchange": "0.35%",
"monthchange": "0.74%",
"yearchange": "12.34%",
"22q4": "93.276",
"23q1": "95.027",
"23q2": "87.182",
"23q3": "91.348",
"date": "2022:11:16"
},
{
"category": "livestock",
"name": "live cattle",
"unit": "usd/lbs",
"price": "151.8",
"daypricechange": "0.5250",
"daychange": "0.35%",
"weekchange": "0.15%",
"monthchange": "1.74%",
"yearchange": "14.80%",
"22q4": "157.599",
"23q1": "155.821",
"23q2": "152.368",
"23q3": "152.166",
"date": "2022:11:16"
},
{
"category": "livestock",
"name": "poultry",
"unit": "brl/kgs",
"price": "8.1",
"daypricechange": "0.00",
"daychange": "0.00%",
"weekchange": "0.00%",
"monthchange": "-0.12%",
"yearchange": "7.57%",
"22q4": "8.397",
"23q1": "8.684",
"23q2": "8.084",
"23q3": "8.53",
"date": "2022:11:16"
},
{
"category": "livestock",
"name": "salmon",
"unit": "nok/kg",
"price": "84.56",
"daypricechange": "0.71",
"daychange": "-0.83%",
"weekchange": "-0.83%",
"monthchange": "-3.90%",
"yearchange": "44.15%",
"22q4": "104.82",
"23q1": "108.923",
"23q2": "90.398",
"23q3": "96.7",
"date": "2022:11:16"
}
]
}
}
https://data.tradefeeds.com/api/v1/commodity_prices
?key=API-KEY
&name=beef
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"category": "livestock",
"name": "beef",
"unit": "brl/kg",
"price": "19.77",
"daypricechange": "0.13",
"daychange": "-0.65%",
"weekchange": "-0.70%",
"monthchange": "0.15%",
"yearchange": "-1.54%",
"22q4": "20.045",
"23q1": "20.579",
"23q2": "20.463",
"23q3": "20.534",
"date": "2022:11:16"
}
]
}
}
https://data.tradefeeds.com/api/v1/commodity_prices
?key=API-KEY
&category=industrial
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"category": "industrial",
"name": "aluminum",
"unit": "usd/t",
"price": "2381",
"daypricechange": "31.00",
"daychange": "-1.29%",
"weekchange": "2.32%",
"monthchange": "8.57%",
"yearchange": "-8.98%",
"22q4": "2263.035",
"23q1": "2235.307",
"23q2": "2358.188",
"23q3": "2339.572",
"date": "2022:11:17"
},
{
"category": "industrial",
"name": "bitumen",
"unit": "cny/t",
"price": "3750",
"daypricechange": "2.00",
"daychange": "0.05%",
"weekchange": "-17.94%",
"monthchange": "-9.81%",
"yearchange": "24.58%",
"22q4": "4380.557",
"23q1": "4560.119",
"23q2": "4071.532",
"23q3": "4176.263",
"date": "2022:11:17"
},
{
"category": "industrial",
"name": "cobalt",
"unit": "usd/t",
"price": "51955",
"daypricechange": "0",
"daychange": "0.00%",
"weekchange": "0.00%",
"monthchange": "0.00%",
"yearchange": "-15.59%",
"22q4": "49041.51",
"23q1": "47177.509",
"23q2": "51545.871",
"23q3": "50806.341",
"date": "2022:11:16"
},
{
"category": "industrial",
"name": "di-ammonium",
"unit": "usd/t",
"price": "692.5",
"daypricechange": "0.00",
"daychange": "0.00%",
"weekchange": "1.47%",
"monthchange": "-5.40%",
"yearchange": "-3.15%",
"22q4": "645.778",
"23q1": "643.228",
"23q2": "679.095",
"23q3": "651.134",
"date": "2022:11:16"
},
{
"category": "industrial",
"name": "gallium",
"unit": "cny/kg",
"price": "1695",
"daypricechange": "0.00",
"daychange": "0.00%",
"weekchange": "-11.95%",
"monthchange": "-30.10%",
"yearchange": "-23.82%",
"22q4": "1809.904",
"23q1": "1786.335",
"23q2": "1897.693",
"23q3": "1857.096",
"date": "2022:11:16"
},
{
"category": "industrial",
"name": "germanium",
"unit": "cny/kg",
"price": "7400",
"daypricechange": "0",
"daychange": "0.00%",
"weekchange": "0.00%",
"monthchange": "1.37%",
"yearchange": "-18.68%",
"22q4": "7348.819",
"23q1": "7282.637",
"23q2": "7228.285",
"23q3": "7475.778",
"date": "2022:11:16"
},
{
"category": "industrial",
"name": "indium",
"unit": "cny/kg",
"price": "1455",
"daypricechange": "30",
"daychange": "2.11%",
"weekchange": "5.82%",
"monthchange": "2.11%",
"yearchange": "-10.74%",
"22q4": "1334.064",
"23q1": "1280.263",
"23q2": "1367.072",
"23q3": "1323.657",
"date": "2022:11:16"
},
{
"category": "industrial",
"name": "iron ore 62% fe",
"unit": "usd/t",
"price": "92.34",
"daypricechange": "0.05",
"daychange": "0.05%",
"weekchange": "5.52%",
"monthchange": "-2.73%",
"yearchange": "-0.45%",
"22q4": "82.268",
"23q1": "80.293",
"23q2": "89.933",
"23q3": "84.377",
"date": "2022:11:16"
},
{
ETC
https://data.tradefeeds.com/api/v1/commodity_prices
?key=API-KEY
&name=bitumen
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"category": "industrial",
"name": "bitumen",
"unit": "cny/t",
"price": "3750",
"daypricechange": "2.00",
"daychange": "0.05%",
"weekchange": "-17.94%",
"monthchange": "-9.81%",
"yearchange": "24.58%",
"22q4": "4380.557",
"23q1": "4560.119",
"23q2": "4071.532",
"23q3": "4176.263",
"date": "2022:11:17"
}
]
}
}
GET Request Parameters
Filter on category or name.
Objects | Description |
category | The category of commodities you’d like to receive data of. Includes all commodities under this category |
name | The name of the commodity you’d like to receive data of. Includes only this commodity |
API Response Objects
Response Objects | Description |
category | Category of the commodity |
name | Name of the commodity |
unit | Unit that the commodity is counted as |
price | Price currently of the commodity |
daypricechange | The change of price of one day |
daychange | Change of price in one day in percentage |
weekchange | Change of price in one week in percentage |
monthchange | Change of price in one month in percentage |
yearchange | Change of price in one year in percentage |
22q4, 23q1, 23q2, 23q3 | Commodity price forecast of future quarters |
date | YYYY:MM:DD format of the date of the commodity price |
Stock Market Index
Price data of indexes and benchmarks of various countries and regions. You can filter on region, country or specific index.
- API-key&country=brazil
- API-key®ion=america
- API-key&benchmark=catsx
https://data.tradefeeds.com/api/v1/stock_index
?key=API-KEY
&country=brazil
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"region": "america",
"country": "brazil",
"benchmark": "ibovespa",
"price": "110243",
"daypricechange": "2,918",
"daychange": "-2.58%",
"weekchange": "-2.94%",
"monthchange": "-2.98%",
"yearchange": "7.09%",
"date": "2022:11:16"
}
]
}
}
https://data.tradefeeds.com/api/v1/stock_index
?key=API-KEY
®ion=america
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"region": "america",
"country": "argentina",
"benchmark": "merval",
"price": "154109",
"daypricechange": "1,050",
"daychange": "-0.68%",
"weekchange": "7.70%",
"monthchange": "10.91%",
"yearchange": "76.04%",
"date": "2022:11:16"
},
{
"region": "america",
"country": "bermuda",
"benchmark": "bsx",
"price": "2357",
"daypricechange": "27",
"daychange": "1.15%",
"weekchange": "1.04%",
"monthchange": "-5.80%",
"yearchange": "-13.53%",
"date": "2022:11:15"
},
{
"region": "america",
"country": "brazil",
"benchmark": "ibovespa",
"price": "110243",
"daypricechange": "2,918",
"daychange": "-2.58%",
"weekchange": "-2.94%",
"monthchange": "-2.98%",
"yearchange": "7.09%",
"date": "2022:11:16"
},
{
"region": "america",
"country": "canada",
"benchmark": "catsx",
"price": "19958",
"daypricechange": "37",
"daychange": "-0.18%",
"weekchange": "3.17%",
"monthchange": "7.18%",
"yearchange": "-7.83%",
"date": "2022:11:16"
},
{
"region": "america",
"country": "chile",
"benchmark": "igpa",
"price": "28532",
"daypricechange": "218",
"daychange": "0.77%",
"weekchange": "-1.83%",
"monthchange": "3.14%",
"yearchange": "32.70%",
"date": "2022:11:17"
},
{
"region": "america",
"country": "colombia",
"benchmark": "colcap",
"price": "1279",
"daypricechange": "6",
"daychange": "-0.49%",
"weekchange": "2.36%",
"monthchange": "7.59%",
"yearchange": "-3.88%",
"date": "2022:11:16"
},
{
"region": "america",
"country": "ecuador",
"benchmark": "ecuador general",
"price": "1251",
"daypricechange": "8",
"daychange": "-0.61%",
"weekchange": "-0.90%",
"monthchange": "0.71%",
"yearchange": "6.65%",
"date": "2022:11:16"
},
{
"region": "america",
"country": "jamaica",
"benchmark": "jse",
"price": "357060",
"daypricechange": "1,181",
"daychange": "0.33%",
"weekchange": "-1.37%",
"monthchange": "-3.01%",
"yearchange": "-11.05%",
"date": "2022:11:16"
},
{
"region": "america",
"country": "mexico",
"benchmark": "ipc mexico",
"price": "51545",
"daypricechange": "111",
"daychange": "-0.21%",
"weekchange": "1.98%",
"monthchange": "11.52%",
"yearchange": "0.98%",
"date": "2022:11:16"
},
{
"region": "america",
"country": "panama",
"benchmark": "bvpsi",
"price": "391",
"daypricechange": "2",
"daychange": "0.49%",
"weekchange": "0.86%",
"monthchange": "-0.04%",
"yearchange": "2.12%",
"date": "2022:11:16"
},
{
"region": "america",
"country": "peru",
"benchmark": "peru general",
"price": "22140",
"daypricechange": "163",
"daychange": "-0.73%",
"weekchange": "1.50%",
"monthchange": "10.27%",
"yearchange": "10.19%",
"date": "2022:11:16"
},
{
"region": "america",
"country": "united states",
"benchmark": "usndx",
"price": "11597.8",
"daypricechange": "101.26",
"daychange": "-0.87%",
"weekchange": "-0.07%",
"monthchange": "4.04%",
"yearchange": "-29.64%",
"date": "2022:11:17"
},
{
"region": "america",
"country": "venezuela",
"benchmark": "ibc",
"price": "10811",
"daypricechange": "164",
"daychange": "1.54%",
"weekchange": "16.47%",
"monthchange": "16.99%",
"yearchange": "81.13%",
"date": "2022:11:16"
}
]
}
}
https://data.tradefeeds.com/api/v1/stock_index
?key=API-KEY
&benchmark=catsx
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"region": "america",
"country": "canada",
"benchmark": "catsx",
"price": "19958",
"daypricechange": "37",
"daychange": "-0.18%",
"weekchange": "3.17%",
"monthchange": "7.18%",
"yearchange": "-7.83%",
"date": "2022:11:16"
}
]
}
}
GET Request Parameters
Filter on region, country or benchmark.
Objects | Description |
region | The region you’d like to receive data of. Includes all benchmarks/indexes in this region |
country | The country you’d like to receive data of. Includes all benchmarks/indexes in this country (usually 1) |
benchmark | The specific benchmark you’d like to receive the data of |
API Response Objects
Response Objects | Description |
region | Region where this benchmark/index is categorised in |
country | Country where this benchmark/index is in |
benchmark | Name of the specific benchmark/index |
price | Price currently of the commodity |
daypricechange | The change of price of one day |
daychange | Change of price in one day in percentage |
weekchange | Change of price in one week in percentage |
monthchange | Change of price in one month in percentage |
yearchange | Change of price in one year in percentage |
date | YYYY:MM:DD format of the date of the benchmark/index price |
Bond Yields
Bond yields of different regions, countries and specific bond types.
- API-key&country=france
- API-key®ion=asia
- API-key®ion=asia&type=10y
https://data.tradefeeds.com/api/v1/bond_yields
?key=API-KEY
&country=france
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"region": "europe",
"country": "france",
"type": "10Y",
"yield": "2.482",
"daypricechange": "0.0070",
"weekchange": "-0.02%",
"monthchange": "-0.37%",
"yearchange": "2.42%",
"date": "2022:11:17"
}
]
}
}
https://data.tradefeeds.com/api/v1/bond_yields
?key=API-KEY
®ion=asia
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"region": "asia",
"country": "china",
"type": "10Y",
"yield": "2.822",
"daypricechange": "0.0260",
"weekchange": "0.11%",
"monthchange": "0.12%",
"yearchange": "-0.11%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "hong kong",
"type": "10Y",
"yield": "3.547",
"daypricechange": "0.1490",
"weekchange": "-0.50%",
"monthchange": "-0.34%",
"yearchange": "2.06%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "indonesia",
"type": "10Y",
"yield": "7.003",
"daypricechange": "0.0000",
"weekchange": "-0.31%",
"monthchange": "-0.43%",
"yearchange": "0.83%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "israel",
"type": "10Y",
"yield": "3.2",
"daypricechange": "0.0050",
"weekchange": "0.01%",
"monthchange": "-0.18%",
"yearchange": "2.15%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "india",
"type": "10Y",
"yield": "7.283",
"daypricechange": "0.0090",
"weekchange": "-0.06%",
"monthchange": "-0.14%",
"yearchange": "0.94%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "japan",
"type": "10Y",
"yield": "0.244",
"daypricechange": "0.0010",
"weekchange": "-0.01%",
"monthchange": "-0.01%",
"yearchange": "0.16%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "south korea",
"type": "10Y",
"yield": "3.854",
"daypricechange": "0.0370",
"weekchange": "-0.24%",
"monthchange": "-0.42%",
"yearchange": "1.52%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "malaysia",
"type": "10Y",
"yield": "4.281",
"daypricechange": "0.0500",
"weekchange": "-0.23%",
"monthchange": "-0.17%",
"yearchange": "0.71%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "philippines",
"type": "10Y",
"yield": "7.351",
"daypricechange": "0.2450",
"weekchange": "-0.25%",
"monthchange": "0.15%",
"yearchange": "2.33%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "pakistan",
"type": "10Y",
"yield": "12.93",
"daypricechange": "0.0080",
"weekchange": "0.02%",
"monthchange": "0.18%",
"yearchange": "2.07%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "qatar",
"type": "10Y",
"yield": "4.51",
"daypricechange": "0.0210",
"weekchange": "-0.20%",
"monthchange": "-0.46%",
"yearchange": "2.27%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "singapore",
"type": "10Y",
"yield": "3.142",
"daypricechange": "0.0920",
"weekchange": "-0.35%",
"monthchange": "-0.39%",
"yearchange": "1.36%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "thailand",
"type": "10Y",
"yield": "2.69",
"daypricechange": "0.2400",
"weekchange": "-0.24%",
"monthchange": "-0.53%",
"yearchange": "0.70%",
"date": "2022:11:16"
},
{
"region": "asia",
"country": "taiwan",
"type": "10Y",
"yield": "1.62",
"daypricechange": "0.0800",
"weekchange": "-0.13%",
"monthchange": "-0.18%",
"yearchange": "1.08%",
"date": "2022:11:17"
},
{
"region": "asia",
"country": "vietnam",
"type": "10Y",
"yield": "5.129",
"daypricechange": "0.0180",
"weekchange": "-0.04%",
"monthchange": "0.07%",
"yearchange": "3.12%",
"date": "2022:11:17"
}
]
}
}
https://data.tradefeeds.com/api/v1/bond_yields
?key=API-KEY
®ion=europe
&type=10y
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"output": [
{
"region": "europe",
"country": "austria",
"type": "10Y",
"yield": "2.592",
"daypricechange": "0.0050",
"weekchange": "-0.07%",
"monthchange": "-0.41%",
"yearchange": "2.63%",
"date": "2022:11:17"
},
{
"region": "europe",
"country": "belgium",
"type": "10Y",
"yield": "2.571",
"daypricechange": "0.0120",
"weekchange": "0.00%",
"monthchange": "-0.35%",
"yearchange": "2.61%",
"date": "2022:11:17"
},
{
"region": "europe",
"country": "bulgaria",
"type": "10Y",
"yield": "6.2",
"daypricechange": "0.0000",
"weekchange": "0.00%",
"monthchange": "0.00%",
"yearchange": "5.50%",
"date": "2022:11:17"
},
{
"region": "europe",
"country": "switzerland",
"type": "10Y",
"yield": "1.02",
"daypricechange": "0.0150",
"weekchange": "0.04%",
"monthchange": "-0.24%",
"yearchange": "1.16%",
"date": "2022:11:17"
},
{
"region": "europe",
"country": "czech republic",
"type": "10Y",
"yield": "4.959",
"daypricechange": "0.0040",
"weekchange": "-0.09%",
"monthchange": "-0.82%",
"yearchange": "2.20%",
"date": "2022:11:17"
},
{
"region": "europe",
"country": "germany",
"type": "10Y",
"yield": "1.993",
"daypricechange": "0.0080",
"weekchange": "-0.01%",
"monthchange": "-0.29%",
"yearchange": "2.27%",
"date": "2022:11:17"
},
{
"region": "europe",
"country": "denmark",
"type": "10Y",
"yield": "2.253",
"daypricechange": "0.0220",
"weekchange": "-0.01%",
"monthchange": "-0.41%",
"yearchange": "2.22%",
"date": "2022:11:17"
},
{
"region": "europe",
"country": "spain",
"type": "10Y",
"yield": "3.023",
"daypricechange": "0.0080",
"weekchange": "-0.01%",
"monthchange": "-0.40%",
"yearchange": "2.58%",
"date": "2022:11:17"
},
{
"region": "europe",
"country": "finland",
"type": "10Y",
"yield": "2.588",
"daypricechange": "0.0140",
"weekchange": "-0.08%",
"monthchange": "-0.41%",
"yearchange": "2.61%",
"date": "2022:11:17"
},
{
"region": "europe",
"country": "france",
"type": "10Y",
"yield": "2.487",
"daypricechange": "0.0020",
"weekchange": "-0.02%",
"monthchange": "-0.37%",
"yearchange": "2.42%",
"date": "2022:11:17"
},
{
"region": "europe",
"country": "united kingdom",
"type": "10Y",
"yield": "3.183",
"daypricechange": "0.0400",
"weekchange": "-0.10%",
"monthchange": "-0.76%",
"yearchange": "2.26%",
"date": "2022:11:17"
},
{
ETC
GET Request Parameters
Filter on region, country or benchmark.
Objects | Description |
region | The region you’d like to receive data of. Includes all benchmarks/indexes in this region |
country | The country you’d like to receive data of. Includes all benchmarks/indexes in this country (usually 1) |
benchmark | The specific benchmark you’d like to receive the data of |
API Response Objects
Response Objects | Description |
region | Region where this Bond is categorised in |
country | Country where this Bond is in |
type | The type of bond, 2y, 5y, 10y, 20y, etc |
yield | Yield currently of the bond |
daypricechange | The change of price of one day |
daychange | Change of price in one day in percentage |
weekchange | Change of price in one week in percentage |
monthchange | Change of price in one month in percentage |
yearchange | Change of price in one year in percentage |
date | YYYY:MM:DD format of the date of the Bond Yield |
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.
- /information&stock_ticker_symbol=AAPL
- /information&stock_ticker_symbol=AAPL, GOOG, AMZN, ...
- /information&isin_identifier=US0378331005
https://data.tradefeeds.com/api/v1/information
?key=YOUR-KEY
&stock_ticker_symbol=AAPL
{
"status": {
"message": "Success"
},
"results": [
{
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"industry": "technology"
"sector": "consumer electronics"
"about": "Apple Inc. designs, manufactures,
and markets smartphones, personal computers,
tablets, wearables, and accessories worldwide.
It also sells various related services."
"description": Apple Inc. designs, manufactures,
and markets smartphones, personal computers,
tablets, wearables, and accessories worldwide.
It also sells various related services.
The company offers iPhone, a line of
smartphones; Mac, a line of personal computers;
iPad, a line of multi-purpose tablets; and
wearables, home, and accessories comprising
AirPods, Apple TV, Apple Watch, Beats products,
HomePod, iPod touch, and other Apple-branded
and third-party accessories. It also provides
AppleCare support services; cloud services
store services; and operates various platforms,
including the App Store, that allow customers
to discover and download applications and
digital content, such as books, music, video,
games, and podcasts. In addition, the company
offers various services, such as Apple Arcade,
a game subscription service; Apple Music, which
offers users a curated listening experience
with on-demand radio stations; Apple News+, a
subscription news and magazine service; Apple
TV+, which offers exclusive original content;
Apple Card, a co-branded credit card; and Apple
Pay, a cashless payment service, as well as
licenses its intellectual property. The company
serves consumers, and small and mid-sized
businesses; and the education, enterprise, and
government markets. It sells and delivers third-party
applications for its products through the App
Store. The company also sells its products
through its retail and online stores, and
direct sales force; and third-party cellular
network carriers, wholesalers, retailers, and
resellers. Apple Inc. was founded in 1977 and
is headquartered in Cupertino, California.
"mission": "to bring the best personal computing
products and support to students, educators,
designers, scientists, engineers,
businesspersons and consumers in over 140
countries around the world."
"vision": "to make the best products on earth,
and to leave the world better than we found it."
"phone": "408-996-1010"
"address": "One Apple Park Way, Cupertino, CA 95014, United States"
"country": "United States"
"website": "https://www.apple.com"
"fiscal_year_dates":
"reporting_currency": "USD"
"ipo_date": "1980:11:12"
"founded_date": "1976:04:01"
"employees": "147000"
"leadership": {
"leadership_name": "Mr. Timothy D. Cook"
"leadership_function": "CEO & Director"
"leadership_name": "Mr. Luca Maestri"
"leadership_function": "CFO & Sr. VP"
"leadership_name": "Mr. Jeffrey E. Williams"
"leadership_function": "Chief Operating Officer"
"leadership_name": "Ms. Katherine L. Adams"
"leadership_function": "Sr. VP, Gen. Counsel & Sec."
"leadership_name": "Ms. Deirdre O'Brien"
"leadership_function": "Sr. VP of People & Retail"
"leadership_name": "Mr. Chris Kondo"
"leadership_function": "Sr. Director of Corp. Accounting"
"leadership_name": "Mr. James Wilson"
"leadership_function": "Chief Technology Officer"
"leadership_name": "Ms. Mary Demby"
"leadership_function": "Chief Information Officer"
"leadership_name": "Ms. Nancy Paxton"
"leadership_function": "Sr. Director of Investor Relations & Treasury"
"leadership_name": "Mr. Greg Joswiak"
"leadership_function": "Sr. VP of Worldwide Marketing"
}
}
]
}
https://data.tradefeeds.com/api/v1/information
?key=YOUR-KEY
&stock_ticker_symbol=AAPL,FB
{
"status": {
"message": "Success"
},
"results": [
{
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"industry": "technology"
"sector": "consumer electronics"
"about": "Apple Inc. designs, manufactures,
and markets smartphones, personal computers,
tablets, wearables, and accessories worldwide.
It also sells various related services."
"description": Apple Inc. designs, manufactures,
and markets smartphones, personal computers,
tablets, wearables, and accessories worldwide.
It also sells various related services.
The company offers iPhone, a line of
smartphones; Mac, a line of personal computers;
iPad, a line of multi-purpose tablets; and
wearables, home, and accessories comprising
AirPods, Apple TV, Apple Watch, Beats products,
HomePod, iPod touch, and other Apple-branded
and third-party accessories. It also provides
AppleCare support services; cloud services
store services; and operates various platforms,
including the App Store, that allow customers
to discover and download applications and
digital content, such as books, music, video,
games, and podcasts. In addition, the company
offers various services, such as Apple Arcade,
a game subscription service; Apple Music, which
offers users a curated listening experience
with on-demand radio stations; Apple News+, a
subscription news and magazine service; Apple
TV+, which offers exclusive original content;
Apple Card, a co-branded credit card; and Apple
Pay, a cashless payment service, as well as
licenses its intellectual property. The company
serves consumers, and small and mid-sized
businesses; and the education, enterprise, and
government markets. It sells and delivers third-party
applications for its products through the App
Store. The company also sells its products
through its retail and online stores, and
direct sales force; and third-party cellular
network carriers, wholesalers, retailers, and
resellers. Apple Inc. was founded in 1977 and
is headquartered in Cupertino, California.
"mission": "to bring the best personal computing
products and support to students, educators,
designers, scientists, engineers,
businesspersons and consumers in over 140
countries around the world."
"vision": "to make the best products on earth,
and to leave the world better than we found it."
"phone": "408-996-1010"
"address": "One Apple Park Way, Cupertino, CA 95014, United States"
"country": "United States"
"website": "https://www.apple.com"
"fiscal_year_dates":
"reporting_currency": "USD"
"ipo_date": "1980:11:12"
"founded_date": "1976:04:01"
"employees": "147000"
"leadership": {
"leadership_name": "Mr. Timothy D. Cook"
"leadership_function": "CEO & Director"
"leadership_name": "Mr. Luca Maestri"
"leadership_function": "CFO & Sr. VP"
"leadership_name": "Mr. Jeffrey E. Williams"
"leadership_function": "Chief Operating Officer"
"leadership_name": "Ms. Katherine L. Adams"
"leadership_function": "Sr. VP, Gen. Counsel & Sec."
"leadership_name": "Ms. Deirdre O'Brien"
"leadership_function": "Sr. VP of People & Retail"
"leadership_name": "Mr. Chris Kondo"
"leadership_function": "Sr. Director of Corp. Accounting"
"leadership_name": "Mr. James Wilson"
"leadership_function": "Chief Technology Officer"
"leadership_name": "Ms. Mary Demby"
"leadership_function": "Chief Information Officer"
"leadership_name": "Ms. Nancy Paxton"
"leadership_function": "Sr. Director of Investor Relations & Treasury"
"leadership_name": "Mr. Greg Joswiak"
"leadership_function": "Sr. VP of Worldwide Marketing"
}
}
]
}
https://data.tradefeeds.com/api/v1/information
?key=YOUR-KEY
&isin_identifier=US0378331005
{
"status": {
"message": "Success"
},
"results": [
{
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"industry": "technology"
"sector": "consumer electronics"
"about": "Apple Inc. designs, manufactures,
and markets smartphones, personal computers,
tablets, wearables, and accessories worldwide.
It also sells various related services."
"description": Apple Inc. designs, manufactures,
and markets smartphones, personal computers,
tablets, wearables, and accessories worldwide.
It also sells various related services.
The company offers iPhone, a line of
smartphones; Mac, a line of personal computers;
iPad, a line of multi-purpose tablets; and
wearables, home, and accessories comprising
AirPods, Apple TV, Apple Watch, Beats products,
HomePod, iPod touch, and other Apple-branded
and third-party accessories. It also provides
AppleCare support services; cloud services
store services; and operates various platforms,
including the App Store, that allow customers
to discover and download applications and
digital content, such as books, music, video,
games, and podcasts. In addition, the company
offers various services, such as Apple Arcade,
a game subscription service; Apple Music, which
offers users a curated listening experience
with on-demand radio stations; Apple News+, a
subscription news and magazine service; Apple
TV+, which offers exclusive original content;
Apple Card, a co-branded credit card; and Apple
Pay, a cashless payment service, as well as
licenses its intellectual property. The company
serves consumers, and small and mid-sized
businesses; and the education, enterprise, and
government markets. It sells and delivers third-party
applications for its products through the App
Store. The company also sells its products
through its retail and online stores, and
direct sales force; and third-party cellular
network carriers, wholesalers, retailers, and
resellers. Apple Inc. was founded in 1977 and
is headquartered in Cupertino, California.
"mission": "to bring the best personal computing
products and support to students, educators,
designers, scientists, engineers,
businesspersons and consumers in over 140
countries around the world."
"vision": "to make the best products on earth,
and to leave the world better than we found it."
"phone": "408-996-1010"
"address": "One Apple Park Way, Cupertino, CA 95014, United States"
"country": "United States"
"website": "https://www.apple.com"
"fiscal_year_dates":
"reporting_currency": "USD"
"ipo_date": "1980:11:12"
"founded_date": "1976:04:01"
"employees": "147000"
"leadership": {
"leadership_name": "Mr. Timothy D. Cook"
"leadership_function": "CEO & Director"
"leadership_name": "Mr. Luca Maestri"
"leadership_function": "CFO & Sr. VP"
"leadership_name": "Mr. Jeffrey E. Williams"
"leadership_function": "Chief Operating Officer"
"leadership_name": "Ms. Katherine L. Adams"
"leadership_function": "Sr. VP, Gen. Counsel & Sec."
"leadership_name": "Ms. Deirdre O'Brien"
"leadership_function": "Sr. VP of People & Retail"
"leadership_name": "Mr. Chris Kondo"
"leadership_function": "Sr. Director of Corp. Accounting"
"leadership_name": "Mr. James Wilson"
"leadership_function": "Chief Technology Officer"
"leadership_name": "Ms. Mary Demby"
"leadership_function": "Chief Information Officer"
"leadership_name": "Ms. Nancy Paxton"
"leadership_function": "Sr. Director of Investor Relations & Treasury"
"leadership_name": "Mr. Greg Joswiak"
"leadership_function": "Sr. VP of Worldwide Marketing"
}
}
]
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
Objects | Description |
stock_ticker_symbol | Stock for which you want output |
isin_identifier | International Securities Identification Number. universally recognizable |
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 |
industry | Industries this security is classified under |
sector | Sectors this security is classified under |
about | Short description of the company or security |
description | Extended description of the company or security |
mission | The mission of the company |
vision | The vision of the company |
phone | Phone number of the company |
address | Address of the main office of the company |
country | Country of main operations of the company |
website | URL link to the website of the company |
fiscal_year_dates | The starting dates of the company fiscal year |
reporting_currncy | The currency used in company reporting |
ipo_date | Date of initial public offering of security |
founded_date | Date of founding of the company |
leadership | Boardmembers and C level leadership of the company |
leadership_name | Name of the member of leadership |
leadership_function | Function of the member of leadership |
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.
- /incomestatements&stock_ticker_symbol=AAPL
- /incomestatements§or=technology&industry=consumer_electronics&year=2021
https://data.tradefeeds.com/api/v1/incomestatements
?key=YOUR-KEY
&stock_ticker_symbol=aapl
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_revenue": "347,155,000",
"operating_revenue": "347,155,000"
"cost_of_revenue": "204,804,000"
"gross_profit": "142,351,000"
"operating_expense": "42,413,000"
"operating_income": "99,938,000"
"net_non_operating_interest_income_expense": "345,000"
"other_income_expense": "577,000"
"pretax_income": "100,860,000"
"tax_provision": "14,058,000"
"net_income_common_stockholders": "86,802,000"
"diluted_ni_available_to_com_stockholders": "86,802,000",
"basic_eps": ""
"diluted_eps": ""
"basic_average_shares": ""
"diluted_average_shares": ""
"total_operating_income_as_reported": "99,938,000"
"total_expenses": "247,217,000"
"net_income_from_continuing_and_discontinued_operation": "86,802,000"
"normalized_income": "86,802,000"
"interest_income": "2,952,000"
"interest_expense": "2,607,000"
"net_interest_income": "345,000"
"ebit": "103,467,000"
"ebitda": "114,464,000"
"reconciled_cost_of_revenue": "204,804,000"
"reconciled_depreciation": "10,997,000",
"net_income_from_continuing_operation_net_minority_interest": "86,802,000"
"total_unusual_items_excluding_goodwill": "0"
"total_unusual_items": "0"
"normalized_ebitda": "114,464,000"
"tax_rate_for_calcs": "0"
"tax_effect_of_unusual_items": "0"
}
[
}
https://data.tradefeeds.com/api/v1/incomestatements
?key=YOUR-KEY
§or=technology
&industry=consumer_electronics
&income_statement=total_revenue
&year=2021
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_revenue": "347,155,000",
},
"basics": {
"name": "Microsoft Corporation",
"stock_ticker_symbol": "MSFT"
"isin_identifier": "US5949181045"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_revenue": "168,088,000",
},
"basics": {
"name": "Dell Technologies Inc",
"stock_ticker_symbol": "DELL"
"isin_identifier": "US24703L2025"
"exchange": "NYSE"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_revenue": "96,814,000",
},
"basics": {
"name": "...",
"stock_ticker_symbol": "..."
"isin_identifier": "..."
"exchange": "..."
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_revenue": "...",
}
"basics": {
"name": "...",
"stock_ticker_symbol": "..."
"isin_identifier": "..."
"exchange": "..."
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_revenue": "...",
},
}
[
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
Objects | Description |
stock_ticker_symbol | Stock for which you want output |
sector | Sector this security is classified under |
industry | Industries this security is classified under |
income_statement | If you want to highlight specific components of the income statement (operating income, operating expenses, …) See response objects. |
format | Quarterly results or Yearly results |
year | Year for which you want results |
quarter | Quarter for which you want results |
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 |
industry | Industries this security is classified under |
sector | Sectors this security is classified under |
total_revenue | |
>operating_revenue | |
cost_of_revenue | |
gross_profit | |
operating_expense | |
>selling_general_and_administrative | |
>research_and_development | |
operating_income | |
net_non_operating_interest_income_expense | |
>interest_income_non_operating | |
>interest_expense_non_operating | |
other_income_expense | |
>special_income_charges | |
>>restructuring_and_mergers_acquisition | |
>other_non_operating_income_expenses | |
pretax_income | |
tax_provision | |
net_income_common_stockholders | |
>net_income | |
>>net_income_including_non_controlling_interests | |
>>>net_income_continuous_operations | |
>>minority_interests | |
diluted_ni_available_to_com_stockholders | |
basic_eps | |
diluted_eps | |
basic_average_shares | |
diluted_average_shares | |
total_operating_income_as_reported | |
total_expenses | |
net_income_from_continuing_and_discontinued_operation | |
normalized_income | |
interest_income | |
interest_expense | |
net_interest_income | |
ebit | |
ebitda | |
reconciled_cost_of_revenue | |
reconciled_depreciation | |
net_income_from_continuing_operation_net_minority_interest | |
total_unusual_items_excluding_goodwill | |
total_unusual_items | |
normalized_ebitda | |
tax_rate_for_calcs | |
tax_effect_of_unusual_items | |
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.
- /balancesheets&stock_ticker_symbol=AAPL
- /balancesheets§or=technology&industry=consumer_electronics&year=2021
https://data.tradefeeds.com/api/v1/consensus_ratings
?key=API-KEY
&ticker=TSLA
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"basics": {
"company": "Tesla Motors",
"ticker": "TSLA"
},
"output": {
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "294.02",
"high_pricetarget": "436.00",
"low_pricetarget": "85.00",
"number_pricetarget": "27",
"buy": "19",
"hold": "5",
"sell": "3",
"date": "2022-11-17"
}
}
}
}
https://data.tradefeeds.com/api/v1/balancesheets
?key=YOUR-KEY
§or=technology
&industry=consumer_electronics
&income_statement=total_assets
&year=2021
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_assets": "323,888,000",
},
"basics": {
"name": "Microsoft Corporation",
"stock_ticker_symbol": "MSFT"
"isin_identifier": "US5949181045"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_assets": "333,779,000",
},
"basics": {
"name": "Dell Technologies Inc",
"stock_ticker_symbol": "DELL"
"isin_identifier": "US24703L2025"
"exchange": "NYSE"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_assets": "123,415,000",
},
"basics": {
"name": "...",
"stock_ticker_symbol": "..."
"isin_identifier": "..."
"exchange": "..."
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_assets": "...",
}
"basics": {
"name": "...",
"stock_ticker_symbol": "..."
"isin_identifier": "..."
"exchange": "..."
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"total_assets": "...",
},
}
[
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
Objects | Description |
stock_ticker_symbol | Stock for which you want output |
sector | Sector this security is classified under |
industry | Industries this security is classified under |
balance_sheet | If you want to highlight specific components of the balance sheet (assets, liabilities, …) See response objects. |
format | Quarterly results or Yearly results |
year | Year for which you want results |
quarter | Quarter for which you want results |
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 |
industry | Industries this security is classified under |
sector | Sectors this security is classified under |
total_assets | |
>tba | |
total_liabilities_net_minority_interest | |
>tba | |
total_equity_gross_minority_interest | |
>tba | |
total_capitalization | |
common_stock_equity | |
net_tangible_assets | |
working_capital | |
invested_capital | |
tangible_book_value | |
total_debt | |
net_debt | |
share_issued | |
ordinary_shares_number | |
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.
- /cashflows&stock_ticker_symbol=AAPL
- /cashflows§or=technology&industry=consumer_electronics&year=2021
https://data.tradefeeds.com/api/v1/cashflows
?key=YOUR-KEY
&stock_ticker_symbol=aapl
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"operating_cash_flow": "104,414,000",
"investing_cash_flow": "-9,849,000"
"financing_cash_flow": "-94,328,000"
"end_cash_position": "35,276,000"
"income_tax_paid_supplemental_data": "19,627,000"
"interest_paid_supplemental_data": "2,597,000"
"capital_expenditure": "-9,646,000"
"issuance_of_capital_stock": "1,011,000"
"issuance_of_debt": "22,370,000 "
"repayment_of_debt": "-7,500,000"
"repurchase_of_capital_stock": "-83,410,000",
"free_cash_flow": "94,768,000"
}
[
}
https://data.tradefeeds.com/api/v1/balancesheets
?key=YOUR-KEY
§or=technology
&industry=consumer_electronics
&cash_flow=operating_cash_flow
&year=2021
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"operating_cash_flow": "104,414,000",
},
"basics": {
"name": "Microsoft Corporation",
"stock_ticker_symbol": "MSFT"
"isin_identifier": "US5949181045"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"operating_cash_flow": "76,740,000",
},
"basics": {
"name": "Dell Technologies Inc",
"stock_ticker_symbol": "DELL"
"isin_identifier": "US24703L2025"
"exchange": "NYSE"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"operating_cash_flow": "14,441,000",
},
"basics": {
"name": "...",
"stock_ticker_symbol": "..."
"isin_identifier": "..."
"exchange": "..."
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"operating_cash_flow": "...",
}
"basics": {
"name": "...",
"stock_ticker_symbol": "..."
"isin_identifier": "..."
"exchange": "..."
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"operating_cash_flow": "...",
},
}
[
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
Objects | Description |
stock_ticker_symbol | Stock for which you want output |
sector | Sector this security is classified under |
industry | Industries this security is classified under |
cash_flow | If you want to highlight specific components of the cash flow (operating cash flow, investing cash flow, …) See response objects. |
format | Quarterly results or Yearly results |
year | Year for which you want results |
quarter | Quarter for which you want results |
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 |
industry | Industries this security is classified under |
sector | Sectors this security is classified under |
operating_cash_flow | |
>tba | |
investing_cash_flow | |
>tba | |
financing_cash_flow | |
>tba | |
end_cash_position | |
>tba | |
income_tax_paid_supplemental_data | |
interest_paid_supplemental_data | |
capital_expenditure | |
issuance_of_capital_stock | |
issuance_of_capital_stock | |
issuance_of_debt | |
repayment_of_debt | |
repurchase_of_capital_stock | |
free_cash_flow | |
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
- /financialratios&stock_ticker_symbol=AAPL
- /financialratios&stock_ticker_symbol=AAPL, GOOG, AMZN, ...
- /financialratios&financial_ratio=current_ratio,quick_ratio,cash_ratio
https://data.tradefeeds.com/api/v1/financialratios
?key=YOUR-KEY
&stock_ticker_symbol=aapl
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"currentRatio": "1.3636044481554577"
"quickRatio": "1.2181949294064065"
"cashRatio": "0.36071049035979963"
"daysOfSalesOutstanding": "49.78753437881355"
"daysOfInventoryOutstanding": "8.741883356235881"
"operatingCycle": "58.52941773504943"
"daysOfPayablesOutstanding": "91.04818971567418"
"cashConversionCycle": "-32.518771980624756"
"grossProfitMargin": "0.38233247727810865"
"operatingProfitMargin": "0.24147314354406862"
"pretaxProfitMargin": "0.24439830246070343"
"netProfitMargin": "0.20913611278072236"
"effectiveTaxRate":" 0.14428164731484103"
"returnOnAssets": "0.1772557180259843"
"returnOnEquity": "0.8786635853012749"
"returnOnCapitalEmployed": "0.3033831282952548"
"netIncomePerEBT": "0.855718352685159"
"ebtPerEbit": "1.0121138064204682"
"ebitPerRevenue": "0.24147314354406862"
"debtRatio": "0.7982666847799239"
"debtEquityRatio": "3.957039440456695"
"longTermDebtToCapitalization": "0.6016060388034584"
"totalDebtToCapitalization": "0.6324623822247223"
"interestCoverage": "23.07274625826662"
"cashFlowToDebtRatio": "0.7175104059198122"
"companyEquityMultiplier": "4.957039440456695"
"receivablesTurnover": "7.331152356789959"
"payablesTurnover": "4.008866086627577"
"inventoryTurnover": "41.75301649839941"
"fixedAssetTurnover": "7.466545177609748"
"assetTurnover": "0.8475615027416885"
"operatingCashFlowPerShare": "4.649230448454163"
"freeCashFlowPerShare": "4.2280138811865"
}
[
}
https://data.tradefeeds.com/api/v1/financialratios
?key=YOUR-KEY
&stock_ticker_symbol=aapl,msft,dell
&financial-ratio=current_ratio,quick_ratio,cash_ratio
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"current_ratio": "1.3636044481554577"
"quick_ratio": "1.2181949294064065"
"cash_ratio": "0.36071049035979963"
},
"basics": {
"name": "Microsoft Corporation",
"stock_ticker_symbol": "MSFT"
"isin_identifier": "US5949181045"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"current_ratio": "1.8155457736360444"
"quick_ratio": "1.2940640652181949"
"cash_ratio": "0.49035979963360710"
},
"basics": {
"name": "Dell Technologies Inc",
"stock_ticker_symbol": "DELL"
"isin_identifier": "US24703L2025"
"exchange": "NYSE"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"current_ratio": "1.4815545773636044"
"quick_ratio": "1.2940640218194965"
"cash_ratio": "0.35979963360710490"
},
}
[
}
https://data.tradefeeds.com/api/v1/financialratios
?key=YOUR-KEY
&stock_ticker_symbol=aapl,msft,dell
&financial-ratio=current_ratio,quick_ratio,cash_ratio
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"current_ratio": "1.3636044481554577"
"quick_ratio": "1.2181949294064065"
"cash_ratio": "0.36071049035979963"
},
"basics": {
"name": "Microsoft Corporation",
"stock_ticker_symbol": "MSFT"
"isin_identifier": "US5949181045"
"exchange": "nasdaq"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"current_ratio": "1.8155457736360444"
"quick_ratio": "1.2940640652181949"
"cash_ratio": "0.49035979963360710"
},
"basics": {
"name": "Dell Technologies Inc",
"stock_ticker_symbol": "DELL"
"isin_identifier": "US24703L2025"
"exchange": "NYSE"
"industry": "technology"
"sector": "consumer electronics"
},
"output": {
"current_ratio": "1.4815545773636044"
"quick_ratio": "1.2940640218194965"
"cash_ratio": "0.35979963360710490"
},
}
[
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
Objects | Description |
stock_ticker_symbol | Stock for which you want output |
sector | Sector this security is classified under |
industry | Industries this security is classified under |
financial_ratio | If you want to highlight specific components of the cash flow (operating cash flow, investing cash flow, …) See response objects. |
format | Quarterly results or Yearly results |
year | Year for which you want results |
quarter | Quarter for which you want results |
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 |
industry | Industries this security is classified under |
sector | Sectors this security is classified under |
return_on_assets | |
return_on_equity | |
profit_margin | |
current_ratio | |
quick_ratio | |
cash_ratio | |
debt_ratio | |
debt_to_equity_ratio | |
interest_coverage_ratio | |
debt_service_coverage_ratio | |
price_to_earnings_ratio | |
price_earnings_to_growth_ratio | |
price_to_sales_ratio | |
price_to_book_ratio | |
dividend_yield | |
dividend_payout_ratio | |
asset_turnover_ratio | |
inventory_turnover_ratio | |
receivables_turnover_ratio | |
payables_turnover_ratio | |
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.
- /company_ratings&ticker=TSLA
- /analyst_ratings&name_analyst=chris-kotowski
- /analyst_ratings&firm=Oppenheimer
- &ticker=TSLA&date_from=2021-01-01&rating=buy
- &name_analyst=chris-kotowski&date_from=2021-01-01&rating=buy
- /consensus_ratings&ticker=TSLA
https://data.tradefeeds.com/api/v1/company_ratings
?key=API-KEY
&ticker=TSLA
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"basics": {
"company": "Tesla Motors",
"ticker": "TSLA"
},
"output": {
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "294.02",
"high_pricetarget": "436.00",
"low_pricetarget": "85.00",
"number_pricetarget": "27",
"buy": "19",
"hold": "5",
"sell": "3",
"date": "2022-11-17"
},
"analysts": [
{
"name_analyst": "john-murphy",
"firm": "Bank of America Securities",
"role": "analyst",
"rating": {
"rating_date": "2022-11-14",
"target_date": "2023-11-14",
"price_target": "275.0",
"rating": "Hold",
"change": "maintained"
}
},
{
"name_analyst": "daniel-ives",
"firm": "Wedbush",
"role": "analyst",
"rating": {
"rating_date": "2022-11-09",
"target_date": "2023-11-09",
"price_target": "300.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "craig-irwin",
"firm": "Roth Capital",
"role": "analyst",
"rating": {
"rating_date": "2022-11-09",
"target_date": "2023-11-09",
"price_target": "85.0",
"rating": "Hold",
"change": "maintained"
}
},
{
"name_analyst": "toni-sacconaghi",
"firm": "Bernstein",
"role": "analyst",
"rating": {
"rating_date": "2022-11-02",
"target_date": "2023-11-02",
"price_target": "150.0",
"rating": "Sell",
"change": "maintained"
}
},
{
"name_analyst": "george-gianarikas",
"firm": "Canaccord Genuity",
"role": "analyst",
"rating": {
"rating_date": "2022-10-25",
"target_date": "2023-10-25",
"price_target": "304.0",
"rating": "Buy",
"change": "maintained"
}
},
{
ETC
https://data.tradefeeds.com/api/v1/analyst_ratings
?key=API-KEY
&name_analyst=Chris-Kotowski
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"basics": {
"name_analyst": "chris-kotowski",
"firm": "Oppenheimer",
"role": "analyst"
},
"output": [
{
"company": "GS",
"ticker": "Goldman Sachs Group",
"rating": {
"rating_date": "2022-10-19",
"target_date": "2023-10-19",
"price_target": "477.0",
"rating": "Buy",
"change": "maintained"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "396.91",
"high_pricetarget": "477.00",
"low_pricetarget": "290.00",
"number_pricetarget": "11",
"buy": "7",
"hold": "3",
"sell": "1",
"date": "2022-11-17"
}
},
{
"company": "MS",
"ticker": "Morgan Stanley",
"rating": {
"rating_date": "2022-10-17",
"target_date": "2023-10-17",
"price_target": "88.0",
"rating": "Buy",
"change": "maintained"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "91.91",
"high_pricetarget": "105.00",
"low_pricetarget": "80.00",
"number_pricetarget": "11",
"buy": "8",
"hold": "3",
"sell": "",
"date": "2022-11-17"
}
},
{
"company": "JPM",
"ticker": "JPMorgan Chase & Co.",
"rating": {
"rating_date": "2022-10-17",
"target_date": "2023-10-17",
"price_target": "154.0",
"rating": "Buy",
"change": "maintained"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "137.83",
"high_pricetarget": "158.00",
"low_pricetarget": "121.00",
"number_pricetarget": "12",
"buy": "8",
"hold": "3",
"sell": "1",
"date": "2022-11-17"
}
},
{
"company": "USB",
"ticker": "U.S. Bancorp",
"rating": {
"rating_date": "2022-10-17",
"target_date": "2023-10-17",
"price_target": "64.0",
"rating": "Buy",
"change": "maintained"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "51.25",
"high_pricetarget": "64.00",
"low_pricetarget": "42.00",
"number_pricetarget": "8",
"buy": "4",
"hold": "4",
"sell": "",
"date": "2022-11-17"
}
},
{
ETC
https://data.tradefeeds.com/api/v1/analyst_ratings
?key=API-KEY
&firm=Oppenheimer
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"basics": {
"firm": "Oppenheimer"
},
"output": [
{
"name_analyst": "bryan-blair",
"firm": "Oppenheimer",
"role": "Analyst",
"ratings": [
[
{
"company": "Evoqua Water Technologies",
"ticker": "AQUA",
"rating": {
"rating_date": "2022-11-16",
"target_date": "2023-11-16",
"price_target": "None",
"rating": "Hold",
"change": "downgraded"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "47.25",
"high_pricetarget": "51.00",
"low_pricetarget": "43.00",
"number_pricetarget": "4",
"buy": "4",
"hold": "",
"sell": "",
"date": "2022-11-17"
}
},
{
"company": "Mueller Water Products",
"ticker": "MWA",
"rating": {
"rating_date": "2022-11-08",
"target_date": "2023-11-08",
"price_target": "None",
"rating": "Hold",
"change": "rated"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "11.25",
"high_pricetarget": "13.00",
"low_pricetarget": "10.00",
"number_pricetarget": "4",
"buy": "",
"hold": "4",
"sell": "",
"date": "2022-11-17"
}
},
{
"company": "ITT Corporation",
"ticker": "ITT",
"rating": {
"rating_date": "2022-11-04",
"target_date": "2023-11-04",
"price_target": "None",
"rating": "Hold",
"change": "reiterated"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "87.75",
"high_pricetarget": "95.00",
"low_pricetarget": "82.00",
"number_pricetarget": "4",
"buy": "4",
"hold": "",
"sell": "",
"date": "2022-11-17"
}
},
{
"company": "Watts Water",
"ticker": "WTS",
"rating": {
"rating_date": "2022-11-04",
"target_date": "2023-11-04",
"price_target": "None",
"rating": "Hold",
"change": "rated"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "145.33",
"high_pricetarget": "155.00",
"low_pricetarget": "138.00",
"number_pricetarget": "3",
"buy": "1",
"hold": "2",
"sell": "",
"date": "2022-11-17"
}
},
{
"company": "SPX Corporation",
"ticker": "SPXC",
"rating": {
"rating_date": "2022-11-03",
"target_date": "2023-11-03",
"price_target": "74.0",
"rating": "Buy",
"change": "reiterated"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "74.00",
"high_pricetarget": "74.00",
"low_pricetarget": "74.00",
"number_pricetarget": "2",
"buy": "2",
"hold": "",
"sell": "",
"date": "2022-11-17"
}
},
{
"company": "Flowserve",
"ticker": "FLS",
"rating": {
"rating_date": "2022-11-01",
"target_date": "2023-11-01",
"price_target": "None",
"rating": "Hold",
"change": "rated"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "29.88",
"high_pricetarget": "33.00",
"low_pricetarget": "23.00",
"number_pricetarget": "8",
"buy": "3",
"hold": "4",
"sell": "1",
"date": "2022-11-17"
}
},
{
ETC
https://data.tradefeeds.com/api/v1/company_ratings?key=API-KEY
&ticker=TSLA
&date_from=2021-01-01
&rating=buy
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"basics": {
"company": "Tesla Motors",
"ticker": "TSLA"
},
"output": {
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "294.02",
"high_pricetarget": "436.00",
"low_pricetarget": "85.00",
"number_pricetarget": "27",
"buy": "19",
"hold": "5",
"sell": "3",
"date": "2022-11-17"
},
"analysts": [
{
"name_analyst": "daniel-ives",
"firm": "Wedbush",
"role": "analyst",
"rating": {
"rating_date": "2022-11-09",
"target_date": "2023-11-09",
"price_target": "300.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "george-gianarikas",
"firm": "Canaccord Genuity",
"role": "analyst",
"rating": {
"rating_date": "2022-10-25",
"target_date": "2023-10-25",
"price_target": "304.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "joseph-spak",
"firm": "RBC Capital",
"role": "analyst",
"rating": {
"rating_date": "2022-10-24",
"target_date": "2023-10-24",
"price_target": "325.0",
"rating": "Buy",
"change": "reiterated"
}
},
{
"name_analyst": "alexander-potter",
"firm": "Piper Sandler",
"role": "analyst",
"rating": {
"rating_date": "2022-10-24",
"target_date": "2023-10-24",
"price_target": "340.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "adam-jonas",
"firm": "Morgan Stanley",
"role": "analyst",
"rating": {
"rating_date": "2022-10-24",
"target_date": "2023-10-24",
"price_target": "330.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "julie-saussier",
"firm": "Credit Suisse",
"role": "analyst",
"rating": {
"rating_date": "2022-10-21",
"target_date": "2023-10-21",
"price_target": "330.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "colin-rusch",
"firm": "Oppenheimer",
"role": "analyst",
"rating": {
"rating_date": "2022-10-20",
"target_date": "2023-10-20",
"price_target": "436.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "mark-delaney",
"firm": "Goldman Sachs",
"role": "analyst",
"rating": {
"rating_date": "2022-10-20",
"target_date": "2023-10-20",
"price_target": "305.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "rod-lache",
"firm": "Wolfe Research",
"role": "analyst",
"rating": {
"rating_date": "2022-10-20",
"target_date": "2023-10-20",
"price_target": "288.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "patrick-hummel",
"firm": "UBS",
"role": "analyst",
"rating": {
"rating_date": "2022-10-20",
"target_date": "2023-10-20",
"price_target": "350.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "emmanuel-rosner",
"firm": "Deutsche Bank",
"role": "analyst",
"rating": {
"rating_date": "2022-10-20",
"target_date": "2023-10-20",
"price_target": "355.0",
"rating": "Buy",
"change": "maintained"
}
},
{
"name_analyst": "ben-kallo",
"firm": "Robert W. Baird",
"role": "analyst",
"rating": {
"rating_date": "2022-10-19",
"target_date": "2023-10-19",
"price_target": "316.0",
"rating": "Buy",
"change": "reiterated"
}
},
{
"name_analyst": "philippe-houchois",
"firm": "Jefferies",
"role": "analyst",
"rating": {
"rating_date": "2022-10-19",
"target_date": "2023-10-19",
"price_target": "350.0",
"rating": "Buy",
"change": "rated"
}
},
{
"name_analyst": "vijay-rakesh",
"firm": "Mizuho Securities",
"role": "analyst",
"rating": {
"rating_date": "2022-10-19",
"target_date": "2023-10-19",
"price_target": "330.0",
"rating": "Buy",
"change": "reiterated"
}
},
{
ETC
https://data.tradefeeds.com/api/v1/analyst_ratings?key=API-KEY
&name_analyst=Chris-Kotowski
&date_from=2021-01-01
&rating=buy
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"basics": {
"name_analyst": "chris-kotowski",
"firm": "Oppenheimer",
"role": "analyst"
},
"output": [
{
"company": "GS",
"ticker": "Goldman Sachs Group",
"rating": {
"rating_date": "2022-10-19",
"target_date": "2023-10-19",
"price_target": "477.0",
"rating": "Buy",
"change": "maintained"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "396.91",
"high_pricetarget": "477.00",
"low_pricetarget": "290.00",
"number_pricetarget": "11",
"buy": "7",
"hold": "3",
"sell": "1",
"date": "2022-11-17"
}
},
{
"company": "MS",
"ticker": "Morgan Stanley",
"rating": {
"rating_date": "2022-10-17",
"target_date": "2023-10-17",
"price_target": "88.0",
"rating": "Buy",
"change": "maintained"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "91.91",
"high_pricetarget": "105.00",
"low_pricetarget": "80.00",
"number_pricetarget": "11",
"buy": "8",
"hold": "3",
"sell": "",
"date": "2022-11-17"
}
},
{
"company": "JPM",
"ticker": "JPMorgan Chase & Co.",
"rating": {
"rating_date": "2022-10-17",
"target_date": "2023-10-17",
"price_target": "154.0",
"rating": "Buy",
"change": "maintained"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "137.83",
"high_pricetarget": "158.00",
"low_pricetarget": "121.00",
"number_pricetarget": "12",
"buy": "8",
"hold": "3",
"sell": "1",
"date": "2022-11-17"
}
},
{
"company": "USB",
"ticker": "U.S. Bancorp",
"rating": {
"rating_date": "2022-10-17",
"target_date": "2023-10-17",
"price_target": "64.0",
"rating": "Buy",
"change": "maintained"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "51.25",
"high_pricetarget": "64.00",
"low_pricetarget": "42.00",
"number_pricetarget": "8",
"buy": "4",
"hold": "4",
"sell": "",
"date": "2022-11-17"
}
},
{
"company": "C",
"ticker": "Citigroup Inc",
"rating": {
"rating_date": "2022-10-17",
"target_date": "2023-10-17",
"price_target": "79.0",
"rating": "Buy",
"change": "maintained"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "54.65",
"high_pricetarget": "79.00",
"low_pricetarget": "37.00",
"number_pricetarget": "13",
"buy": "4",
"hold": "8",
"sell": "1",
"date": "2022-11-17"
}
},
{
"company": "CRBG",
"ticker": "Corebridge Financial, Inc.",
"rating": {
"rating_date": "2022-10-10",
"target_date": "2023-10-10",
"price_target": "30.0",
"rating": "Buy",
"change": "initiatedcoverage"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "25.08",
"high_pricetarget": "30.00",
"low_pricetarget": "23.00",
"number_pricetarget": "12",
"buy": "8",
"hold": "4",
"sell": "",
"date": "2022-11-17"
}
},
{
"company": "BAC",
"ticker": "Bank of America",
"rating": {
"rating_date": "2022-10-05",
"target_date": "2023-10-05",
"price_target": "48.0",
"rating": "Buy",
"change": "maintained"
},
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "40.09",
"high_pricetarget": "48.00",
"low_pricetarget": "28.00",
"number_pricetarget": "11",
"buy": "8",
"hold": "3",
"sell": "",
"date": "2022-11-17"
}
},
{
ETC
https://data.tradefeeds.com/api/v1/consensus_ratings
?key=API-KEY
&ticker=TSLA
{
"status": {
"code": 200,
"message": "OK",
"details": ""
},
"result": {
"basics": {
"company": "Tesla Motors",
"ticker": "TSLA"
},
"output": {
"consensus": {
"ratingconsensus": "",
"average_pricetarget": "294.02",
"high_pricetarget": "436.00",
"low_pricetarget": "85.00",
"number_pricetarget": "27",
"buy": "19",
"hold": "5",
"sell": "3",
"date": "2022-11-17"
}
}
}
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
Objects | Description |
ticker | Ticker symbol of the security you want ratings for |
name_analyst | Name of the analyst you want ratings from |
firm | Ratings made by analysts working at firm |
rating | Filter on buy hold sell rating of stock |
date_from | Used for getting historical ratings in a certain date range |
date_to | Used for getting historical ratings in a certain date range |
API Response Objects
Response Objects | Description |
ratingconsensus | |
average_pricetarget | |
high_pricetarget | |
low_pricetarget | |
number_pricetarget | |
buy, hold, sell | |
date | |
name_analyst | Name of analyst |
firm | Firm of analyst |
role | Role of analyst |
company | |
ticker | |
rating | |
rating_date | |
target_date | Date when the rating is expected to come true |
price_target | |
rating | Buy hold sell rating of the security |
change | Change in the rating since last rating |
rating | |
rating | |
rating |
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.
- /etfholdings&etf_ticker_symbol=QQQ
- /etfholdings&etf_isin_identifier=US46090E1038
- /etfholdings&stock_ticker_symbol=AAPL
- /etfholdings&stock_isin_identifier=US0378331005
https://data.tradefeeds.com/api/v1/etfholdings
?key=YOUR-KEY
&etf_ticker_symbol=QQQ
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Invesco"
"etf_ticker_symbol": "QQQ"
"isin_identifier": "US46090E1038"
"exchange": "nasdaq"
"date": "2020:12:31"
"number_of_holdings": "100"
},
"output": {
"name": "Apple Inc"
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "142,085,775"
"percent_of_portfolio": "10.99"
"value_of_holdings": "20,724,631,141.50"
},
{
"name": "Microsoft Corporation"
"stock_ticker_symbol": "MSFT"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "64,127,005"
"percent_of_portfolio": "9.81"
"value_of_holdings": "18,401,244,084.75"
},
{
"name": "Amazon.com, Inc."
"stock_ticker_symbol": "AMZN"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "4,293,952"
"percent_of_portfolio": "8.34"
"value_of_holdings": "14,136,162,318.72"
},
{
"name": "Facebook, Inc. Common Stock"
"stock_ticker_symbol": "FB"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "20,401,110"
"percent_of_portfolio": "4.01"
"value_of_holdings": "7,343,583,555.60"
}
}
[
}
https://data.tradefeeds.com/api/v1/etfholdings
?key=YOUR-KEY
&etf_isin_identifier=US46090E1038
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Invesco"
"etf_ticker_symbol": "QQQ"
"isin_identifier": "US46090E1038"
"exchange": "nasdaq"
"date": "2020:12:31"
"number_of_holdings": "100"
},
"output": {
"name": "Apple Inc"
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "142,085,775"
"percent_of_portfolio": "10.99"
"value_of_holdings": "20,724,631,141.50"
},
{
"name": "Microsoft Corporation"
"stock_ticker_symbol": "MSFT"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "64,127,005"
"percent_of_portfolio": "9.81"
"value_of_holdings": "18,401,244,084.75"
},
{
"name": "Amazon.com, Inc."
"stock_ticker_symbol": "AMZN"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "4,293,952"
"percent_of_portfolio": "8.34"
"value_of_holdings": "14,136,162,318.72"
},
{
"name": "Facebook, Inc. Common Stock"
"stock_ticker_symbol": "FB"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "20,401,110"
"percent_of_portfolio": "4.01"
"value_of_holdings": "7,343,583,555.60"
}
}
[
}
https://data.tradefeeds.com/api/v1/etfholdings
?key=YOUR-KEY
&stock_ticker_symbol=AAPL
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc"
"etf_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"date": "2020:12:31"
"number_of_holdings": "."
},
"output": {
"name": "Vanguard Information Technology ETF"
"stock_ticker_symbol": "VGT"
"isin_identifier": "US92204A7028"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "19.51"
"value_of_holdings": "."
},
{
"name": "iShares U.S. Technology ETF"
"stock_ticker_symbol": "IYW"
"isin_identifier": "US4642877215"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "18.14"
"value_of_holdings": "."
},
{
"name": "iShares Global Tech ETF"
"stock_ticker_symbol": "IXN"
"isin_identifier": "US4642872919"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "17.24"
"value_of_holdings": "."
},
{
"name": "Wahed FTSE USA Shariah ETF"
"stock_ticker_symbol": "HLAL"
"isin_identifier": "US53656F6079"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "16.60"
"value_of_holdings": "."
}
}
[
}
https://data.tradefeeds.com/api/v1/etfholdings
?key=YOUR-KEY
&isin_identifier=US0378331005
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc"
"etf_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"date": "2020:12:31"
"number_of_holdings": "."
},
"output": {
"name": "Vanguard Information Technology ETF"
"stock_ticker_symbol": "VGT"
"isin_identifier": "US92204A7028"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "19.51"
"value_of_holdings": "."
},
{
"name": "iShares U.S. Technology ETF"
"stock_ticker_symbol": "IYW"
"isin_identifier": "US4642877215"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "18.14"
"value_of_holdings": "."
},
{
"name": "iShares Global Tech ETF"
"stock_ticker_symbol": "IXN"
"isin_identifier": "US4642872919"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "17.24"
"value_of_holdings": "."
},
{
"name": "Wahed FTSE USA Shariah ETF"
"stock_ticker_symbol": "HLAL"
"isin_identifier": "US53656F6079"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "16.60"
"value_of_holdings": "."
}
}
[
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
Objects | Description |
etf_ticker_symbol | ETF for which you want to know the portfolio |
etf_isin_identifier | ISIN identifier for the ETF for which you want to know the portfolio |
stock_ticker_symbol | The stock security of which you want to know the ETFs that have invested in it. |
exchange | The exchange platform where the stock security trades on |
stock_isin_identifier | The ISIN identifier of the stock security of which you want to know the ETFs that have invested in it. |
date | The date from which you would like to have the data. It will take the data from the report released closest before the input date. |
API Response Objects
Response Objects | Description |
name | Name of the company or ETF |
etf_ticker_symbol | ETF for which you want to know the portfolio |
etf_isin_identifier | ISIN identifier for the ETF for which you want to know the portfolio |
exchange | Exchange where the security is trade on |
date_of_update | The date of the data provided |
number_of_holdings | The number of securities held by the ETF |
holdings | Following will be the portfolio information |
stock_ticker_symbol | The ticker symbol of the stock security |
exchange | Exchange where the security is trade on |
stock_isin_identifier | The ISIN identifier of the stock security of which you want to know the ETFs that have invested in it. |
number_of_shares | The number of shares owned by the ETF |
percentage_of_portfolio | The percentage within the ETF’s portfolio |
market_value_of_those_shares | The market value of those shares at the time of report |
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.
- /mutualfundholdings&fund_ticker_symbol=BLK
- /mutualfundholdings&fund_isin_identifier=US09247X1019
- /mutualfundholdings&stock_ticker_symbol=AAPL
- /mutualfundholdings&stock_isin_identifier=US0378331005
https://data.tradefeeds.com/api/v1/fundholdings
?key=YOUR-KEY
&fund_ticker_symbol=BLK
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "BlackRock, Inc."
"etf_ticker_symbol": "BLK"
"isin_identifier": "INF740K01ER7"
"exchange": "NYSE"
"date": "2020:12:31"
"number_of_holdings": "208"
},
"output": {
"name": "Apple Inc"
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "142,085,775"
"percent_of_portfolio": "10.99"
"value_of_holdings": "20,724,631,141.50"
},
{
"name": "Microsoft Corporation"
"stock_ticker_symbol": "MSFT"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "64,127,005"
"percent_of_portfolio": "9.81"
"value_of_holdings": "18,401,244,084.75"
},
{
"name": "Amazon.com, Inc."
"stock_ticker_symbol": "AMZN"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "4,293,952"
"percent_of_portfolio": "8.34"
"value_of_holdings": "14,136,162,318.72"
},
{
"name": "Facebook, Inc. Common Stock"
"stock_ticker_symbol": "FB"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "20,401,110"
"percent_of_portfolio": "4.01"
"value_of_holdings": "7,343,583,555.60"
}
}
[
}
https://data.tradefeeds.com/api/v1/fundholdings
?key=YOUR-KEY
&isin_identifier=INF740K01ER7
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "BlackRock, Inc."
"etf_ticker_symbol": "BLK"
"isin_identifier": "INF740K01ER7"
"exchange": "NYSE"
"date": "2020:12:31"
"number_of_holdings": "208"
},
"output": {
"name": "Apple Inc"
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "142,085,775"
"percent_of_portfolio": "10.99"
"value_of_holdings": "20,724,631,141.50"
},
{
"name": "Microsoft Corporation"
"stock_ticker_symbol": "MSFT"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "64,127,005"
"percent_of_portfolio": "9.81"
"value_of_holdings": "18,401,244,084.75"
},
{
"name": "Amazon.com, Inc."
"stock_ticker_symbol": "AMZN"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "4,293,952"
"percent_of_portfolio": "8.34"
"value_of_holdings": "14,136,162,318.72"
},
{
"name": "Facebook, Inc. Common Stock"
"stock_ticker_symbol": "FB"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"number_of_holdings": "20,401,110"
"percent_of_portfolio": "4.01"
"value_of_holdings": "7,343,583,555.60"
}
}
[
}
https://data.tradefeeds.com/api/v1/fundholdings
?key=YOUR-KEY
&fund_ticker_symbol=AAPL
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc"
"etf_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"date": "2020:12:31"
"number_of_holdings": "."
},
"output": {
"name": "Vanguard Information Technology ETF"
"stock_ticker_symbol": "VGT"
"isin_identifier": "US92204A7028"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "19.51"
"value_of_holdings": "."
},
{
"name": "iShares U.S. Technology ETF"
"stock_ticker_symbol": "IYW"
"isin_identifier": "US4642877215"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "18.14"
"value_of_holdings": "."
},
{
"name": "iShares Global Tech ETF"
"stock_ticker_symbol": "IXN"
"isin_identifier": "US4642872919"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "17.24"
"value_of_holdings": "."
},
{
"name": "Wahed FTSE USA Shariah ETF"
"stock_ticker_symbol": "HLAL"
"isin_identifier": "US53656F6079"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "16.60"
"value_of_holdings": "."
}
}
[
}
https://data.tradefeeds.com/api/v1/fundholdings
?key=YOUR-KEY
&isin_identifier=US0378331005
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc"
"etf_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
"date": "2020:12:31"
"number_of_holdings": "."
},
"output": {
"name": "Vanguard Information Technology ETF"
"stock_ticker_symbol": "VGT"
"isin_identifier": "US92204A7028"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "19.51"
"value_of_holdings": "."
},
{
"name": "iShares U.S. Technology ETF"
"stock_ticker_symbol": "IYW"
"isin_identifier": "US4642877215"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "18.14"
"value_of_holdings": "."
},
{
"name": "iShares Global Tech ETF"
"stock_ticker_symbol": "IXN"
"isin_identifier": "US4642872919"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "17.24"
"value_of_holdings": "."
},
{
"name": "Wahed FTSE USA Shariah ETF"
"stock_ticker_symbol": "HLAL"
"isin_identifier": "US53656F6079"
"exchange": "nasdaq"
"number_of_holdings": "."
"percent_of_portfolio": "16.60"
"value_of_holdings": "."
}
}
[
}
GET Request Parameters
For bulk requests, input multiple values separated by commas.
Objects | Description |
fund_ticker_symbol | Fund for which you want to know the portfolio |
fund_isin_identifier | ISIN identifier for the fund for which you want to know the portfolio |
stock_ticker_symbol | The stock security of which you want to know the ETFs that have invested in it. |
exchange | The exchange platform where the stock security trades on |
stock_isin_identifier | The ISIN identifier of the stock security of which you want to know the ETFs that have invested in it. |
date | The date from which you would like to have the data. It will take the data from the report released closest before the input date. |
API Response Objects
Response Objects | Description |
name | Name of the company or Fund |
fund_ticker_symbol | ETF for which you want to know the portfolio |
fund_isin_identifier | ISIN identifier for the Fund for which you want to know the portfolio |
exchange | Exchange where the security is trade on |
date_of_update | The date of the data provided |
number_of_holdings | The number of securities held by the Funds |
holdings | Following will be the portfolio information |
stock_ticker_symbol | The ticker symbol of the stock security |
exchange | Exchange where the security is trade on |
stock_isin_identifier | The ISIN identifier of the stock security of which you want to know the Funds that have invested in it. |
number_of_shares | The number of shares owned by the Fund |
percentage_of_portfolio | The percentage within the Fund’s portfolio |
market_value_of_those_shares | The market value of those shares at the time of report |
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 |
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.
- /secfilings&stock_ticker_symbol=AAPL
- /secfilings&stock_isin_identifier=US0378331005
- /secfilings&form_type=10Q
https://data.tradefeeds.com/api/v1/secfilings
?key=YOUR-KEY
&stock_ticker_symbol=AAPL&year=2021
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
},
"output": {
"form_type": "10-Q"
"title": "Quarterly Report [Sections 13 or 15(d)]"
"link": "https://www.sec.gov/ix?doc=/Archives/edgar/data/0000320193/000032019321000056/aapl-20210327.htm"
"filing_date": "2021-04-29"
"reporting_date": "2021-03-27"
},
{
"form_type": "8K"
"title": "Quarterly Report [Sections 13 or 15(d)]"
"link": "https://www.sec.gov/ix?doc=/Archives/edgar/data/0000320193/000032019321000056/aapl-20210327.htm"
"filing_date": "2021-04-29"
"reporting_date": "2021-03-27"
},
{
"form_type": "10-Q"
"title": "Quarterly Report [Sections 13 or 15(d)]"
"link": "https://www.sec.gov/ix?doc=/Archives/edgar/data/0000320193/000032019321000056/aapl-20210327.htm"
"filing_date": "2021-04-29"
"reporting_date": "2021-03-27"
},
}
]
}
https://data.tradefeeds.com/api/v1/secfilings
?key=YOUR-KEY
&isin_identifier=US0378331005&year=2021
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
},
"output": {
"form_type": "10-Q"
"title": "Quarterly Report [Sections 13 or 15(d)]"
"link": "https://www.sec.gov/ix?doc=/Archives/edgar/data/0000320193/000032019321000056/aapl-20210327.htm"
"filing_date": "2021-04-29"
"reporting_date": "2021-03-27"
},
{
"form_type": "8K"
"title": "Quarterly Report [Sections 13 or 15(d)]"
"link": "https://www.sec.gov/ix?doc=/Archives/edgar/data/0000320193/000032019321000056/aapl-20210327.htm"
"filing_date": "2021-04-29"
"reporting_date": "2021-03-27"
},
{
"form_type": "10-Q"
"title": "Quarterly Report [Sections 13 or 15(d)]"
"link": "https://www.sec.gov/ix?doc=/Archives/edgar/data/0000320193/000032019321000056/aapl-20210327.htm"
"filing_date": "2021-04-29"
"reporting_date": "2021-03-27"
},
}
]
}
https://data.tradefeeds.com/api/v1/secfilings
?key=YOUR-KEY
&isin_identifier=US0378331005&form_type=10-Q
{
"status": {
"message": "Success"
},
"results": [
{
"basics": {
"name": "Apple Inc",
"stock_ticker_symbol": "AAPL"
"isin_identifier": "US0378331005"
"exchange": "nasdaq"
},
"output": {
"form_type": "10-Q"
"title": "Quarterly Report [Sections 13 or 15(d)]"
"link": "https://www.sec.gov/ix?doc=/Archives/edgar/data/0000320193/000032019321000056/aapl-20210327.htm"
"filing_date": "2021-04-29"
"reporting_date": "2021-03-27"
},
{
"form_type": "10-Q"
"title": "Quarterly Report [Sections 13 or 15(d)]"
"link": "https://www.sec.gov/ix?doc=/Archives/edgar/data/0000320193/000032019321000056/aapl-20210327.htm"
"filing_date": "2021-01-29"
"reporting_date": "2020-12-27"
},
{
"form_type": "10-Q"
"title": "Quarterly Report [Sections 13 or 15(d)]"
"link": "https://www.sec.gov/ix?doc=/Archives/edgar/data/0000320193/000032019321000056/aapl-20210327.htm"
"filing_date": "2020-09-29"
"reporting_date": "2020-08-27"
},
{
"form_type": "10-Q"
"title": "Quarterly Report [Sections 13 or 15(d)]"
"link": "https://www.sec.gov/ix?doc=/Archives/edgar/data/0000320193/000032019321000056/aapl-20210327.htm"
"filing_date": "2020-05-29"
"reporting_date": "2020-04-27"
},
}
]
}
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 SEC filings |
exchange | The exchange platform where the security trades on |
stock_isin_identifier | ISIN of the security for which you want search SEC filings of |
form_type | The type of filing you wish to receive (10Q, 10K, 8K, …) |
date | Choose a specific date from which you want a filing. |
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 |
form_type | Type of SEC filing (10Q, 10K, 8K, …) |
title | Title of the SEC filing |
link | URL link to the SEC website where the SEC filing can be downloaded |
filing_date | Date of filing of the report |
reporting_date | Date of the report being made |
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://tradefeeds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN”);
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:/tradefeeds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN”;
$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);
}
NEEDS REVIEW (needs key in url?)
const https = require(‘https’)
const options = {
hostname: ‘tradefeeds.com’,
port: 443,
path: ‘/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN’,
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://tradefeeds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN”)
print(get_jsonparsed_data(url))
package main
import (
“fmt”
“io/ioutil”
“log”
“net/http”
)
func main() {
url := “https://finnworlds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN”
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://finnworlds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN”)
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://finnworlds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN”))
{
request.Headers.TryAddWithoutValidation(“Upgrade-Insecure-Requests”, “1”);
var response = await httpClient.SendAsync(request);
}
}
NEEDS REVIEW (needs key in url?)
require(httr)
headers = c(
`Upgrade-Insecure-Requests` = ‘1’,
)
params = list(
`datatype` = ‘json’
)
res <- httr::GET(url = ‘https://finnworlds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN’, httr::add_headers(.headers=headers), query = params)
NEEDS REVIEW (needs key?)
version: 2
requests:
curl_converter:
request:
url: ‘https://finnworlds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN’
method: GET
headers:
–
name: Upgrade-Insecure-Requests
value: ‘1’
–
queryString:
–
name: datatype
value: json
extern crate reqwest;
use reqwest::headers::*;
fn main() -> Result<(), reqwest::Error> {
let mut headers = HeaderMap::new();
headers.insert(UPGRADE_INSECURE_REQUESTS, “1”.parse().unwrap());
let res = reqwest::Client::new()
.get(“https://finnworlds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN”)
.headers(headers)
.send()?
.text()?;
println!(“{}”, res);
Ok(())
}
import PlaygroundSupport
import Foundation
let url = URL(string: “https://finnworlds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN”)
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://finnworlds.com/api/v1/analystratings?key=YOUR_KEY&stock_ticker_symbol=AAPL,GOOG,AMZN”).mkString
print(json)