{"id":2626,"date":"2021-09-14T02:32:42","date_gmt":"2021-09-14T02:32:42","guid":{"rendered":"https:\/\/www.tejwin.com\/en\/insights\/the-difference-between-rest-api-and-tej-api\/"},"modified":"2021-09-14T02:32:42","modified_gmt":"2021-09-14T02:32:42","slug":"the-difference-between-rest-api-and-tej-api","status":"publish","type":"insight","link":"https:\/\/www.tejwin.com\/en\/insights\/the-difference-between-rest-api-and-tej-api\/","title":{"rendered":"The Difference between REST API and TEJ API"},"content":{"rendered":"<p class=\"wp-block-paragraph\">All roads lead to Rome<\/p>\n<figure class=\"wp-block-image aligncenter caption-align-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/1_0PdLFuzExcNsyULa3.jpg\"\/><figcaption class=\"wp-element-caption\">Photo Creds:\u00a0<a href=\"https:\/\/unsplash.com\/photos\/6rkJD0Uxois\" rel=\"noreferrer noopener\" target=\"_blank\">Unsplash<\/a><\/figcaption><\/figure>\n<h2 class=\"wp-block-heading\" id=\"afe2\"><strong>Highlights<\/strong><\/h2>\n<ul class=\"wp-block-list\">\n<li>Difficulty\uff1a\u2605\u2606\u2606\u2606\u2606<\/li>\n<li>Obtain stock price and financial data in different ways<\/li>\n<li>Advice: This article aims to find out the difference and similarity between REST API and TEJ API in terms of data obtaining and data processing, in order to help readers choose the way to access to database according to personal preference. Before reading this article, I highly recommend readers to check both\u00a0<a class=\"ek-link\" href=\"https:\/\/medium.com\/tej-api-financial-data-anlaysis\/introduction-1-building-your-own-database-through-tej-api-493529d138da\" rel=\"noopener\" target=\"_blank\">\u3010Introduction(1)\u3011Building your own database through TEJ API<\/a>\u00a0and\u00a0<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\/introduction-4-tej-rest-api-document-62604989797f\" rel=\"noopener\" target=\"_blank\">\u3010Introduction(4)\u3011TEJ Rest API Document<\/a>\u00a0to grasp the overall idea of two methods.<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\" id=\"4c27\"><strong>Preface<\/strong><\/h2>\n<p class=\"wp-block-paragraph\" id=\"ef4d\">TEJ offers different ways to access to TEJ database through programming languages, such as Python-based\u00a0<a href=\"https:\/\/api.tej.com.tw\/document_rest.html\" rel=\"noreferrer noopener\" target=\"_blank\">REST API<\/a>\u00a0and\u00a0<a href=\"https:\/\/api.tej.com.tw\/document_python.html\" rel=\"noreferrer noopener\" target=\"_blank\">TEJ API<\/a>, R-based\u00a0<a href=\"https:\/\/api.tej.com.tw\/document_r.html\" rel=\"noreferrer noopener\" target=\"_blank\">R API<\/a>\u00a0or NET-based\u00a0<a href=\"https:\/\/api.tej.com.tw\/document_net.html\" rel=\"noreferrer noopener\" target=\"_blank\">.Net API<\/a>. Even though the mechanisms behind these are a bit different, the logic of getting data and the way to set input parameter share many similarities, which enable users to turn to different methods more flexibly. Therefore, this week, we are about to compare REST API to TEJ API and see what suits you the most !<\/p>\n<h2 class=\"wp-block-heading\" id=\"4b7f\"><strong>The Editing Environment and Modules Required<\/strong><\/h2>\n<p class=\"wp-block-paragraph\" id=\"d5f1\">Windows OS and Jupyter Notebook<\/p>\n<pre class=\"wp-block-preformatted\">#Basic modules required <br\/>import pandas as pd<br\/>import matplotlib.pyplot as plt<br\/>import numpy as np#Modules required by REST API <br\/>import requests, json#Modules required by TEJ API <br\/>import tejapi<br\/>tejapi.ApiConfig.api_key = 'Your Key'<\/pre>\n<h2 class=\"wp-block-heading\" id=\"443d\"><strong>Database Used<\/strong><\/h2>\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/api.tej.com.tw\/columndoc.html?subId=42\" rel=\"noreferrer noopener\" target=\"_blank\">Unadjusted Stock Price<\/a>: the code of the database is \u2018TWN\/APRCD\u2019, containing the unadjusted stock price of listed firms<\/li>\n<li><a href=\"https:\/\/api.tej.com.tw\/columndoc.html?subId=62\" rel=\"noreferrer noopener\" target=\"_blank\">Consolidated financial statements (cumulative)<\/a>: the code of the database is \u2018TWN\/AIM1A\u2019, covering cumulative financial data of all firms<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\" id=\"83e1\"><strong>Main Difference<\/strong><\/h2>\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/1pPN_-dBZ3mET00hbVm5gBQ.png\"\/><\/figure>\n<h2 class=\"wp-block-heading\" id=\"a4b7\"><strong>Case1: Obtain Incomplete Stock Price<\/strong><\/h2>\n<h3 class=\"wp-block-heading\" id=\"d7a7\"><strong>Method A: REST API<\/strong><\/h3>\n<ul class=\"wp-block-list\">\n<li>Modify the website link and load the content<\/li>\n<\/ul>\n<pre class=\"wp-block-preformatted\">key = \"&amp;api_key=\" + \"Your Key\" <br\/>database = 'TWN\/APRCD'                               <br\/>coid = \"&amp;coid=\" + \"2454,3034,2379\"                    <br\/>date_start = \"&amp;mdate.gte=\" + \"2000-01-01\"           <br\/>date_end = \"&amp;mdate.lte=\" + \"2020-12-31\"         <br\/>columns = \"&amp;opts.columns=\"+ \"coid,mdate,open_d,high_d,low_d,close_d\" <br\/>paginate = ''<\/pre>\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\" id=\"0206\"><em>key: the key to database, please change \u2018Your Key\u2019 into the key you get after purchasing the database<\/em><\/p>\n<p class=\"wp-block-paragraph\" id=\"ae6a\"><em>database: the code of database, here we choose Unadjusted Stock Price<\/em><\/p>\n<p class=\"wp-block-paragraph\" id=\"2465\"><em>coid: the code of the stock, we select these three (2454\u30013034\u30012379) firms. If you rather choose all firms, assign empty string to coid\u00a0<\/em><code><em>coid = ''<\/em><\/code><\/p>\n<p class=\"wp-block-paragraph\" id=\"8df9\"><em>date_start: the starting date, if there\u2019s no limitation set on it, also assign empty string\u00a0<\/em><code><em>date_start = ''<\/em><\/code><\/p>\n<p class=\"wp-block-paragraph\" id=\"5289\"><em>date_end: the ending date, if there\u2019s no limitation set on it, also assign empty string\u00a0<\/em><code><em>date_end = ''<\/em><\/code><\/p>\n<p class=\"wp-block-paragraph\" id=\"ba24\"><em>columns: selected columns, the code of columns can be viewed in the column description of that database. If you want all columns, just assign empty string\u00a0<\/em><code><em>columns = ''<\/em><\/code><\/p>\n<p class=\"wp-block-paragraph\" id=\"ccb1\"><em>paginate: set empty string by default, and it\u2019ll be altered later on in loop<\/em><\/p>\n<\/blockquote>\n<pre class=\"wp-block-preformatted\">url = \"<a href=\"https:\/\/api.tej.com.tw\/api\/datatables\/\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/api.tej.com.tw\/api\/datatables\/<\/a>\" + database + \".json?\" + coid + date_start + date_end + columns + key + paginate <br\/>rq = requests.get(url)<\/pre>\n<p class=\"wp-block-paragraph\" id=\"59fa\">Then we attach those variables at the end of basic link to form a modified link. The\u00a0<code>.json?<\/code>\u00a0within the link represents the json output format. In the next step,\u00a0<code>requests.get()<\/code>\u00a0is used to load the contents of the website which are stored in\u00a0<code>rq<\/code>. Finally, we display the content of\u00a0<code>rq<\/code>\u00a0with\u00a0<code>json()<\/code><\/p>\n<pre class=\"wp-block-preformatted\">rq.json()<\/pre>\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/1Tecd5fP4J9cnau8HMhU59Q.png\"\/><\/figure>\n<ul class=\"wp-block-list\">\n<li>Select Chinese column names<\/li>\n<\/ul>\n<pre class=\"wp-block-preformatted\">column_info = rq.json()['datatable']['columns']<\/pre>\n<p class=\"wp-block-paragraph\" id=\"b8a8\">Since from the above we know the data type of\u00a0<code>rq.json()<\/code>\u00a0is dictionary, which also contains several dictionaries. Therefore, we choose the second layer dictionary and get the column information with its corresponding key \u2018columns\u2019<\/p>\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/13nlVSuecMjNKCmlj4o4hPQ.png\"\/><\/figure>\n<pre class=\"wp-block-preformatted\">chinese_columns = [i['cname'] for i in column_info]<\/pre>\n<p class=\"wp-block-paragraph\" id=\"d869\">So we can extract Chinese columns name based on column information structure<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/1JPP4lgVGd6s8LX7I1Ok9ew.png\"\/><\/figure>\n<ul class=\"wp-block-list\">\n<li>Obtain stock price data and form a dataframe<\/li>\n<\/ul>\n<pre class=\"wp-block-preformatted\">data = rq.json()['datatable']['data']<\/pre>\n<p class=\"wp-block-paragraph\" id=\"e35b\">Here we choose the key \u2018data\u2019 of the second layer dictionary, which contains stock price that we need<\/p>\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/1V1yOKnR2DO4iyqSZwfdlNA.png\"\/><\/figure>\n<pre class=\"wp-block-preformatted\">data_table_a = pd.DataFrame(data, columns = chinese_columns)<\/pre>\n<p class=\"wp-block-paragraph\" id=\"1ef1\">Form a DataFrame by combining stock price data and column names<\/p>\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/1slWG9X7WVxC8hB-6j38Pcg.png\"\/><\/figure>\n<p class=\"wp-block-paragraph\" id=\"ec4a\">Because TEJ set the limitation on data amount of single access, which is exactly 10,000 amounts, the above result may not have all data we want<\/p>\n<pre class=\"wp-block-preformatted\">next_cursor_id = rq.json()['meta']['next_cursor_id']<br\/>print(next_cursor_id)<\/pre>\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/1MLDRszM7SkW7JVHZ5wo0uA.png\"\/><\/figure>\n<p class=\"wp-block-paragraph\" id=\"996c\">To make sure the completeness of data, we use the above way. If next_cursor_id is shown as a random code, meaning still some data is on the next page. But if it prints out\u00a0<code>None<\/code>, indicating it\u2019s the last page of data pool. What\u2019s worth noting is that every time we call\u00a0<code>requests.get()<\/code>,\u00a0<strong>next_cursor_id will change accordingly, even we apply the same link<\/strong><\/p>\n<h3 class=\"wp-block-heading\" id=\"7eab\"><strong>Method B: TEJ API<\/strong><\/h3>\n<pre class=\"wp-block-preformatted\">data_table_b = tejapi.get('TWN\/APRCD',<br\/>                          coid = ['2454','3034','2379'],<br\/>                          mdate = {'gte':'2000-01-01', 'lte':'2020-12-31'},<br\/>                          opts = {'columns':['coid','mdate','open_d','high_d','low_d','close_d']},<br\/>                          chinese_column_name = True)<\/pre>\n<p class=\"wp-block-paragraph\" id=\"f4e2\">As for TEJ API, we use\u00a0<code>tejapi.get()<\/code>\u00a0function with several inputs. We can see the way to select data range is quite the same. But TEJ API can directly return a Dataframe with no need to combine data and column names.<\/p>\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/0ERBqSL-3JoGXIeri.png\"\/><\/figure>\n<h2 class=\"wp-block-heading\" id=\"62d2\"><strong>Case2: Obtain Complete Stock Price Data<\/strong><\/h2>\n<h3 class=\"wp-block-heading\" id=\"b9a3\"><strong>Method A: REST API<\/strong><\/h3>\n<pre class=\"wp-block-preformatted\">stock_price_a = pd.DataFrame()while True:<br\/>    #Reset url<br\/>    url = \"<a href=\"https:\/\/api.tej.com.tw\/api\/datatables\/\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/api.tej.com.tw\/api\/datatables\/<\/a>\" + database + \".json?\" + coid + date_start + date_end + columns + key + paginate<br\/>    <br\/>    #Load website<br\/>    rq = requests.get(url)   <br\/> <br\/>    #Select Chinese column <br\/>    column_info = rq.json()['datatable']['columns']<br\/>    chinese_columns = [i['cname'] for i in column_info]<br\/>    <br\/>    #Obtain data<br\/>    data = rq.json()['datatable']['data']<br\/>    <br\/>    #Form a dataframe<br\/>    data_table = pd.DataFrame(data, columns = chinese_columns)<br\/>    <br\/>    #Store in the container<br\/>    stock_price_a = stock_price_a.append(data_table).reset_index(drop=True)<br\/>    <br\/>    #Check if there's next page<br\/>    next_cursor_id = rq.json()['meta']['next_cursor_id']<br\/>    <br\/>    #Whether or not to escape the loop<br\/>    if next_cursor_id == None:<br\/>        break<br\/>    else:<br\/>        paginate = '&amp;opts.cursor_id=' + next_cursor_id<\/pre>\n<p class=\"wp-block-paragraph\" id=\"58e2\">By continuing to use the variables built at the beginning, we firstly create an empty DataFrame\u00a0<code>stock_price_a<\/code>\u00a0as a container. Then enter into\u00a0<code>while<\/code>\u00a0loop and keep storing each page\u2019s data in\u00a0<code>stock_price_a<\/code>\u00a0until\u00a0<code>next_cursor_id<\/code>\u00a0become\u00a0<code>None<\/code>, meaning there\u2019s no next page.<\/p>\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/0pdAfGCVpqY_LR39h.png\"\/><\/figure>\n<h3 class=\"wp-block-heading\" id=\"5422\"><strong>Method B: TEJ API<\/strong><\/h3>\n<pre class=\"wp-block-preformatted\">stock_price_b = tejapi.get('TWN\/APRCD',<br\/>                          coid = ['2454','3034','2379'],<br\/>                          mdate = {'gte':'2000-01-01', 'lte':'2020-12-31'},<br\/>                          opts = {'columns':['coid','mdate','open_d','high_d','low_d','close_d']},<br\/>                          paginate = True,<br\/>                          chinese_column_name = True)<\/pre>\n<p class=\"wp-block-paragraph\" id=\"4139\">With regards to TEJ API, we just need to add\u00a0<code>paginate = True<\/code>\u00a0to guarantee the completeness of data<\/p>\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/0DsL-QjhPqRPUfSwc.png\"\/><\/figure>\n<h2 class=\"wp-block-heading\" id=\"f5ac\"><strong>Case3: Obtain Complete Financial Data<\/strong><\/h2>\n<h3 class=\"wp-block-heading\" id=\"dde8\"><strong>Method A: REST API<\/strong><\/h3>\n<ul class=\"wp-block-list\">\n<li>Modify website link<\/li>\n<\/ul>\n<pre class=\"wp-block-preformatted\">key = \"&amp;api_key=\" + \"Your Key\"  <br\/>database = 'TWN\/AIM1A'                                <br\/>coid = \"&amp;coid=\" + \"2454,3034,2379\"                    <br\/>date_start = \"&amp;mdate.gte=\" + \"2000-01-01\"             <br\/>date_end = \"&amp;mdate.lte=\" + \"2020-12-31\"               <br\/>columns = \"&amp;opts.columns=\" + \"coid,mdate,R531,7210,R106,R504\" <br\/>pivot = \"&amp;opts.pivot=True\"                            <br\/>paginate = ''<\/pre>\n<p class=\"wp-block-paragraph\" id=\"15e5\">Here we choose\u00a0<a href=\"https:\/\/api.tej.com.tw\/columndoc.html?subId=62\" rel=\"noreferrer noopener\" target=\"_blank\">Consolidated financial statements (cumulative)<\/a>\u00a0database. The firms selected and time periods are the same as Case1 and Case2. It\u2019s worth noting that the codes of financial accounts should be looked up in advance to become the column information here, and we also add pivot variable to make Dataframe easier to deal with (To see more details, please refer to\u00a0<a class=\"ek-link\" href=\"https:\/\/medium.com\/tej-api-%E9%87%91%E8%9E%8D%E8%B3%87%E6%96%99%E5%88%86%E6%9E%90\/introduction-6-obtain-financial-data-a152f472a58f\" rel=\"noopener\" target=\"_blank\">\u3010Introduction(6)\u3011- Obtai<\/a><a class=\"ek-link\" href=\"https:\/\/medium.com\/tej-api-financial-data-anlaysis\/introduction-6-obtain-financial-data-a152f472a58f\" rel=\"noopener\" target=\"_blank\">n<\/a><a class=\"ek-link\" href=\"https:\/\/medium.com\/tej-api-%E9%87%91%E8%9E%8D%E8%B3%87%E6%96%99%E5%88%86%E6%9E%90\/introduction-6-obtain-financial-data-a152f472a58f\" rel=\"noopener\" target=\"_blank\"> Financial Data<\/a>) . The following data obtaining structure are much similar to Case2<\/p>\n<ul class=\"wp-block-list\">\n<li>Obtain the whole data<\/li>\n<\/ul>\n<pre class=\"wp-block-preformatted\">finance_a = pd.DataFrame()<br\/>while True:<br\/>    #Reset url<br\/>    url = \"<a href=\"https:\/\/api.tej.com.tw\/api\/datatables\/\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/api.tej.com.tw\/api\/datatables\/<\/a>\" + database + \".json?\" + coid + date_start + date_end + columns + key + pivot + paginate<br\/>    <br\/>    #Load the website<br\/>    rq = requests.get(url)<br\/>    <br\/>    #Chinese column<br\/>    column_info = rq.json()['datatable']['columns']<br\/>    chinese_columns = [i['cname'] for i in column_info]<br\/>    <br\/>    #Financial data<br\/>    data = rq.json()['datatable']['data']<br\/>    <br\/>    #Form a dataframe<br\/>    data_table = pd.DataFrame(data, columns = chinese_columns)<br\/>    <br\/>    #Store in finance_a<br\/>    finance_a = finance_a.append(data_table).reset_index(drop=True)<br\/>    <br\/>    #Check if there's next page<br\/>    next_cursor_id = rq.json()['meta']['next_cursor_id']        #Condition to escape the loop<br\/>    if next_cursor_id == None:<br\/>        break<br\/>    else:<br\/>        paginate = '&amp;opts.cursor_id=' + next_cursor_id<\/pre>\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/0pclxgEloUBvppw3z.png\"\/><\/figure>\n<h3 class=\"wp-block-heading\" id=\"b6e6\">Method B: TEJ API<\/h3>\n<pre class=\"wp-block-preformatted\">finance_b = tejapi.get('TWN\/AIM1A',<br\/>                       coid = ['2454','3034','2379'],<br\/>                       mdate = {'gte':'2000-01-01', 'lte':'2020-12-31'},<br\/>                       opts = {'columns':['coid','mdate','R531','7210','R106','R504'],'pivot':True},<br\/>                       paginate = True,<br\/>                       chinese_column_name = True)<\/pre>\n<figure class=\"wp-block-image\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tejwin.com\/en\/wp-content\/uploads\/2026\/08\/0mFxqYQvH9BHt3WQZ.png\"\/><\/figure>\n<h2 class=\"wp-block-heading\" id=\"742a\"><strong>Conclusion<\/strong><\/h2>\n<p class=\"wp-block-paragraph\" id=\"dc60\">With these three examples, we figure out no matter which method we choose, the procedures are all standard and easy to understand. Thus, we recommend readers to set up a function to avoid these repetitive works. To sum up, REST API provides web-crawl mechanism to access to database and its output format is json or xml, which both has its pros and cons, while TEJ API use module built by TEJ and has advantages of quick and efficient access to database. However, this article doesn\u2019t intend to decide which one is better, but aims to deepen readers\u2019 understanding of access to database. If readers are interested in certain databases, welcome to\u00a0<a href=\"https:\/\/eshop.tej.com.tw\/E-Shop\/Edata_intro\" rel=\"noreferrer noopener\" target=\"_blank\">E-shop<\/a>\u00a0to choose the optimal plan for yourself !<\/p>\n<h2 class=\"wp-block-heading\" id=\"1271\"><strong>Related Link<\/strong><\/h2>\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/api.tej.com.tw\/index.html\" rel=\"noreferrer noopener\" target=\"_blank\">TEJ API<\/a><\/li>\n<li><a href=\"https:\/\/eshop.tej.com.tw\/E-Shop\/Edata_intro\" rel=\"noreferrer noopener\" target=\"_blank\">TEJ E-Shop<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>All roads lead to Rome Highlights Preface TEJ offers different ways to access to TEJ database through programming languages, such as Python-based\u00a0REST API\u00a0and\u00a0TEJ API, R-based\u00a0R API\u00a0or NET-based\u00a0.Net API. Even though the mechanisms behind these are a bit different, the logic of getting data and the way to set input parameter share many similarities, which enable [\u2026]<\/p>\n","protected":false},"featured_media":2613,"template":"","tags":[65,70],"insight_category":[16],"class_list":["post-2626","insight","type-insight","status-publish","has-post-thumbnail","hentry","tag-python","tag-tej-api","insight_category-quant-data-science"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight\/2626","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"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/media\/2613"}],"wp:attachment":[{"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/media?parent=2626"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/tags?post=2626"},{"taxonomy":"insight_category","embeddable":true,"href":"https:\/\/www.tejwin.com\/en\/wp-json\/wp\/v2\/insight_category?post=2626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}