Retrieve a fund allocation

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.getpenfold.dev/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Penfold Payroll API v4 MCP server": {
    "url": "https://docs.getpenfold.dev/mcp"
  }
}

Close
GET /fund_allocations/{fund_allocation_id}

Partner organisations only. A Payroll organisation calling this endpoint receives 405 Method Not Allowed.

Catalogue detail for a single fund allocation. Allocations that hold more than one fund (e.g. Penfold Balance) are represented as a single allocation entry. Returns the full available unit price history for the allocation’s underlying funds.

Path parameters

  • fund_allocation_id string Required

Responses

  • 200 application/json

    Fund allocation detail retrieved successfully.

    Hide response attributes Show response attributes object
    • id string Required
    • name string Required
    • description string | null
    • provider string | null
    • risk_level integer | null

      The fund manager’s published Synthetic Risk and Reward Indicator (SRRI), on a scale of 1 (lowest risk) to 7 (highest risk).

    • indicative_annual_fee_percent number Required

      Indicative combined annual fee percentage (Penfold administration fee at the lowest pot threshold plus fund manager charge); not personalised per worker or employer bespoke rates.

    • one_year_return_percent number | null Required

      Past price performance over the last 12 months, not a forecast. The percentage change in unit price from the first price on or after the date 12 months ago to the latest price, rounded to 2 decimal places. For allocations that hold more than one fund, the funds are weighted equally by value at the start of the period: each fund’s prices are rebased to its price on the first date on or after 12 months ago where every fund has a price, then averaged. Null when there is less than 12 months of price history.

    • five_year_annualised_return_percent number | null Required

      Past price performance over the last 5 years, not a forecast. The average annual return (compound annual growth rate) from the first price on or after the date 5 years ago to the latest price, rounded to 2 decimal places. For allocations that hold more than one fund, the funds are weighted equally by value at the start of the period: each fund’s prices are rebased to its price on the first date on or after 5 years ago where every fund has a price, then averaged. Null when there is less than 5 years of price history.

    • asset_allocation array[object] | null
      Hide asset_allocation attributes Show asset_allocation attributes object
      • asset_class string Required
      • percent number Required

        Minimum value is 0, maximum value is 100.

    • asset_allocation_as_of_date string(date) | null
    • markets array[object] | null
      Hide markets attributes Show markets attributes object
      • name string Required
      • percent number Required

        Minimum value is 0, maximum value is 100.

    • performance array[object] Required

      Full historical unit price series in pence. For allocations that hold more than one fund, each point is the average of the funds’ unit prices, on dates where every fund has a price. These points are not weighted by value, so a return worked out from them can differ from one_year_return_percent and five_year_annualised_return_percent for those allocations. Points on or before synthetic_prices_until_date are illustrative historic data, not custody prices.

      Hide performance attributes Show performance attributes object
      • date string(date) Required

        Point date (YYYY-MM-DD). Cadence is not guaranteed to be daily.

      • value_pence integer Required

        Value at date, in pence.

    • synthetic_prices_until_date string(date) | null Required

      Last date (YYYY-MM-DD) in performance that comes from illustrative historic data rather than custody prices. Null when every point comes from custody.

    • fact_sheet_url string | null Required

      Link to the fund allocation’s factsheet. Null when no factsheet is stored.

    • fscs_protection_comment string Required

      How much Financial Services Compensation Scheme (FSCS) protection applies to money invested in this fund allocation, as short text to show next to an "FSCS protection" label. Some fund allocations are protected in full, others only up to the FSCS compensation limit. Penfold sets this text and may change it, for example when the FSCS limit changes, so show it as given and don’t parse it or map it to fixed values. It is a summary, not a guarantee. Whether a worker can claim, and how much, depends on how their pension is invested and the circumstances of the claim.

  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
    • error string

      A descriptive error message.

  • 404 application/json

    Fund allocation not found.

    Hide response attribute Show response attribute object
    • error string

      A descriptive error message.

  • 405 application/json

    Method not allowed

    Hide response attribute Show response attribute object
    • error string

      A descriptive error message.

  • 500 application/json

    Fund allocation data is incomplete (e.g. no linked funds) or performance could not be produced.

    Hide response attribute Show response attribute object
    • error string

      A descriptive error message.

  • 503 application/json

    Price history is temporarily unavailable.

    Hide response attribute Show response attribute object
    • error string

      A descriptive error message.

GET /fund_allocations/{fund_allocation_id}
curl \
 --request GET 'https://payroll-api.getpenfold.dev/v4/fund_allocations/{fund_allocation_id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id": "string",
  "name": "string",
  "description": "string",
  "provider": "string",
  "risk_level": 42,
  "indicative_annual_fee_percent": 42.0,
  "one_year_return_percent": 7.46,
  "five_year_annualised_return_percent": 6.12,
  "asset_allocation": [
    {
      "asset_class": "string",
      "percent": 42.0
    }
  ],
  "asset_allocation_as_of_date": "2026-05-04",
  "markets": [
    {
      "name": "string",
      "percent": 42.0
    }
  ],
  "performance": [
    {
      "date": "2026-05-04",
      "value_pence": 120000
    }
  ],
  "synthetic_prices_until_date": "2026-05-04",
  "fact_sheet_url": "string",
  "fscs_protection_comment": "Up to £85k"
}
Response examples (401)
{
  "error": "Bad request: invalid data provided."
}
Response examples (404)
{
  "error": "Bad request: invalid data provided."
}
Response examples (405)
{
  "error": "Bad request: invalid data provided."
}
Response examples (500)
{
  "error": "Bad request: invalid data provided."
}
Response examples (503)
{
  "error": "Bad request: invalid data provided."
}