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"
      }
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/get_api_v0_equity_pies_id"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.