{"id":27272,"date":"2024-08-20T13:27:38","date_gmt":"2024-08-20T05:27:38","guid":{"rendered":"https:\/\/www.tejwin.com\/?post_type=insight&#038;p=27272"},"modified":"2026-03-03T13:16:50","modified_gmt":"2026-03-03T05:16:50","slug":"stock-api","status":"publish","type":"insight","link":"https:\/\/www.tejwin.com\/en\/insight\/stock-api\/","title":{"rendered":"What is a Stock API? A Guide to Quickly Acquiring Taiwan Stock Market Information Using Financial Tools"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1000\" height=\"667\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/image-485.png\" alt=\"Stock API\" class=\"wp-image-27273\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/image-485.png 1000w, https:\/\/www.tejwin.com\/wp-content\/uploads\/image-485-300x200.png 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/image-485-150x100.png 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/image-485-768x512.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p>No matter which brokerage app you use, you can view the historical trading information and real-time market data of various securities on the app. This allows investors to make informed investment decisions based on accurate information. This is possible because the Stock API facilitates smooth data transmission between the market trading system and the brokerage app. In this article, we will introduce what a Stock API is and highlight the three most commonly used Taiwan Stock Market APIs, providing valuable references for investors.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f145b0dcee7\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f145b0dcee7\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.tejwin.com\/en\/insight\/stock-api\/#What_is_a_Securities_API_A_Data_Transmission_Tool_for_Retrieving_Taiwan_Stock_Market_Historical_Data\" >What is a Securities API? A Data Transmission Tool for Retrieving Taiwan Stock Market Historical Data<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.tejwin.com\/en\/insight\/stock-api\/#Features_and_Comparison_of_the_3_Most_Common_Taiwan_Stock_Market_APIs\" >Features and Comparison of the 3 Most Common Taiwan Stock Market APIs<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.tejwin.com\/en\/insight\/stock-api\/#1TEJ_API\" >1.TEJ API<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.tejwin.com\/en\/insight\/stock-api\/#2yfinance_API\" >2.yfinance API<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.tejwin.com\/en\/insight\/stock-api\/#3FinMind_API\" >3.FinMind API<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.tejwin.com\/en\/insight\/stock-api\/#TEJ_API_Operation_Guide_3_Key_Demonstrations_on_How_to_Query_Stock_Trading_Volume_Dividend_Policy_and_Financial_Information\" >TEJ API Operation Guide: 3 Key Demonstrations on How to Query Stock Trading Volume, Dividend Policy, and Financial Information<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.tejwin.com\/en\/insight\/stock-api\/#The_Most_User-Friendly_Financial_Data_Tool_for_Taiwan_Stocks_TEJ_API\" >The Most User-Friendly Financial Data Tool for Taiwan Stocks | TEJ API<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.tejwin.com\/en\/insight\/stock-api\/#Further_Reading\" >Further Reading<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_a_Securities_API_A_Data_Transmission_Tool_for_Retrieving_Taiwan_Stock_Market_Historical_Data\"><\/span>What is a Securities API? A Data Transmission Tool for Retrieving Taiwan Stock Market Historical Data<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The full name of the API is Application Programming Interface, which facilitates the retrieval of data from another software program. This allows developers to integrate existing features from other software into their applications without rebuilding the database from scratch.<br>A Securities API enables traditional financial transactions to be completed more efficiently by directly connecting to market trading systems or stock exchanges in other countries. This allows for retrieving real-time dynamic data and the automation of trade execution. Below, the operation process of a Securities API is broken down into five steps to help investors better understand how it works.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Step 1:<\/strong> Establish a communication channel between the two applications.<\/li>\n\n\n\n<li><strong>Step 2:<\/strong> One party initiates a request, typically including the latest market data such as recent trading volumes and real-time prices.<\/li>\n\n\n\n<li><strong>Step 3:<\/strong> Upon receiving the API request, the receiving party processes the request according to the defined API format.<\/li>\n\n\n\n<li><strong>Step 4:<\/strong> The receiving party then converts the processed data into the API format and sends it back to the requester.<\/li>\n\n\n\n<li><strong>Step 5:<\/strong> The requester further processes the data, transforming it into a format that is easily understandable for the end user.<\/li>\n<\/ul>\n\n\n\n<p>Data is just being transmitted between two parties, but in a highly volatile financial market, the accuracy and timeliness of this data are crucial. Securities APIs achieve the goals of information sharing and integration, making them an indispensable tool for investors when analyzing the market.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Features_and_Comparison_of_the_3_Most_Common_Taiwan_Stock_Market_APIs\"><\/span>Features and Comparison of the 3 Most Common Taiwan Stock Market APIs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Suppose you\u2019re interested in trying your hand at analyzing the financial market. In that case, we\u2019ll introduce three of the most commonly used Taiwan Stock Market APIs: finance API, FinMind API, and TEJ API. We\u2019ll also provide a detailed explanation of each API\u2019s unique features.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1TEJ_API\"><\/span>1.TEJ API<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>TEJ (Taiwan Economic Journal), Taiwan&#8217;s leading financial information company, developed the TEJ API. It specializes in providing essential data for fundamental analysis of financial markets, covering not only Taiwan but also Japan, Korea, China, and Hong Kong. The TEJ API supports database integration using Python, R, or .NET languages, allowing investors to access a wealth of data through multiple programming languages. The data provided by TEJ API is extensive and versatile, with the added assurance of being officially maintained by a Taiwanese team, offering more excellent reliability for users.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2yfinance_API\"><\/span>2.yfinance API<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>In the past, Yahoo Finance provided an official API that allowed investors to access financial data for free, but it was shut down in 2017. However, finance API is a free Python package that simulates web visits, enabling investors to continue retrieving real-time financial information from Yahoo Finance. However, there are limitations on the number of requests that can be made, and there is always the possibility of being blocked.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3FinMind_API\"><\/span>3.FinMind API<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>FinMind API is an open-source API primarily focused on providing financial information about the Taiwan stock market. The data transmitted via FinMind API includes technical, fundamental, sentiment, and news-related information. It also allows users to perform backtesting, create candlestick charts, and build dashboards, supporting investors in machine learning and data analysis. In addition to monitoring the stock market, it covers futures, options, and other derivatives. While it may not offer as comprehensive international financial data as it does for Taiwan stocks, it still provides information on U.S., U.K., European, and Japanese stock prices, money supply, and gold and oil prices, which is more than sufficient for beginner investors. However, a notable drawback is that it does not offer real-time data updates, with the most recent update and maintenance in 2021.<\/p>\n\n\n\n<p>Below is a simple comparison of the three Taiwan stock market APIs provided as a reference for investors.<\/p>\n\n\n\n<figure class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><\/td>\n<td>TEJ API<\/td>\n<td>yfinance API<\/td>\n<td>FinMind API<\/td>\n<\/tr>\n<tr>\n<td>Data Richness<\/td>\n<td>Includes information from major Asia-Pacific financial markets in addition to Taiwan stocks<\/td>\n<td>Primarily sourced from Yahoo Finance<\/td>\n<td>Focuses on Taiwan stocks, with some data on U.S., European, and Japanese stock prices, as well as gold and oil prices<\/td>\n<\/tr>\n<tr>\n<td>Ease of Use<\/td>\n<td>No restrictions on access methods<\/td>\n<td>More complex compared to direct API queries<\/td>\n<td>No restrictions on access methods<\/td>\n<\/tr>\n<tr>\n<td>Request Limitations<\/td>\n<td>Free database: 500 requests per day; Paid database: up to 2,000 requests per day<\/td>\n<td>Subject to potential blocking at any time<\/td>\n<td>Free registration allows 600 requests per hour<\/td>\n<\/tr>\n<tr>\n<td>Maintenance and Updates<\/td>\n<td>Operated and regularly updated by an official team<\/td>\n<td>Financial data for individual stocks is less frequently updated, with unstable maintenance<\/td>\n<td>Unstable maintenance, unable to provide real-time updates<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"TEJ_API_Operation_Guide_3_Key_Demonstrations_on_How_to_Query_Stock_Trading_Volume_Dividend_Policy_and_Financial_Information\"><\/span>TEJ API Operation Guide: 3 Key Demonstrations on How to Query Stock Trading Volume, Dividend Policy, and Financial Information<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After understanding the features of different stock APIs, we&#8217;ll now use the TEJ API as an example to explain the setup steps and query methods in detail. This guide will show investors how to use the TEJ API to query stock trading volumes, explore dividend policies, and retrieve financial information, helping you build a customized investment portfolio.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Intoduction<\/strong><\/li>\n<\/ul>\n\n\n\n<p>TEJ provides multiple ways to access its database using various programming languages, covering data from Taiwan, China, Hong Kong, Korea, and Japan. The database includes operations, finance, trading, macroeconomics, and credit risk information. Users can connect to the database using the following methods:<br>Python: Access through the REST API over HTTPS or the TEJ API module.<br>R Language: Use the R API.<br>.NET Language: Use the .NET API.<br>Although these methods operate similarly\u2026 (the continuation would typically explain the nuances or differences in implementation across these methods).<\/p>\n\n\n\n<p>Database List:<br>You can find the necessary databases by visiting the TEJ API official website, navigating to the top-right corner under &#8220;Database List,&#8221; and searching by region under &#8220;Taiwan Database.&#8221;<br>The database list used in this tutorial includes:<br>TWN\/APRCD: Stock Price and Volume Data<br>TWN\/AIM1A: Financial Statement Data<br>TWN\/AMT1: Listed Companies&#8217; Dividend Policy Data<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Example Usage Guide<\/strong><\/li>\n<\/ul>\n\n\n\n<p>First, import Tejapi and set up your API key. If you don\u2019t have one, you can request a trial through the official TEJ API website.<br>Steps to Request a Trial:<a aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.tejwin.com\/en\/insight\/starting-using-tej-trial-database\/\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\"> link<\/a><br>At the bottom, you can decide whether to display timezone information based on the time field. In Python, timestamps typically show the full details, including year, month, day, hour, minute, and second, by default. However, when you only need date information, displaying these time details can clutter the layout. To maintain a clean and concise display, you can configure the settings to show only the necessary parts, such as the year, month, and day, while hiding the hours, minutes, and seconds.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"222\" height=\"49\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8a2d\u5b9a\u6b65\u9a5f1.jpg\" alt=\"Stock API\" class=\"wp-image-26537\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8a2d\u5b9a\u6b65\u9a5f1.jpg 222w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8a2d\u5b9a\u6b65\u9a5f1-150x33.jpg 150w\" sizes=\"(max-width: 222px) 100vw, 222px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"532\" height=\"82\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8a2d\u5b9a\u6b65\u9a5f2.jpg\" alt=\"Stock API\" class=\"wp-image-26539\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8a2d\u5b9a\u6b65\u9a5f2.jpg 532w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8a2d\u5b9a\u6b65\u9a5f2-300x46.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8a2d\u5b9a\u6b65\u9a5f2-150x23.jpg 150w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Stock Price and Volume Data<\/strong><\/li>\n<\/ul>\n\n\n\n<p>The TEJ API primarily retrieves data through a single command, allowing you to filter results based on user needs using different parameters. In the following example, we will use TSMC (2330) as the subject, apply a time filter, and convert the column names to Chinese.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"933\" height=\"174\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6b65\u9a5f.jpg\" alt=\"Stock API\" class=\"wp-image-26541\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6b65\u9a5f.jpg 933w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6b65\u9a5f-300x56.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6b65\u9a5f-150x28.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6b65\u9a5f-768x143.jpg 768w\" sizes=\"(max-width: 933px) 100vw, 933px\" \/><\/figure>\n\n\n\n<p>The output is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"457\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u7d50\u679c-1024x457.jpg\" alt=\"Stock API\" class=\"wp-image-26543\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u7d50\u679c-1024x457.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u7d50\u679c-300x134.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u7d50\u679c-150x67.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u7d50\u679c-768x343.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u7d50\u679c-1536x685.jpg 1536w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u7d50\u679c.jpg 1999w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can also choose to display only the open, high, low, close, and volume data, as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"40\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6210\u4ea4\u91cf-1024x40.jpg\" alt=\"Stock API\" class=\"wp-image-26545\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6210\u4ea4\u91cf-1024x40.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6210\u4ea4\u91cf-300x12.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6210\u4ea4\u91cf-150x6.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6210\u4ea4\u91cf-768x30.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u6210\u4ea4\u91cf.jpg 1183w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The output is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"546\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u50f9\u91cf\u8f38\u51fa\u7d50\u679c-1024x546.jpg\" alt=\"Stock API\" class=\"wp-image-26547\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u50f9\u91cf\u8f38\u51fa\u7d50\u679c-1024x546.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u50f9\u91cf\u8f38\u51fa\u7d50\u679c-300x160.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u50f9\u91cf\u8f38\u51fa\u7d50\u679c-150x80.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u50f9\u91cf\u8f38\u51fa\u7d50\u679c-768x409.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8cc7\u6599\u6488\u53d6\u50f9\u91cf\u8f38\u51fa\u7d50\u679c.jpg 1150w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Dividend Policy<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Here\u2019s the modified code where the identifier has been changed to the listed companies&#8217; dividend policy identifier TWN\/AMT1, while the rest remains unchanged:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"223\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u6559\u5b78.jpg\" alt=\"Stock API\" class=\"wp-image-26549\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u6559\u5b78.jpg 946w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u6559\u5b78-300x71.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u6559\u5b78-150x35.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u6559\u5b78-768x181.jpg 768w\" sizes=\"(max-width: 946px) 100vw, 946px\" \/><\/figure>\n\n\n\n<p>The output is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"339\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u8f38\u51fa\u7d50\u679c-1024x339.jpg\" alt=\"Stock API\" class=\"wp-image-26551\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u8f38\u51fa\u7d50\u679c-1024x339.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u8f38\u51fa\u7d50\u679c-300x99.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u8f38\u51fa\u7d50\u679c-150x50.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u8f38\u51fa\u7d50\u679c-768x254.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u8f38\u51fa\u7d50\u679c-1536x508.jpg 1536w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u4ee3\u865f\u8f38\u51fa\u7d50\u679c.jpg 1999w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"258\" height=\"52\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u6b04\u4f4d.jpg\" alt=\"Stock API\" class=\"wp-image-26553\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u6b04\u4f4d.jpg 258w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u6b04\u4f4d-150x30.jpg 150w\" sizes=\"(max-width: 258px) 100vw, 258px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"477\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u8f38\u51fa\u7d50\u679c-1024x477.jpg\" alt=\"Stock API\" class=\"wp-image-26555\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u8f38\u51fa\u7d50\u679c-1024x477.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u8f38\u51fa\u7d50\u679c-300x140.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u8f38\u51fa\u7d50\u679c-150x70.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u8f38\u51fa\u7d50\u679c-768x358.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u8f38\u51fa\u7d50\u679c-1536x716.jpg 1536w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u80a1\u5229\u653f\u7b56\u8f38\u51fa\u7d50\u679c.jpg 1540w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Retrieving Financial Data<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Here&#8217;s how to modify the code with the identifier changed to TWN\/AIM1A for listed companies&#8217; financial data. However, the first step involves identifying the necessary accounting items from the income statement. Since TWN\/AIM1A includes cumulative financial data for each company across various industries per quarter, we will first use TWN\/AIACC to find the IFRS financial accounting item classifications, codes, full names in Chinese and English, and units.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"85\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u6488\u53d6\u6559\u5b78.jpg\" alt=\"Stock API\" class=\"wp-image-26557\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u6488\u53d6\u6559\u5b78.jpg 723w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u6488\u53d6\u6559\u5b78-300x35.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u6488\u53d6\u6559\u5b78-150x18.jpg 150w\" sizes=\"(max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"315\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078-1024x315.jpg\" alt=\"Stock API\" class=\"wp-image-26559\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078-1024x315.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078-300x92.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078-150x46.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078-768x236.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078-1536x473.jpg 1536w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078.jpg 1981w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next, you can use data filtering to find the specific accounting codes you need. By using the Chinese name column and the str.contains() method, you can efficiently search for the relevant codes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"942\" height=\"55\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078\u79d1\u76ee\u4ee3\u78bc.jpg\" alt=\"Stock API\" class=\"wp-image-26561\" style=\"width:840px;height:auto\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078\u79d1\u76ee\u4ee3\u78bc.jpg 942w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078\u79d1\u76ee\u4ee3\u78bc-300x18.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078\u79d1\u76ee\u4ee3\u78bc-150x9.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7be9\u9078\u79d1\u76ee\u4ee3\u78bc-768x45.jpg 768w\" sizes=\"(max-width: 942px) 100vw, 942px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"381\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868-1024x381.jpg\" alt=\"Stock API\" class=\"wp-image-26563\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868-1024x381.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868-300x112.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868-150x56.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868-768x286.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868-1536x571.jpg 1536w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868.jpg 1665w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next, you can sort the data by the desired column, such as the order column, and then convert the accounting items into a list for storage.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"871\" height=\"78\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u8f38\u51fa.jpg\" alt=\"Stock API\" class=\"wp-image-26565\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u8f38\u51fa.jpg 871w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u8f38\u51fa-300x27.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u8f38\u51fa-150x13.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u8f38\u51fa-768x69.jpg 768w\" sizes=\"(max-width: 871px) 100vw, 871px\" \/><\/figure>\n\n\n\n<p>The output is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"133\" height=\"889\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u90e8\u5206\u8f38\u51fa.jpg\" alt=\"Stock API\" class=\"wp-image-26567\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u90e8\u5206\u8f38\u51fa.jpg 133w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u90e8\u5206\u8f38\u51fa-45x300.jpg 45w\" sizes=\"(max-width: 133px) 100vw, 133px\" \/><\/figure>\n\n\n\n<p>Finally, you can use Tejapi to retrieve the data by changing the identifier to TWN\/AIM1A. Then, append the revenue_list to the opts list, which selects the columns to be included in the query. This will ensure that the fields corresponding to the accounting items appear after the company code and financial report date columns.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"183\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868\u6574\u7406-1024x183.jpg\" alt=\"Stock API\" class=\"wp-image-26569\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868\u6574\u7406-1024x183.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868\u6574\u7406-300x54.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868\u6574\u7406-150x27.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868\u6574\u7406-768x137.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5217\u8868\u6574\u7406.jpg 1228w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"526\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5448\u73fe-1024x526.jpg\" alt=\"Stock API\" class=\"wp-image-26571\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5448\u73fe-1024x526.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5448\u73fe-300x154.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5448\u73fe-150x77.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5448\u73fe-768x395.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5448\u73fe-1536x789.jpg 1536w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u5448\u73fe.jpg 1993w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"232\" height=\"57\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u6b04\u4f4d.jpg\" alt=\"Stock API\" class=\"wp-image-26573\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u6b04\u4f4d.jpg 232w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u6b04\u4f4d-150x37.jpg 150w\" sizes=\"(max-width: 232px) 100vw, 232px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"409\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7d50\u679c-1024x409.jpg\" alt=\"Stock API\" class=\"wp-image-26575\" style=\"width:840px;height:auto\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7d50\u679c-1024x409.jpg 1024w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7d50\u679c-300x120.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7d50\u679c-150x60.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7d50\u679c-768x307.jpg 768w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7d50\u679c-1536x614.jpg 1536w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968api\u8ca1\u52d9\u8cc7\u6599\u7d50\u679c.jpg 1734w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Table Information:<br>If you&#8217;re unsure about what columns are included in a specific table before using it, you can easily find out by the following code<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"46\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8868\u683c\u6b04\u4f4d\u8cc7\u8a0a.jpg\" alt=\"Stock API\" class=\"wp-image-26577\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8868\u683c\u6b04\u4f4d\u8cc7\u8a0a.jpg 433w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8868\u683c\u6b04\u4f4d\u8cc7\u8a0a-300x32.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8868\u683c\u6b04\u4f4d\u8cc7\u8a0a-150x16.jpg 150w\" sizes=\"(max-width: 433px) 100vw, 433px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"688\" src=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8868\u683c\u8cc7\u8a0a\u6559\u5b78.jpg\" alt=\"Stock API\" class=\"wp-image-26579\" srcset=\"https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8868\u683c\u8cc7\u8a0a\u6559\u5b78.jpg 837w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8868\u683c\u8cc7\u8a0a\u6559\u5b78-300x247.jpg 300w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8868\u683c\u8cc7\u8a0a\u6559\u5b78-150x123.jpg 150w, https:\/\/www.tejwin.com\/wp-content\/uploads\/\u80a1\u7968API\u8868\u683c\u8cc7\u8a0a\u6559\u5b78-768x631.jpg 768w\" sizes=\"(max-width: 837px) 100vw, 837px\" \/><\/figure>\n\n\n\n<p>However, it&#8217;s important to note that the TEJ API distinguishes between free and paid databases. The free database has limitations on the number of calls and the amount of data that can be retrieved.<\/p>\n\n\n\n<p><strong>Trial Database:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Access is limited to the tables provided in the trial database.<\/li>\n\n\n\n<li>Maximum of 500 calls per day<\/li>\n\n\n\n<li>Up to 10,000 records per call (additional documents can be retrieved via pagination, with a total pagination limit of 50,000 records)<\/li>\n\n\n\n<li>A maximum of 50,000 records are provided per day.<\/li>\n<\/ul>\n\n\n\n<p><strong>Paid Database:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Maximum of 2,000 calls per day<\/li>\n\n\n\n<li>Up to 10,000 records per call (additional documents can be retrieved via pagination, with a total pagination limit of 1,000,000 records)<\/li>\n\n\n\n<li>A maximum of 3,000,000 records are provided per day.<\/li>\n<\/ul>\n\n\n\n<p>For detailed usage instructions, you can refer to the following three links:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.tejwin.com\/en\/insight\/tej-rest-api-document\/\" class=\"ek-link\">TEJ REST API User Manual<\/a><br><a href=\"https:\/\/www.tejwin.com\/en\/insight\/tej-api-document\/\" class=\"ek-link\">TEJ API Documentation<\/a><br><a href=\"https:\/\/medium.com\/tej-api-%E9%87%91%E8%9E%8D%E8%B3%87%E6%96%99%E5%88%86%E6%9E%90\/%E6%96%B0%E6%89%8B%E4%B8%8A%E8%B7%AF-%E4%B8%83-rest-api-%E8%88%87-tej-api-%E4%BD%BF%E7%94%A8%E5%B7%AE%E7%95%B0-1e27c2d636b2\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">Differences Between REST API and TEJ API Usage<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Related website links:<\/li>\n<\/ul>\n\n\n\n<p>I want to learn about TEJ API: <a href=\"https:\/\/api.tej.com.tw\/\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">TEJ API<\/a><br>I want to purchase data only: <a href=\"https:\/\/eshop.tej.com.tw\/E-Shop\/Edata_caseIntro\/1\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">TEJ E Shop<\/a><br>I want to purchase data and a backtesting engine: <a href=\"https:\/\/tquant.tejwin.com\/\" class=\"ek-link\" target=\"_blank\" rel=\"noopener\">TQuant Lab<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Most_User-Friendly_Financial_Data_Tool_for_Taiwan_Stocks_TEJ_API\"><\/span>The Most User-Friendly Financial Data Tool for Taiwan Stocks | TEJ API<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are many stock APIs, each with unique features, but few can meet a wide range of needs while allowing access across multiple programming languages. Developed by TEJ (Taiwan Economic Journal), Taiwan&#8217;s most prominent financial information company, the TEJ API offers unrestricted access to its databases, supporting Python, R, and .Net, making it particularly friendly for programming language learners. The TEJ financial database covers major financial markets, including Taiwan, China, Hong Kong, Korea, and Japan, and includes data on operations, finance, trading, macroeconomics, and credit risk. This lets investors access comprehensive financial updates in real-time, adjust their portfolios instantly, and make the most informed decisions. Apply for a trial now to discover the TEJ API&#8217;s convenience!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Further_Reading\"><\/span>Further Reading<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><a href=\"\/?tag=\u65b0\u624b\u5165\u9580\" class=\"ek-link\">Essential Knowledge for Beginners: Introduction to Stock APIs<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.tejwin.com\/en\/insight\/%e3%80%8cgarbage-in-garbage-out-%e3%80%8d\/\" class=\"ek-link\">Garbage In, Garbage Out<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>No matter which brokerage app you use, you can view the historical trading information and real-time market data of various securities on the app. This allows investors to make informed investment decisions based on accurate information. This is possible because the Stock API facilitates smooth data transmission between the market trading system and the brokerage app. In this article, we will introduce what a Stock API is and highlight the three most commonly used Taiwan Stock Market APIs, providing valuable references for investors.<\/p>\n","protected":false},"featured_media":26533,"template":"","tags":[3176,3005,3007,3008],"insight-category":[3509,1356],"class_list":["post-27272","insight","type-insight","status-publish","has-post-thumbnail","hentry","tag-python-2","tag-tejapi-application","tag-tejapi-data-analysis","tag-tejapi-quant","insight-category-fintech-en","insight-category-tquant-lab-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight\/27272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight"}],"about":[{"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/types\/insight"}],"version-history":[{"count":19,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight\/27272\/revisions"}],"predecessor-version":[{"id":44090,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight\/27272\/revisions\/44090"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/media\/26533"}],"wp:attachment":[{"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/media?parent=27272"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/tags?post=27272"},{"taxonomy":"insight-category","embeddable":true,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight-category?post=27272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}