Bing Finance Answer API
The Bing Finance Answer API allows a user to scrape finance results from a regular Bing Search page. SerpApi is able to make sense of this information and extract title, symbol, filters, quote, change, chart, stock_details, news, analyst_rating, pe_ratio, related_stocks, and more. To get started, you can try a search like "apple stock" or "tesla stock".
The API endpoint is https://serpapi.com/search?engine=bing
Head to the playground for a live and interactive demo.
API Examples
Results for: apple stock
Example results that contain title, symbol, filters, quote, change, chart, stock_details, news, analyst_rating, pe_ratio, related_stocks and many more.
{
...
"finance_answer": {
"title": "Apple Inc.",
"symbol": {
"type": "NASDAQ",
"value": "AAPL"
},
"filters": [
{
"position": 1,
"title": "Summary",
"link": "https://www.bing.com/search?q=apple%20stock"
},
{
"position": 2,
"title": "Chart",
"link": "https://www.bing.com/entitydetails?q=apple%20stock&wt=FinanceGenericL3TabModule&ocid=ansMSNMoney11&qid=a1mou2&t=a1mou2&src=b_l3tsubp&id=a1mou2&l3=L3_Chart&chart=quote"
},
{
"position": 3,
"title": "Financials",
"link": "https://www.bing.com/entitydetails?q=apple%20stock&wt=FinanceGenericL3TabModule&ocid=ansMSNMoney11&qid=a1mou2&t=a1mou2&src=b_l3tsubp&id=a1mou2&l3=L3_Financials"
},
...
],
"quote": 326.44,
"change": {
"status": "Price increase",
"movement": "Up",
"price": 1.48,
"percentage": "+0.46%",
"extracted_percentage": 0.46
},
"last_update": "September 3, 10:06 AM EDT",
"market_status": "Market Open",
"previous_close": 324.96,
"chart": [
{
"position": 1,
"date": "Sep 3 9:30 AM",
"unix_time": 1788427800000,
"quote": 327.345,
"volume": 1304526
},
{
"position": 2,
"date": "Sep 3 9:35 AM",
"unix_time": 1788428100000,
"quote": 326.41,
"volume": 551912
},
{
"position": 3,
"date": "Sep 3 9:40 AM",
"unix_time": 1788428400000,
"quote": 325.96,
"volume": 423701
},
...
],
"stock_details": [
{
"position": 1,
"title": "Open",
"value": "324.82"
},
{
"position": 2,
"title": "Vol",
"value": "4.28 M"
},
{
"position": 3,
"title": "High",
"value": "327.50"
},
...
],
"news": [
{
"position": 1,
"title": "Apple sued for £2B in UK over unfair app tracking practices - report",
"link": "https://www.msn.com/en-us/money/technology/apple-sued-for-2b-in-uk-over-unfair-app-tracking-practices-report/ar-AA2bv4vz",
"thumbnail": "https://th.bing.com/th/id/ONUT.eTz69cDX8SC_SnCjh5RWyg?w=176&h=78&c=6&o=6&pid=Finance",
"site_name": "Seeking Alpha on MSN.com",
"time": "1h"
},
{
"position": 2,
"title": "Forget Apple’s Price Hikes, iPhone, MacBook, iPad, and Apple Watch Start at Just Over $100 in a Final Back-to-School Push",
"link": "https://gizmodo.com/forget-apples-price-hikes-iphone-macbook-ipad-and-apple-watch-start-at-just-over-100-in-a-final-back-to-school-push-2000804792",
"thumbnail": "https://th.bing.com/th/id/ONUT.PgbYxmc5xcAZA5eXM4AFtw?w=176&h=78&c=6&o=6&pid=Finance",
"site_name": "Gizmodo",
"time": "26m"
},
{
"position": 3,
"title": "Apple faces 400% surge in iPhone 18 Pro memory costs, price hike likely: Report",
"link": "https://www.firstpost.com/tech/apple-faces-400-surge-in-iphone-18-pro-memory-costs-price-hike-likely-report-14043008.html",
"thumbnail": "https://th.bing.com/th/id/ONUT._R6MzmWGO1g1nyvFXnuSdw?w=176&h=78&c=6&o=6&pid=Finance",
"site_name": "Firstpost",
"time": "24m"
}
],
"analyst_rating": {
"title": "Analyst rating",
"recommendation": "Buy",
"summary": "Based on 44 analysts",
"analysts": 44,
"link": "https://www.bing.com/entitydetails?q=apple%20stock&wt=FinanceGenericL3TabModule&ocid=ansMSNMoney11&qid=a1mou2&t=a1mou2&src=b_finmagc&id=a1mou2&l3=L3_Earnings"
},
"pe_ratio": {
"title": "PE ratio",
"link": "https://www.bing.com/entitydetails?q=apple%20stock&wt=FinanceGenericL3TabModule&ocid=ansMSNMoney11&qid=a1mou2&t=a1mou2&src=b_finmagc&id=a1mou2&l3=L3_Analysis",
"comparisons": [
{
"position": 1,
"name": "AAPL",
"ratio": "37.6x",
"extracted_ratio": 37.5624,
"highlighted": true
},
{
"position": 2,
"name": "MSFT",
"ratio": "28.5x",
"extracted_ratio": 28.5139
},
{
"position": 3,
"name": "GOOG",
"ratio": "17.0x",
"extracted_ratio": 17.0002
},
...
]
},
"related_stocks": [
{
"position": 1,
"title": "Microsoft Corporation",
"symbol": "MSFT",
"price": 511.73,
"change": {
"status": "Price increase",
"movement": "Up",
"price": 14.91,
"percentage": "3.00%",
"extracted_percentage": 3.0
},
"link": "https://www.bing.com/search?q=MSFT%20Stock&FORM=FINRQY&tf=U2VydmljZT1GaW5hbmNlQW5zd2VyIFNjZW5hcmlvPVNlY3VyaXR5RGV0YWlsIFBvc2l0aW9uPU5PUCBSYW5raW5nRGF0YT1UcnVlIEZvcmNlUGxhY2U9RmFsc2UgUGFpcnM9dDpTdG9jay5hMXh6aW0uTVNGVC5yNmR3b3A7bmNzOlJlbGF0ZWRTZWN1cml0aWVzOyB8U2VydmljZT1GaW5hbmNlQW5zd2VyIFNjZW5hcmlvPVJlbGF0ZWRTZWN1cml0aWVzIFBvc2l0aW9uPU5PUCBSYW5raW5nRGF0YT1UcnVlIEZvcmNlUGxhY2U9RmFsc2UgUGFpcnM9czpSZWxhdGVkU2VjdXJpdGllcztzbDpTdG9jay5hMXh6aW0uTVNGVC5yNmR3b3A7dDpTdG9jay5hMW1vdTIuQUFQTC5yNmR3b3A7IHw=&hs=t/9/ZJPYgNBFjzlGWg6NaLF7aeHs4L8h1zM7c0DEcXw="
},
{
"position": 2,
"title": "Alphabet Inc.",
"symbol": "GOOG",
"price": 338.2,
"change": {
"status": "Price increase",
"movement": "Up",
"price": 4.42,
"percentage": "1.32%",
"extracted_percentage": 1.32
},
"link": "https://www.bing.com/search?q=GOOG%20Stock&FORM=FINRQY&tf=U2VydmljZT1GaW5hbmNlQW5zd2VyIFNjZW5hcmlvPVNlY3VyaXR5RGV0YWlsIFBvc2l0aW9uPU5PUCBSYW5raW5nRGF0YT1UcnVlIEZvcmNlUGxhY2U9RmFsc2UgUGFpcnM9dDpTdG9jay5hMXUzcDIuR09PRy5yNmR3b3A7bmNzOlJlbGF0ZWRTZWN1cml0aWVzOyB8U2VydmljZT1GaW5hbmNlQW5zd2VyIFNjZW5hcmlvPVJlbGF0ZWRTZWN1cml0aWVzIFBvc2l0aW9uPU5PUCBSYW5raW5nRGF0YT1UcnVlIEZvcmNlUGxhY2U9RmFsc2UgUGFpcnM9czpSZWxhdGVkU2VjdXJpdGllcztzbDpTdG9jay5hMXUzcDIuR09PRy5yNmR3b3A7dDpTdG9jay5hMW1vdTIuQUFQTC5yNmR3b3A7IHw=&hs=dEd0i+7wCU1STPr+8yTbItZXlrWmFe8IOtE5pLx9RhM="
},
{
"position": 3,
"title": "Amazon.com Inc",
"symbol": "AMZN",
"price": 258.09,
"change": {
"status": "Price increase",
"movement": "Up",
"price": 3.11,
"percentage": "1.22%",
"extracted_percentage": 1.22
},
"link": "https://www.bing.com/search?q=AMZN%20Stock&FORM=FINRQY&tf=U2VydmljZT1GaW5hbmNlQW5zd2VyIFNjZW5hcmlvPVNlY3VyaXR5RGV0YWlsIFBvc2l0aW9uPU5PUCBSYW5raW5nRGF0YT1UcnVlIEZvcmNlUGxhY2U9RmFsc2UgUGFpcnM9dDpTdG9jay5hMW5obGguQU1aTi5yNmR3b3A7bmNzOlJlbGF0ZWRTZWN1cml0aWVzOyB8U2VydmljZT1GaW5hbmNlQW5zd2VyIFNjZW5hcmlvPVJlbGF0ZWRTZWN1cml0aWVzIFBvc2l0aW9uPU5PUCBSYW5raW5nRGF0YT1UcnVlIEZvcmNlUGxhY2U9RmFsc2UgUGFpcnM9czpSZWxhdGVkU2VjdXJpdGllcztzbDpTdG9jay5hMW5obGguQU1aTi5yNmR3b3A7dDpTdG9jay5hMW1vdTIuQUFQTC5yNmR3b3A7IHw=&hs=54onmo4RO+ej1iH3mj0x1rl23Y8S0wMg7Nw73/0ySKQ="
},
...
]
}
...
}
Finance answer results with filters
The tabs above the quote card link to the other views of the same security. SerpApi is able to make sense of this information and extract filters.
{
...
"finance_answer": {
...
"filters": [
{
"position": 1,
"title": "Summary",
"link": "https://www.bing.com/search?q=apple%20stock"
},
{
"position": 2,
"title": "Chart",
"link": "https://www.bing.com/entitydetails?q=apple%20stock&wt=FinanceGenericL3TabModule&ocid=ansMSNMoney11&qid=a1mou2&t=a1mou2&src=b_l3tsubp&id=a1mou2&l3=L3_Chart&chart=quote"
},
{
"position": 3,
"title": "Financials",
"link": "https://www.bing.com/entitydetails?q=apple%20stock&wt=FinanceGenericL3TabModule&ocid=ansMSNMoney11&qid=a1mou2&t=a1mou2&src=b_l3tsubp&id=a1mou2&l3=L3_Financials"
},
...
]
}
...
}
Finance answer results with chart and stock_details
The quote card holds the price of the security and the intraday graph below it. SerpApi is able to make sense of this information and extract quote, change, last_update, market_status, previous_close, chart and stock_details.
{
...
"finance_answer": {
...
"quote": 326.44,
"change": {
"status": "Price increase",
"movement": "Up",
"price": 1.48,
"percentage": "+0.46%",
"extracted_percentage": 0.46
},
"last_update": "September 3, 10:06 AM EDT",
"market_status": "Market Open",
"previous_close": 324.96,
"chart": [
{
"position": 1,
"date": "Sep 3 9:30 AM",
"unix_time": 1788427800000,
"quote": 327.345,
"volume": 1304526
},
{
"position": 2,
"date": "Sep 3 9:35 AM",
"unix_time": 1788428100000,
"quote": 326.41,
"volume": 551912
},
{
"position": 3,
"date": "Sep 3 9:40 AM",
"unix_time": 1788428400000,
"quote": 325.96,
"volume": 423701
},
...
],
"stock_details": [
{
"position": 1,
"title": "Open",
"value": "324.82"
},
{
"position": 2,
"title": "Vol",
"value": "4.28 M"
},
{
"position": 3,
"title": "High",
"value": "327.50"
},
...
]
}
...
}
Finance answer results with news
The news cards next to the quote card link to recent coverage of the security. SerpApi is able to make sense of this information and extract news.
{
...
"finance_answer": {
...
"news": [
{
"position": 1,
"title": "Apple sued for £2B in UK over unfair app tracking practices - report",
"link": "https://www.msn.com/en-us/money/technology/apple-sued-for-2b-in-uk-over-unfair-app-tracking-practices-report/ar-AA2bv4vz",
"thumbnail": "https://th.bing.com/th/id/ONUT.eTz69cDX8SC_SnCjh5RWyg?w=176&h=78&c=6&o=6&pid=Finance",
"site_name": "Seeking Alpha on MSN.com",
"time": "1h"
},
{
"position": 2,
"title": "Forget Apple’s Price Hikes, iPhone, MacBook, iPad, and Apple Watch Start at Just Over $100 in a Final Back-to-School Push",
"link": "https://gizmodo.com/forget-apples-price-hikes-iphone-macbook-ipad-and-apple-watch-start-at-just-over-100-in-a-final-back-to-school-push-2000804792",
"thumbnail": "https://th.bing.com/th/id/ONUT.PgbYxmc5xcAZA5eXM4AFtw?w=176&h=78&c=6&o=6&pid=Finance",
"site_name": "Gizmodo",
"time": "26m"
},
{
"position": 3,
"title": "Apple faces 400% surge in iPhone 18 Pro memory costs, price hike likely: Report",
"link": "https://www.firstpost.com/tech/apple-faces-400-surge-in-iphone-18-pro-memory-costs-price-hike-likely-report-14043008.html",
"thumbnail": "https://th.bing.com/th/id/ONUT._R6MzmWGO1g1nyvFXnuSdw?w=176&h=78&c=6&o=6&pid=Finance",
"site_name": "Firstpost",
"time": "24m"
}
]
}
...
}
Finance answer results with analyst_rating
The analyst rating card summarizes the consensus recommendation for the security. SerpApi is able to make sense of this information and extract analyst_rating.
{
...
"finance_answer": {
...
"analyst_rating": {
"title": "Analyst rating",
"recommendation": "Buy",
"summary": "Based on 43 analysts",
"analysts": 43,
"details": [
{
"title": "1-yr. price target",
"value": "412.50",
"extracted_value": 412.5
},
{
"title": "EPS Estimate",
"value": "1.70",
"extracted_value": 1.7
}
],
"link": "https://www.msn.com/en-us/money/watchlist?tab=Related&id=a24kar&ocid=ansMSNMoney11&duration=1D&src=b_finmagc&relatedQuoteId=a24kar&relatedSource=MlAl&l3=L3_Earnings"
}
}
...
}
Finance answer results with pe_ratio
The PE ratio card compares the price to earnings ratio of the security against its peers. The bar of the searched security is flagged with highlighted. SerpApi is able to make sense of this information and extract pe_ratio.
{
...
"finance_answer": {
...
"pe_ratio": {
"title": "PE ratio",
"link": "https://www.bing.com/entitydetails?q=apple%20stock&wt=FinanceGenericL3TabModule&ocid=ansMSNMoney11&qid=a1mou2&t=a1mou2&src=b_finmagc&id=a1mou2&l3=L3_Analysis",
"comparisons": [
{
"position": 1,
"name": "AAPL",
"ratio": "37.6x",
"extracted_ratio": 37.5624,
"highlighted": true
},
{
"position": 2,
"name": "MSFT",
"ratio": "28.5x",
"extracted_ratio": 28.5139
},
{
"position": 3,
"name": "GOOG",
"ratio": "17.0x",
"extracted_ratio": 17.0002
},
...
]
}
}
...
}
JSON structure overview for Bing Finance Answer
{
...
"finance_answer": {
"title": "String - Name of the security the finance answer is about",
"symbol": {
"type": "String - Exchange the security is listed on. Absent when Bing shows the ticker on its own",
"value": "String - Ticker of the security"
},
"filters": [
{
"position": "Integer - Position of the filter, starting from 1",
"title": "String - Name of the tab",
"link": "String - URL to the tab view"
}
],
"quote": "Float - Current price of the security",
"change": {
"status": "String - Direction of the change, e.g. Price increase, Price decrease",
"movement": "String - Direction of the change, can be Up or Down",
"price": "Float - Change of the price since the previous close",
"percentage": "String - Change of the price since the previous close",
"extracted_percentage": "Float - Change of the price since the previous close, without the sign. Direction is in movement"
},
"quote_after_hours": {
"quote": "Float - Price of the security in after hours trading",
"status": "String - Direction of the after hours change",
"movement": "String - Direction of the change, can be Up or Down",
"price": "Float - Change of the price in after hours trading",
"percentage": "String - Change of the price in after hours trading",
"extracted_percentage": "Float - Change of the price in after hours trading, without the sign. Direction is in movement"
},
"last_update": "String - Date and time the quote was last updated",
"market_status": "String - State of the market, e.g. Market Open, Market Closed",
"previous_close": "Float - Closing price of the previous trading session",
"chart": [
{
"position": "Integer - Position of the data point, starting from 1",
"date": "String - Date and time of the data point",
"unix_time": "Integer - Date and time of the data point",
"quote": "Float - Price of the security at the data point",
"volume": "Integer - Volume traded at the data point"
}
],
"stock_details_summary": {
"high": {
"title": "String - Label of the high",
"value": "String - Highest price over the charted period",
"date": "String - Date the high was reached"
},
"low": {
"title": "String - Label of the low",
"value": "String - Lowest price over the charted period",
"date": "String - Date the low was reached"
},
"average": {
"title": "String - Label of the average",
"value": "String - Average price over the charted period",
"date": "String - Period the average covers"
}
},
"stock_details": [
{
"position": "Integer - Position of the detail, starting from 1",
"title": "String - Title of the detail",
"value": "String - Value of the detail"
}
],
"more_info": [
{
"position": "Integer - Position of the link, starting from 1",
"title": "String - Name of the link",
"link": "String - URL to the page it opens",
"source": "String - Provider of the linked pages"
}
],
"news": [
{
"position": "Integer - Position of the article, starting from 1",
"title": "String - Title of the article",
"snippet": "String - Snippet of the article (optional)",
"link": "String - URL to the article",
"thumbnail": "String - URL to the image of the article",
"site_name": "String - Publisher of the article",
"time": "String - Age of the article"
}
],
"analyst_rating": {
"title": "String - Title of the section",
"recommendation": "String - Consensus recommendation of the analysts, can be Strong Buy, Buy, Hold, Sell or Strong Sell",
"summary": "String - Sentence the rating is based on",
"analysts": "Integer - Number of analysts the rating is based on",
"details": [
{
"title": "String - Title of the detail, e.g. 1-yr. price target, EPS Estimate",
"value": "String - Value of the detail",
"extracted_value": "Float - Value of the detail as a number"
}
],
"link": "String - URL to the full analyst coverage"
},
"pe_ratio": {
"title": "String - Title of the section",
"link": "String - URL to the full comparison",
"comparisons": [
{
"position": "Integer - Position of the bar, starting from 1",
"name": "String - Ticker of the compared security",
"ratio": "String - Price to earnings ratio as shown",
"extracted_ratio": "Float - Price to earnings ratio as a number",
"highlighted": "Boolean - True on the bar of the searched security, absent on the others"
}
]
},
"related_stocks": [
{
"position": "Integer - Position of the card, starting from 1",
"title": "String - Name of the related security",
"symbol": "String - Ticker of the related security",
"price": "Float - Current price of the related security",
"change": {
"status": "String - Direction of the change, e.g. Price increase, Price decrease",
"movement": "String - Direction of the change, can be Up or Down",
"price": "Float - Change of the price since the previous close",
"percentage": "String - Change of the price since the previous close",
"extracted_percentage": "Float - Change of the price since the previous close, without the sign. Direction is in movement"
},
"link": "String - URL to the finance answer of the related security"
}
]
}
...
}