> Documentation index: https://fundchart.io/docs/llms.txt

# FundChart public data API

Read a published fund as JSON with the public token or a workspace key; the HTML routes, statuses and caching.

GET https://api.fundchart.io/v1/{public_token}/funds/{fundId}

Returns the latest **published** version of a fund as JSON: metadata, snapshot
(fees, prices), performance table, monthly/annual returns, cumulative series,
allocation, exposure, holdings, disclaimers, and the publish timestamp.

- The public token is org-scoped, read-only, and safe to expose (it ships inside embed snippets).
- Only data an org has explicitly published is ever served.

## With a workspace API key

A key is a secret for scripts, developers and AI assistants. Make one under Settings → API & agents (shown once,
stored hashed; an admin of the workspace makes and revokes them). Send it as a header, never in a URL:

    GET https://api.fundchart.io/v1/funds              # the workspace's published funds
    GET https://api.fundchart.io/v1/funds/{fundId}     # one fund, the same JSON as above
    Authorization: Bearer fck_...

A `read` key reads published data. A `write` key will also be able to drop files to be read (never publish); those
tools arrive with the MCP write tools. Every call is logged against the key id. 300 requests a minute per key;
over that, `429`. A revoked key answers `401` at once.
- Responses carry `cache-control: public, max-age=60, stale-while-revalidate=300` and `access-control-allow-origin: *`, so a browser can call the API directly.

Try it with the Meridian Asset Management demo (a fictitious workspace):

    curl https://api.fundchart.io/v1/fcp_c_A6l3U_F6h9DYREV5MyZjNO/funds/14de33c0-e1b7-436e-ad43-7b27f7c1e46b

The response looks like this:

    {
      "orgId": "...",
      "fundId": "14de33c0-e1b7-436e-ad43-7b27f7c1e46b",
      "slug": "meridian-global-equity-income",
      "version": 1,
      "publishedAt": "2026-08-30T16:46:08.241Z",
      "data": { "meta": { ... }, "snapshot": { ... }, "perfTable": [ ... ], ... }
    }

## HTML routes
The embed loader (`/docs/embedding.md`) calls these. You can call them yourself, but they return HTML fragments meant for a shadow root, not full pages. Use the loader unless you have a reason not to.

    GET https://api.fundchart.io/w/{public_token}/center
    GET https://api.fundchart.io/w/{public_token}/{fundId}/{widget}

- `/center`: all the workspace's published funds as one table.
- `/{fundId}/{widget}`: one widget, or `page` for the full fund page. Widget names are the `type` values in the embedding docs.
- Query parameters are the element attributes: `style`, `theme`, `brand`, `brand2`, `fill`, `font`, `look`, `sections`, `perfRows`, `perfLabels`, `showAs`, `header`, `headerImage`, `headerTitle`, `investUrl`, `factsheetUrl`, `commentaryUrl`, `tfsaUrl`. Two are renamed: `background` becomes `bg`, and `link-template` becomes `link` (center only).
- The page route fills whatever you leave out from the fund's saved layout and hosted documents, as the embedding docs describe.
- Same cache header as the JSON route.

## Errors
Errors come back as JSON, `{"error": "..."}`.

| status | error | meaning |
|---|---|---|
| 401 | `invalid token` | The token is unknown. |
| 401 | `this fund belongs to a different workspace` | The token is valid, but the fund is in another workspace. Check the line was pasted whole. |
| 403 | `this workspace has no active plan` | JSON route only. The HTML routes answer `200` with an empty body and `x-fundchart-embed: off` instead, so a page shows nothing. |
| 403 | `domain not allowed for this token` | HTML routes only. The workspace locks embeds to its own domains and the request came from another site. |
| 404 | `not published` | No published version of this fund. |
| 404 | `no published funds` | `/center` for a workspace with nothing published. |
| 404 | `unknown widget` | The widget name is not one of the types. |
| 500 | `render failed` | Our fault. Tell us the token, fund id and widget. |

## Machine-readable spec and agents
- OpenAPI 3.1 spec: https://api.fundchart.io/openapi.json
- MCP server for AI agents: `POST https://api.fundchart.io/mcp`, see [/docs/mcp.md](https://fundchart.io/docs/reference/mcp)

---
Source: https://fundchart.io/docs/reference/api
Updated: 2026-11-08
