{"id":1237,"date":"2021-04-01T11:06:00","date_gmt":"2021-04-01T11:06:00","guid":{"rendered":"https:\/\/eodhd.com\/knowledgebase\/?p=1237"},"modified":"2025-09-15T16:49:18","modified_gmt":"2025-09-15T14:49:18","slug":"matlab-api-connector-and-example","status":"publish","type":"post","link":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example","title":{"rendered":"Matlab API Connector and Example"},"content":{"rendered":"\n\n\n\n\n<p class=\"has-text-align-center\"><a class=\"maxbutton-1 maxbutton maxbutton-subscribe-to-api external-css btn\" href=\"https:\/\/eodhd.com\/register\"><span class='mb-text'>Sign up &amp; Get Data<\/span><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Simple Example<\/h2>\n\n\n\n<p>It&#8217;s easy to use our API with MatLab without API connector also; below you can find a straightforward example with explanations for MatLab users. <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">url = 'http:\/\/nonsecure.eodhd.com\/api\/table.csv?s=AAPL.US&amp;api_token=YOUR_API_KEY&amp;a=0&amp;b=1&amp;c=2000&amp;d=5&amp;e=16&amp;f=2017&amp;g=d';\n\noptions = weboptions('ContentType','text');\ns=webread(url,options);\n\nC = textscan(s, '%s%f%f%f%f%f%f', 'HeaderLines', 1, 'delimiter', ',', 'CollectOutput', 0);\n\ndisp(C)<\/pre>\n\n\n\n<p>For testing purposes, you can use this API Key:&nbsp;<em>api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX. It w<\/em>orks with AAPL.US only.<\/p>\n\n\n\n<p>As you see, it&#8217;s easy to use. Usually, if you used before Yahoo Finance, then URL variable should look like this: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>http:\/\/ichart.finance.yahoo.com\/table.csv.....<\/strong><\/pre>\n\n\n\n<p>and basically, all you need is to change the beginning of the URL to<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> <strong>http:\/\/nonsecure.eodhd.com\/api\/table.csv<\/strong><\/pre>\n\n\n\n<p>and then add your API Key as an additional parameter.<\/p>\n\n\n\n<p>Please note, that it&#8217;s better to use <strong>HTTP<\/strong> instead of <strong>HTTPS<\/strong> for MatLab projects. And since we do automatic&nbsp;redirects, you should use special sub-domain without redirects: nonsecure.eodhd.com<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Matlab Stock API Connector<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"498\" height=\"500\" src=\"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2017\/06\/MATLAB-.png\" alt=\"MATLAB Stock API Example\" class=\"wp-image-179\" style=\"width:125px;height:125px\"\/><\/figure>\n<\/div>\n\n\n<p>Simply download and extract the EODML.zip file from the <a rel=\"noreferrer noopener\" aria-label=\"Undocumented Matlab (opens in a new tab)\" href=\"https:\/\/undocumentedmatlab.com\/EODML\" target=\"_blank\">Undocumented Matlab<\/a> website in a folder on your Matlab path, then run the EODML command with self-explanatory parameters.<\/p>\n\n\n\n<p>The usage is very user-friendly, as explained on&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/undocumentedmatlab.com\/EODML\/usage-examples\" target=\"_blank\">UndocumentedMatlab.com<\/a>&nbsp;(for example, case-insensitive parameter names with default values, different ways to specify start\/end dates, etc.) Some usage examples are below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Usage Example I. Get Live\/Delayed Prices<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">&gt;&gt; data =\nEODML('prices', 'symbol','AAPL', 'datatype','live')\ndata = \n&nbsp; struct with fields:\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;symbol: 'AAPL.US'\n&nbsp; &nbsp; &nbsp; &nbsp; timestamp: 1577480400\n&nbsp; &nbsp; &nbsp; &nbsp; gmtoffset: 0\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;open: 291.12\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;high: 293.97\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; low: 288.12\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; close: 289.8\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;volume: 36566500\n&nbsp; &nbsp; previousClose: 289.91\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;change: -0.11\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;change_p: -0.038\n&nbsp; &nbsp; &nbsp; datestr_GMT: '27-Dec-2019 21:00:00'\n&nbsp; &nbsp; &nbsp; datenum_GMT: 737786.875\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Usage Example II. Get Historic Prices for Multiple Stocks<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">&gt;&gt; data =\nEODML('prices', 'symbols','IBM,AAPL,GOOG', 'FromDate',20191203, 'ToDate','2019\/12\/13', 'DataType','day')\ndata = \n&nbsp; 9\u00d73 struct array with fields:\n&nbsp; &nbsp; symbol\n&nbsp; &nbsp; date\n&nbsp; &nbsp; datenum\n&nbsp; &nbsp; open\n&nbsp; &nbsp; high\n&nbsp; &nbsp; low\n&nbsp; &nbsp; close\n&nbsp; &nbsp; adjusted_close\n&nbsp; &nbsp; volume\n&gt;&gt; data(1,2)\nans = \n&nbsp; struct with fields:\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; symbol: 'AAPL.US'\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; date: '2019-12-03'\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;datenum: 737762\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open: 258.31\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; high: 259.53\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;low: 256.29\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;close: 259.45\n&nbsp; &nbsp; adjusted_close: 259.45\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; volume: 29377268<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Usage Example III. Get Fundamental Data<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"> &gt;&gt; data = EODML('fundamental', 'symbol','AAPL')\n data = \n &nbsp; struct with fields:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;symbol: 'AAPL.US'\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; General: [1\u00d71 struct]\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Highlights: [1\u00d71 struct]\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Valuation: [1\u00d71 struct]\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SharesStats: [1\u00d71 struct]\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Technicals: [1\u00d71 struct]\n &nbsp; &nbsp; &nbsp; SplitsDividends: [1\u00d71 struct]\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ESGScores: [1\u00d71 struct]\n &nbsp; &nbsp; outstandingShares: [1\u00d71 struct]\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Earnings: [1\u00d71 struct]\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Financials: [1\u00d71 struct]<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Usage Example IV. Get Historic Earning Reports<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">&gt;&gt; data =\nEODML('earnings', 'symbol','AAPL', 'fromdate','2019-01-01')\ndata = \n&nbsp; 4\u00d71 struct array with fields:\n&nbsp; &nbsp; symbol\n&nbsp; &nbsp; report_date\n&nbsp; &nbsp; date\n&nbsp; &nbsp; datenum\n&nbsp; &nbsp; actual\n&nbsp; &nbsp; estimate\n&nbsp; &nbsp; difference\n&nbsp; &nbsp; percent\n&gt;&gt; struct2table(data)\nans =\n&nbsp; 4\u00d78 table\n&nbsp; &nbsp; &nbsp;symbol &nbsp; report_date  date         datenum &nbsp;actual &nbsp;estimate &nbsp;  \ndifference percent\n&nbsp; &nbsp; 'AAPL.US' '2019-01-29' '2018-12-31' &nbsp;737425 &nbsp;4.18 &nbsp; &nbsp;4.17 &nbsp;\n0.01 &nbsp; &nbsp; &nbsp; 0.24\n&nbsp; &nbsp; 'AAPL.US' '2019-04-30' '2019-03-31' &nbsp;737515 &nbsp;2.46 &nbsp; &nbsp;2.36 &nbsp;\n0.10 &nbsp; &nbsp; &nbsp; 4.24\n&nbsp; &nbsp; 'AAPL.US' '2019-07-30' '2019-06-30' &nbsp;737606 &nbsp;2.18 &nbsp; &nbsp;2.10 &nbsp;\n0.08 &nbsp; &nbsp; &nbsp; 3.81\n&nbsp; &nbsp; 'AAPL.US' '2019-10-30' '2019-09-30' &nbsp;737698 &nbsp;3.03 &nbsp; &nbsp;2.84 &nbsp;\n0.19 &nbsp; &nbsp; &nbsp; 6.69<\/pre>\n\n\n\n<p> &#8230;and so on for the entire EODHD offering. You can read more about the EODML connector on <a href=\"https:\/\/UndocumentedMatlab.com\/EODML\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/UndocumentedMatlab.com\/EODML<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>About the Author<\/strong><\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"189\" height=\"243\" src=\"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2019\/12\/Yair.png\" alt=\"\" class=\"wp-image-1280\" style=\"width:95px;height:122px\"\/><\/figure>\n<\/div>\n\n\n<p> Yair Altman is a recognized Matlab expert with 30 years of experience. Yair published two textbooks on Matlab and is a member of the MathWorks advisory board. He is widely known in the Matlab user community from his UndocumentedMatlab website and contributions to public forums. Yair posted numerous free Matlab code and developed multiple commercial Matlab connectors and programs for the finance sector. Read more on&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/UndocumentedMatlab.com\" target=\"_blank\">http:\/\/UndocumentedMatlab.com<\/a><\/p>\n\n\n\n<p class=\"has-text-align-center\"><a class=\"maxbutton-1 maxbutton maxbutton-subscribe-to-api external-css btn\" href=\"https:\/\/eodhd.com\/register\"><span class='mb-text'>Sign up &amp; Get Data<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple Example It&#8217;s easy to use our API with MatLab without API connector also; below you can find a straightforward example with explanations for MatLab users. url = &#8216;http:\/\/nonsecure.eodhd.com\/api\/table.csv?s=AAPL.US&amp;api_token=YOUR_API_KEY&amp;a=0&amp;b=1&amp;c=2000&amp;d=5&amp;e=16&amp;f=2017&amp;g=d&#8217;; options = weboptions(&#8216;ContentType&#8217;,&#8217;text&#8217;); s=webread(url,options); C = textscan(s, &#8216;%s%f%f%f%f%f%f&#8217;, &#8216;HeaderLines&#8217;, 1, &#8216;delimiter&#8217;, &#8216;,&#8217;, &#8216;CollectOutput&#8217;, 0); disp(C) For testing purposes, you can use this API Key:&nbsp;api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX. It works [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4499,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[],"coding-language":[],"ready-to-go-solution":[],"qualification":[],"financial-apis-category":[],"financial-apis-manuals":[],"class_list":["post-1237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-excel-python-php-laravel-java-matlab-examples","has_thumb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.6 (Yoast SEO v26.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Matlab API Connector and Example | EODHD APIs Documentation<\/title>\n<meta name=\"description\" content=\"Find out how to use our API with MatLab without an API connector. Use a clear example with explanations to simplify the integration process\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Matlab API Connector and Example\" \/>\n<meta property=\"og:description\" content=\"Find out how to use our API with MatLab without an API connector. Use a clear example with explanations to simplify the integration process\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example\" \/>\n<meta property=\"og:site_name\" content=\"Stock Price Data, Financial and Stock Market API\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/eodhistoricaldata\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-01T11:06:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-15T14:49:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png\" \/>\n\t<meta property=\"og:image:width\" content=\"270\" \/>\n\t<meta property=\"og:image:height\" content=\"270\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"EOD Historical Data Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EOD_data\" \/>\n<meta name=\"twitter:site\" content=\"@EOD_data\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"EOD Historical Data Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#article\",\"isPartOf\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example\"},\"author\":{\"name\":\"EOD Historical Data Support\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415\"},\"headline\":\"Matlab API Connector and Example\",\"datePublished\":\"2021-04-01T11:06:00+00:00\",\"dateModified\":\"2025-09-15T14:49:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example\"},\"wordCount\":325,\"publisher\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#organization\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png\",\"articleSection\":[\"5. Developer Tools &amp; Examples\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example\",\"name\":\"Matlab API Connector and Example | EODHD APIs Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#primaryimage\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png\",\"datePublished\":\"2021-04-01T11:06:00+00:00\",\"dateModified\":\"2025-09-15T14:49:18+00:00\",\"description\":\"Find out how to use our API with MatLab without an API connector. Use a clear example with explanations to simplify the integration process\",\"breadcrumb\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#primaryimage\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png\",\"contentUrl\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png\",\"width\":270,\"height\":270,\"caption\":\"Matlab API Connector and Example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eodhd.com\/financial-apis\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Matlab API Connector and Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#website\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/\",\"name\":\"Historical Stock Prices and Fundamental Financial Data APIs | EODHD\",\"description\":\"End Of Day (EOD), Fundamental and Real-time\/Live Data Market API\",\"publisher\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eodhd.com\/financial-apis\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#organization\",\"name\":\"EODHD (EOD Historical Data)\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png\",\"contentUrl\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png\",\"width\":159,\"height\":82,\"caption\":\"EODHD (EOD Historical Data)\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/eodhistoricaldata\",\"https:\/\/x.com\/EOD_data\",\"https:\/\/www.reddit.com\/r\/EODHistoricalData\/\",\"https:\/\/eod-historical-data.medium.com\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415\",\"name\":\"EOD Historical Data Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g\",\"caption\":\"EOD Historical Data Support\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Matlab API Connector and Example | EODHD APIs Documentation","description":"Find out how to use our API with MatLab without an API connector. Use a clear example with explanations to simplify the integration process","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example","og_locale":"en_US","og_type":"article","og_title":"Matlab API Connector and Example","og_description":"Find out how to use our API with MatLab without an API connector. Use a clear example with explanations to simplify the integration process","og_url":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example","og_site_name":"Stock Price Data, Financial and Stock Market API","article_publisher":"https:\/\/www.facebook.com\/eodhistoricaldata","article_published_time":"2021-04-01T11:06:00+00:00","article_modified_time":"2025-09-15T14:49:18+00:00","og_image":[{"width":270,"height":270,"url":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png","type":"image\/png"}],"author":"EOD Historical Data Support","twitter_card":"summary_large_image","twitter_creator":"@EOD_data","twitter_site":"@EOD_data","twitter_misc":{"Written by":"EOD Historical Data Support","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#article","isPartOf":{"@id":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example"},"author":{"name":"EOD Historical Data Support","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415"},"headline":"Matlab API Connector and Example","datePublished":"2021-04-01T11:06:00+00:00","dateModified":"2025-09-15T14:49:18+00:00","mainEntityOfPage":{"@id":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example"},"wordCount":325,"publisher":{"@id":"https:\/\/eodhd.com\/financial-apis\/#organization"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#primaryimage"},"thumbnailUrl":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png","articleSection":["5. Developer Tools &amp; Examples"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example","url":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example","name":"Matlab API Connector and Example | EODHD APIs Documentation","isPartOf":{"@id":"https:\/\/eodhd.com\/financial-apis\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#primaryimage"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#primaryimage"},"thumbnailUrl":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png","datePublished":"2021-04-01T11:06:00+00:00","dateModified":"2025-09-15T14:49:18+00:00","description":"Find out how to use our API with MatLab without an API connector. Use a clear example with explanations to simplify the integration process","breadcrumb":{"@id":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#primaryimage","url":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png","contentUrl":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png","width":270,"height":270,"caption":"Matlab API Connector and Example"},{"@type":"BreadcrumbList","@id":"https:\/\/eodhd.com\/financial-apis\/matlab-api-connector-and-example#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eodhd.com\/financial-apis"},{"@type":"ListItem","position":2,"name":"Matlab API Connector and Example"}]},{"@type":"WebSite","@id":"https:\/\/eodhd.com\/financial-apis\/#website","url":"https:\/\/eodhd.com\/financial-apis\/","name":"Historical Stock Prices and Fundamental Financial Data APIs | EODHD","description":"End Of Day (EOD), Fundamental and Real-time\/Live Data Market API","publisher":{"@id":"https:\/\/eodhd.com\/financial-apis\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eodhd.com\/financial-apis\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eodhd.com\/financial-apis\/#organization","name":"EODHD (EOD Historical Data)","url":"https:\/\/eodhd.com\/financial-apis\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/","url":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png","contentUrl":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png","width":159,"height":82,"caption":"EODHD (EOD Historical Data)"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/eodhistoricaldata","https:\/\/x.com\/EOD_data","https:\/\/www.reddit.com\/r\/EODHistoricalData\/","https:\/\/eod-historical-data.medium.com\/"]},{"@type":"Person","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415","name":"EOD Historical Data Support","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g","caption":"EOD Historical Data Support"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2021\/04\/Matlab-API-Connector-and-Example.png","jetpack_shortlink":"https:\/\/wp.me\/p8NjB1-jX","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts\/1237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/comments?post=1237"}],"version-history":[{"count":11,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts\/1237\/revisions"}],"predecessor-version":[{"id":6909,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts\/1237\/revisions\/6909"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/media\/4499"}],"wp:attachment":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/media?parent=1237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/categories?post=1237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/tags?post=1237"},{"taxonomy":"coding-language","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/coding-language?post=1237"},{"taxonomy":"ready-to-go-solution","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/ready-to-go-solution?post=1237"},{"taxonomy":"qualification","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/qualification?post=1237"},{"taxonomy":"financial-apis-category","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/financial-apis-category?post=1237"},{"taxonomy":"financial-apis-manuals","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/financial-apis-manuals?post=1237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}