{"gold_types":[{"karat":"22K","grams":[1,8,10]},{"karat":"24K","grams":[1,8,10]}]}
curl --location --request POST 'https://zylalabs.com/api/6338/salem+gold+rates+api/9064/types+of+gold+in+salem' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"latest_gold_price":{"date":"18 Mar 2025","price_per_gram":"\u20b9 8,250"}}
curl --location --request POST 'https://zylalabs.com/api/6338/salem+gold+rates+api/9065/get+current+gold+price+in+salem' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"gold_type":"Required","amount":"Required"}'
{"yesterday_price":"\u20b9 8,210","change_price":"\u20b9 40\u25b2"}
curl --location --request POST 'https://zylalabs.com/api/6338/salem+gold+rates+api/9066/get+yesterday+gold+price+in+salem' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"type_gold":"Required","amount":"Required"}'
{"September 2024":{"22K":{"1 September 2024 Rate":"\u20b9 6,695","30 September 2024 Rate":"\u20b9 7,080"},"24K":{"1 September 2024 Rate":"\u20b9 7,304","30 September 2024 Rate":"\u20b9 7,724"}}}
curl --location --request POST 'https://zylalabs.com/api/6338/salem+gold+rates+api/9067/get+historical+gold+prices+in+salem' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"month":"Required","year":"Required"}'
{"October 2024":{"Rate on 1 October 2024":"Rs. 7,691 per gram","Rate on 31 October 2024":"Rs. 8,133 per gram","Highest Rate from 1 October 2024 to 31 October 2024":"Rs. 8,133 per gram on 31 October 2024","Lowest Rate from 1 October 2024 to 7 October 2024":"Rs. 7,691 per gram on 7 October 2024","Overall Performance":"Incline","Percentage Change":"0.70%"}}
curl --location --request POST 'https://zylalabs.com/api/6338/salem+gold+rates+api/9068/salem+gold+performance+by+month+and+year' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"month":"Required","year":"Required"}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Salem Gold Rates API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
Each endpoint returns structured JSON data. For example, the "get current gold price" endpoint returns the latest price per gram for specified gold types, while the "get historical gold prices" endpoint provides a detailed history of prices over a specified period.
Key fields include "karat" and "grams" in the gold types response, "price_per_gram" in current prices, "yesterday_price" and "change_price" for yesterday's rates, and detailed rates with dates in historical data.
Parameters include "type of gold" (e.g., 22K, 24K) and "amount in grams" for current and yesterday's prices. For historical data, users specify a "month" and "year" to retrieve relevant price information.
The response data is organized in JSON format, with nested objects for clarity. For instance, historical prices are grouped by month, with each month containing daily rates, highest and lowest prices, and overall performance metrics.
The data is sourced from reliable market feeds specific to the Salem region, ensuring that users receive accurate and up-to-date gold pricing information relevant to local market conditions.
Typical use cases include tracking gold price trends for investment decisions, comparing current prices with historical data for market analysis, and providing jewelers with accurate pricing for customer transactions.
Users can customize requests by specifying the type of gold and the amount in grams for current and yesterday's prices. For historical data, they can choose specific months and years to analyze price trends over time.
Users can expect consistent data patterns, such as daily price fluctuations and historical trends showing price increases or decreases. The data typically reflects market dynamics, allowing for effective analysis and decision-making.
The Salem Gold Rates API provides access to gold rates for different types, specifically 24K and 22K gold.
You can use the API to retrieve today's gold rates and yesterday's rates, allowing you to compare the two for fluctuations in price.
Yes, the API supports historical price queries, enabling users to analyze trends over specific time periods.
The API includes features such as filtering, sorting, and date-based queries to enhance data exploration and usability.
Investors, jewelers, and researchers looking for accurate and updated gold pricing data specific to the Salem region can benefit from this API.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund