{"id":44,"date":"2008-02-20T23:03:00","date_gmt":"2008-02-21T04:03:00","guid":{"rendered":"http:\/\/www.indexmundi.com\/blog\/index.php\/2008\/02\/20\/embeddable-exchange-rate-graphs\/"},"modified":"2008-02-29T22:56:25","modified_gmt":"2008-03-01T03:56:25","slug":"embeddable-exchange-rate-graphs","status":"publish","type":"post","link":"https:\/\/www.indexmundi.com\/blog\/index.php\/2008\/02\/20\/embeddable-exchange-rate-graphs\/","title":{"rendered":"Embeddable Exchange Rate Graphs"},"content":{"rendered":"<p>Starting today anyone may embed our exchange rate charts in their blog or web site. Just copy and paste the HTML displayed under each graph. Here is an example:<\/p>\n<p><a href='http:\/\/www.indexmundi.com\/xrates\/graph.aspx?c1=USD&amp;c2=EUR&amp;days=30&amp;lastday=20080220'><img alt='American Dollar to Euro Exchange Rate Graph - Jan 22, 2008 to Feb 20, 2008' src='http:\/\/www.indexmundi.com\/xrates\/image.aspx?c1=USD&amp;c2=EUR&amp;days=30&amp;lastday=20080220' style='border: solid 1px #rgb(0.6,0.6,0.6);' title='Click to play with this data at IndexMundi' \/><\/a><\/p>\n<p>The code used to embed the chart above is as follows:<\/p>\n<p><textarea cols=\"60\" rows=\"5\">&lt;a href=&#8217;http:\/\/www.indexmundi.com\/xrates\/graph.aspx?c1=USD&amp;c2=EUR&amp;days=30&amp;lastday=20080220&#8242;&gt;&lt;img alt=&#8217;American Dollar to Euro Exchange Rate Graph &#8211; Jan 22, 2008 to Feb 20, 2008&#8242; src=&#8217;http:\/\/www.indexmundi.com\/xrates\/image.aspx?c1=USD&amp;c2=EUR&amp;days=30&amp;lastday=20080220&#8242; style=&#8217;border: solid 1px #rgb(0.6,0.6,0.6);&#8217; title=&#8217;Click to play with this data at IndexMundi&#8217; \/&gt;&lt;\/a&gt;<\/textarea><\/p>\n<p>Obtaining a different graph is as simple as changing the values of four query string parameters:<\/p>\n<p>c1: currency code for the base currency, e.g. USD for the US Dollar<br \/>\nc2: currency code for the target currency, e.g. EUR for the Euro<br \/>\ndays: time span displayed in the graph, e.g. 30 for 30 days<br \/>\nlastday: last date displayed in the graph, e.g. 20080228 for February 20, 2008<\/p>\n<p>The combination of days and lastday allows you to control the first and last dates displayed in the chart. For example, if you need to graph the Dollar to Euro exchange rate for the last 90 days of 2007, you would set days=90&#038;lastdate=20071231<\/p>\n<p>Leave me a comment if you need further details on how to embed the charts.  <\/p>\n<p><span class='st_facebook' st_title='Embeddable Exchange Rate Graphs' st_url='https:\/\/www.indexmundi.com\/blog\/index.php\/2008\/02\/20\/embeddable-exchange-rate-graphs\/' displayText='facebook'><\/span><span st_via='indexmundi' st_username='indexmundi' class='st_twitter' st_title='Embeddable Exchange Rate Graphs' st_url='https:\/\/www.indexmundi.com\/blog\/index.php\/2008\/02\/20\/embeddable-exchange-rate-graphs\/' displayText='twitter'><\/span><span class='st_email' st_title='Embeddable Exchange Rate Graphs' st_url='https:\/\/www.indexmundi.com\/blog\/index.php\/2008\/02\/20\/embeddable-exchange-rate-graphs\/' displayText='email'><\/span><span class='st_sharethis' st_title='Embeddable Exchange Rate Graphs' st_url='https:\/\/www.indexmundi.com\/blog\/index.php\/2008\/02\/20\/embeddable-exchange-rate-graphs\/' displayText='sharethis'><\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>Starting today anyone may embed our exchange rate charts in their blog or web site. Just copy and paste the HTML displayed under each graph. Here is an example: The code used to embed the chart above is as follows: &lt;a href=&#8217;http:\/\/www.indexmundi.com\/xrates\/graph.aspx?c1=USD&amp;c2=EUR&amp;days=30&amp;lastday=20080220&#8242;&gt;&lt;img alt=&#8217;American Dollar to Euro Exchange Rate Graph &#8211; Jan 22, 2008 to Feb [&hellip;]<\/p>\n<p><span class='st_facebook' st_title='Embeddable Exchange Rate Graphs' st_url='https:\/\/www.indexmundi.com\/blog\/index.php\/2008\/02\/20\/embeddable-exchange-rate-graphs\/' displayText='facebook'><\/span><span st_via='indexmundi' st_username='indexmundi' class='st_twitter' st_title='Embeddable Exchange Rate Graphs' st_url='https:\/\/www.indexmundi.com\/blog\/index.php\/2008\/02\/20\/embeddable-exchange-rate-graphs\/' displayText='twitter'><\/span><span class='st_email' st_title='Embeddable Exchange Rate Graphs' st_url='https:\/\/www.indexmundi.com\/blog\/index.php\/2008\/02\/20\/embeddable-exchange-rate-graphs\/' displayText='email'><\/span><span class='st_sharethis' st_title='Embeddable Exchange Rate Graphs' st_url='https:\/\/www.indexmundi.com\/blog\/index.php\/2008\/02\/20\/embeddable-exchange-rate-graphs\/' displayText='sharethis'><\/span><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,6,18],"tags":[],"_links":{"self":[{"href":"https:\/\/www.indexmundi.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/44"}],"collection":[{"href":"https:\/\/www.indexmundi.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.indexmundi.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.indexmundi.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.indexmundi.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":0,"href":"https:\/\/www.indexmundi.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/44\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.indexmundi.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.indexmundi.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.indexmundi.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}