IBJA RATES Gold API
IBJA RATES Gold API is a powerful and user-friendly solution that provides seamless access to daily market gold rates. Recognized as India’s benchmark Gold Rates API, it delivers the most trusted and transparent price updates. Whether you are a trader, investor, or developer, the API ensures accurate and reliable market data right at your fingertips.
With IBJA RATES Gold API, you can:
Effortlessly integrate gold price data into your applications, websites, or platforms through simple and flexible API calls.
We offer two environments tailored to your needs:
- Production – For accessing official, up-to-date market rates as published by IBJA (refreshed twice daily at 12:30 hrs and 18:30 hrs).
- UAT (User Acceptance Testing) – For safe testing and integration before going live.
Each environment includes:
- Encrypted API – For secure and protected data transmission.
- Non-Encrypted API – For simple, open integrations.
Stay ahead of the market with IBJA RATES Gold API—your trusted gateway to the most precise and timely gold price information.
Quick Start
curl
Production
Encrypt Api
https://ibjarates.com/API/GoldRatesEncrypt/?ACCESS_TOKEN=yourapikey&START_DATE=startdate&END_DATE=enddate
Non Encrypt Api
https://ibjarates.com/API/GoldRates/?ACCESS_TOKEN=yourapikey&START_DATE=startdate&END_DATE=enddate
UAT
Encrypt Api
https://uat.ibjarates.com/API/GoldRatesEncrypt/?ACCESS_TOKEN=yourapikey&START_DATE=startdate&END_DATE=enddate
Non Encrypt Api
https://uat.ibjarates.com/API/GoldRates/?ACCESS_TOKEN=yourapikey&START_DATE=startdate&END_DATE=enddate
META DATA
Definition |
Description |
ACCESS TOKEN
| Uniquely assigned key to each API account to authenticate interactions with the API. |
START DATE |
Starting Date of rate |
END DATE |
Ending date of rate |
API Endpoints
Production
Encrypt
// endpoint
https://ibjarates.com/API/GoldRatesEncrypt/
Non Encrypt
// endpoint
https://ibjarates.com/API/GoldRates/
UAT
Encrypt
// endpoint
https://uat.ibjarates.com/API/GoldRatesEncrypt/
Non Encrypt
// endpoint
https://uat.ibjarates.com/API/GoldRates/
API Error Message
If your query fails, the API will return a error-message "status" .
Message |
[{"status":"Invalid","message":"Access Token Is Blank."}]
[{"status":"Invalid","message":"Invalid Access Token."}]
[{"status":"Invalid","message":"Start Date Is Blank."}]
[{"status":"Invalid","message":"End Date Is Blank."}]
[{"status":"Invalid","message":"Invalid Parameter. Please Contact Administrator."}]
[{"status":"Invalid","message":"Invalid date format it should be in dd/MM/yyyy format."}]
[{"status":"Invalid","message":"Query out of range(30 days data will be displayed based on current date)."}]
|
API Sucess Response
If your query Sucess, the API will return a sucess-message "status" .
Response with data
[{
"RateDate": "12/10/2023",
"RateTime": "12AM",
"Purity": "999",
"GoldRate": "59616",
"SilverRate": "74273"
}]
Response with no record
[{"status": "success","message": "No Record Found"}]
Response with API Hit Exceeded for both Production and UAT
Production Api Has a HIT Limit of 40
UAT Api has a HIT Limit of 100
Because Rates Are updated 2 times a day, once in 12:10 hrs, which is 12 AM, and 18:10 hrs, which is 6 PM
[{"status": "success","message": "You have reached the maximum API hit limit."}]
UAT API is not returning data when passing the current date
UAT API is not the production version. It does not return live date rates. Instead, it provides rates from 4 days before the current date. To receive valid results, pass the date that is 4 days before the current date in both the START_DATE and END_DATE parameters.
[{"status": "success","message": "Invalid date"}]