Buy Gold & Silver API

Overview

The Buy Gold & Silver API enables users to purchase digital gold and silver securely with real-time pricing and order management.

Key Functionalities

  • Purchase Digital Gold & Silver
  • Fetch Live Market Prices
  • Secure Payment Processing
  • Manage Buy / Sell Orders

Authentication

Secure API access requires authentication via API keys (Client ID & Secret).

API Endpoints

  • POST /digitalgold/user/purchase - Buy digital Gold & Silver. (Pass Metal Type "gold" or "silver" in API)
  • POST /digitalgold/rates - Retrieve current Gold price and Silver Price.

Response Structure

Standardized JSON format with relevant status codes.

Error Codes

  • 200 - Success
  • 400 - Failed
  • 401 - Unauthorized Access
  • 404 - Resource Not Found
  • 500 - Internal Server Error