{"id":334957,"date":"2026-08-31T07:31:17","date_gmt":"2026-08-31T07:31:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/goldrechner-calculator\/"},"modified":"2026-09-02T08:18:14","modified_gmt":"2026-09-02T08:18:14","slug":"juniustech-gold-price-calculator","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/juniustech-gold-price-calculator\/","author":22025808,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.2","stable_tag":"1.2.2","tested":"7.1","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Juniustech Gold Price Calculator","header_author":"juniustech","header_description":"Calculates the value of gold by weight and purity using live spot prices.","assets_banners_color":"","last_updated":"2026-09-02 08:18:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/profiles.wordpress.org\/juniustech\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":115,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"juniustech","date":"2026-08-31 07:30:51","revision":3673559},"1.2.0":{"tag":"1.2.0","author":"juniustech","date":"2026-08-31 15:51:59","revision":3674591},"1.2.1":{"tag":"1.2.1","author":"juniustech","date":"2026-09-01 07:58:59","revision":3675593},"1.2.2":{"tag":"1.2.2","author":"juniustech","date":"2026-09-02 08:18:14","revision":3677455}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3674607,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3674607,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0","1.2.0","1.2.1","1.2.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[716,15510,32745,146049,15432],"plugin_category":[59],"plugin_contributors":[268792],"plugin_business_model":[],"class_list":["post-334957","plugin","type-plugin","status-publish","hentry","plugin_tags-calculator","plugin_tags-gold","plugin_tags-gold-price","plugin_tags-precious-metals","plugin_tags-price-calculator","plugin_category-utilities-and-tools","plugin_contributors-juniustech","plugin_committers-juniustech"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/juniustech-gold-price-calculator\/assets\/icon-128x128.png?rev=3674607","icon_2x":"https:\/\/ps.w.org\/juniustech-gold-price-calculator\/assets\/icon-256x256.png?rev=3674607","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Juniustech Gold Price Calculator fetches live gold prices, converts them to CHF, and displays an interactive karat price table on any page.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Hourly automatic price updates (WordPress cron), with a one-hour cache<\/li>\n<li>9 gold alloys (999 to 333)<\/li>\n<li>Additional kg rows for silver-plated items and tin (CHF\/kg editable in settings)<\/li>\n<li>Combined TOTAL (CHF) across grams and kilograms<\/li>\n<li>Configurable surcharge per gram (default: 0.50 CHF)<\/li>\n<li>Shortcode: <code>[gold_price_calculator]<\/code><\/li>\n<li>Shows the last known price if the API is temporarily unavailable<\/li>\n<li>Inquiry form that emails the gram\/karat and kg breakdown<\/li>\n<li>Responsive table design<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to external APIs to retrieve live gold spot prices and\ncurrency exchange rates. This is required because the calculator shows\nup-to-date values instead of static prices.<\/p>\n\n<p>Requests run on the server with <code>wp_remote_get<\/code>. No personal data, no visitor\ninformation and no site content is transmitted by this plugin.<\/p>\n\n<ol>\n<li><p>Gold API (https:\/\/api.gold-api.com\/price\/XAU) \u2014 gold price in USD. Used when\nno custom JSON URL is set. Terms: https:\/\/gold-api.com\/  Privacy: the request\ncontains only the metal symbol path (XAU).<\/p><\/li>\n<li><p>Frankfurter (https:\/\/api.frankfurter.dev\/) \u2014 USD to CHF conversion. Used to\nconvert the gold USD price to CHF. Terms: https:\/\/www.frankfurter.dev\/\nThe request contains only currency codes (USD, CHF).<\/p><\/li>\n<li><p>Alpha Vantage (https:\/\/www.alphavantage.co\/query) \u2014 optional fallback when\nthe sources above fail, or when the site owner has entered an API key.\nThe request contains lookup parameters (metal\/currency codes) and the site\nowner's own API key. Terms: https:\/\/www.alphavantage.co\/terms_of_service\/\nPrivacy: https:\/\/www.alphavantage.co\/privacy\/<\/p><\/li>\n<li><p>Optional custom JSON URL (settings) \u2014 if the site owner enters a URL, that\nhost is requested first. Only the URL they configured is contacted.<\/p><\/li>\n<\/ol>\n\n<p>A request is sent when cached price data expires and a page containing the\ncalculator is loaded, when WordPress cron runs the hourly update, and when an\nadministrator saves settings or clicks Refresh now.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>juniustech-gold-price-calculator<\/code> folder to <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu<\/li>\n<li>Go to <strong>Settings \u2192 Gold Price Calculator<\/strong> and click <strong>Refresh now<\/strong> (an API key is optional)<\/li>\n<li>Optionally enter an Alpha Vantage API key or a custom gold JSON URL<\/li>\n<li>Add <code>[gold_price_calculator]<\/code> to any page or post<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20i%20get%20an%20api%20key%3F\"><h3>Where do I get an API key?<\/h3><\/dt>\n<dd><p>An API key is optional. Free gold and FX sources are used first.<\/p>\n\n<p>If you still want Alpha Vantage as a fallback: https:\/\/www.alphavantage.co\/support\/#api-key<\/p>\n\n<p>The key is entered in the plugin settings. No API key is bundled with the plugin.<\/p><\/dd>\n<dt id=\"how%20often%20is%20the%20price%20updated%3F\"><h3>How often is the price updated?<\/h3><\/dt>\n<dd><p>Prices are cached for at least one hour (WordPress transient) and refreshed hourly via WordPress cron. Use <strong>Refresh now<\/strong> in settings for a manual update.<\/p><\/dd>\n<dt id=\"what%20shortcode%20do%20i%20use%3F\"><h3>What shortcode do I use?<\/h3><\/dt>\n<dd><p>[gold_price_calculator]<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20send%20visitor%20data%20to%20alpha%20vantage%3F\"><h3>Does this plugin send visitor data to Alpha Vantage?<\/h3><\/dt>\n<dd><p>No. Requests run on the server with <code>wp_remote_get<\/code>. Visitor data is not sent. Alpha Vantage is only contacted as a fallback, and then only with lookup parameters and the site owner's API key.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Fixed kg prices (Versilbert, Messer, ZINN) can be changed in Settings \u2192 Gold Price Calculator<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Restored a working price fetch chain: optional JSON URL, free gold + CHF conversion, then Alpha Vantage<\/li>\n<li>Alpha Vantage API key is optional<\/li>\n<li>Admin shows the last fetch error instead of a generic \"check the API key\" message<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added fixed CHF\/kg rows in the same gold table (Versilbert 90\/100, Versilberte Messer, ZINN)<\/li>\n<li>Inquiry email lists quantity with g or kg<\/li>\n<li>Improved mobile table layout<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>WordPress.org release as a standalone juniustech product<\/li>\n<li>Removed third-party branding and the Frankfurter dependency<\/li>\n<li>Alpha Vantage is the sole external service; API key is supplied in settings<\/li>\n<li>Price data is cached with a one-hour transient<\/li>\n<\/ul>","raw_excerpt":"Calculates the value of gold by weight and purity using live spot prices.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/334957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=334957"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/juniustech"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=334957"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=334957"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=334957"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=334957"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=334957"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=334957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}