---
updatedAt: 2025-11-11T23:14:35.000Z
agentTools:
  projectIndex: https://developers.fortresstrust.com/llms.txt
---

# Retrieves the current price of a specified type of precious metal (Auth)

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Trading Api",
    "version": "1.0"
  },
  "paths": {
    "/api/trust/v1/precious-metals/price/{type}": {
      "get": {
        "tags": [
          "PreciousMetals"
        ],
        "summary": "Retrieves the current price of a specified type of precious metal (Auth)",
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "description": "Type of a precious metal",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/PreciousMetalType"
            }
          },
          {
            "name": "SpreadBasisPoints",
            "in": "query",
            "description": "Integrator spread basis points",
            "schema": {
              "type": "number",
              "description": "Integrator spread basis points",
              "format": "double",
              "nullable": true
            }
          },
          {
            "name": "SpreadFiatPerUnit",
            "in": "query",
            "description": "Integrator spread fiat per unit",
            "schema": {
              "type": "number",
              "description": "Integrator spread fiat per unit",
              "format": "double",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved the price of the specified precious metal",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreciousMetalPriceResponseModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad request model data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                },
                "examples": {
                  "Example 1": {
                    "summary": "Bad request result",
                    "value": {
                      "title": "string",
                      "status": 400,
                      "traceId": "string",
                      "path": "string",
                      "errors": {
                        "00000000-0000-0000-0000-000000000000": [
                          "Validation error"
                        ]
                      }
                    }
                  },
                  "Example 2": {
                    "summary": "Invalid data",
                    "value": {
                      "title": "One or more validation errors occured.",
                      "status": 400,
                      "traceId": "string",
                      "path": "string",
                      "errors": {
                        "string": [
                          "string"
                        ]
                      }
                    }
                  },
                  "Example 3": {
                    "summary": "Exeption",
                    "value": {
                      "title": "string",
                      "status": 400,
                      "traceId": "string",
                      "path": "string",
                      "errors": {}
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "PreciousMetalPrice": {
        "type": "object",
        "properties": {
          "buy": {
            "type": "number",
            "format": "double"
          },
          "sell": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "PreciousMetalPriceResponseModel": {
        "type": "object",
        "properties": {
          "price": {
            "$ref": "#/components/schemas/PreciousMetalPrice"
          }
        },
        "additionalProperties": false
      },
      "PreciousMetalType": {
        "enum": [
          "gold",
          "silver"
        ],
        "type": "string"
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Put access token in the box below.<br>For example: <b>Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6I</b>",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```