Trading 212 · Example Payload

Get_Api_V0_Equity_Pies_Id

Pies (Deprecated)

Get_Api_V0_Equity_Pies_Id is an example object payload from Trading 212, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdsummarytagsmethodpathrequestresponse

Example Payload

Raw ↑
{
  "operationId": "getDetailed",
  "summary": "Fetch a pie",
  "tags": [
    "Pies (Deprecated)"
  ],
  "method": "GET",
  "path": "/api/v0/equity/pies/{id}",
  "request": {},
  "response": {
    "status": 200,
    "body": {
      "instruments": [],
      "settings": {
        "creationDate": "2024-01-15T10:30:00Z",
        "dividendCashAction": "REINVEST",
        "endDate": "2024-01-15T10:30:00Z",
        "goal": 100.0,
        "icon": "example_icon",
        "id": 1,
        "initialInvestment": 100.0,
        "instrumentShares": {},
        "name": "example_name",
        "publicUrl": "example_publicUrl"
      }
    }
  }
}