OANDA · Example Payload

Getprices

ForexFX TradingCFD TradingFinancial ServicesTrading APIs

Getprices is an example object payload from OANDA, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdsummarymethodpathparametersresponses

Example Payload

getPrices.json Raw ↑
{
  "operationId": "getPrices",
  "summary": "Current Account Prices",
  "method": "GET",
  "path": "/accounts/{accountID}/pricing",
  "parameters": {},
  "responses": {
    "200": {
      "description": "Pricing information has been successfully provided.",
      "schema_ref": ""
    },
    "400": {
      "description": "",
      "schema_ref": ""
    },
    "401": {
      "description": "",
      "schema_ref": ""
    },
    "404": {
      "description": "",
      "schema_ref": ""
    },
    "405": {
      "description": "",
      "schema_ref": ""
    }
  }
}