> For the complete documentation index, see [llms.txt](https://docs.magpie.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magpie.gg/the-app/collection.md).

# Collection & tracker

## Collection

* **Instances, not just cards**: each row is a printing + condition + language + graded status, with quantity. Five NM copies and one LP copy of the same card are tracked separately, as they should be.
* **Folders** (per game) to organize; search across everything.
* **Cost basis**: the value at the moment you added a card is captured, so the tracker can show real P\&L ("what it's worth vs what it was worth when you got it"). You can reset the basis anytime.
* **Graded cards**: mark grader and grade — they're valued on the graded market, not the raw one.

## Tracker

* Portfolio value (total, per game, per folder), daily history, top gainers/losers.
* Every value is oracle-served and cache-consistent: the number on the list is the number in the tracker.

## Import

* **Text import**: paste a list (`4x Charizard [BS] 4/102`) — up to 5,000 lines, with a preview and per-line matching you confirm.
* **CSV import**: ManaBox, Collectr and similar exports are auto-detected (headers, conditions, foil flags map automatically).

## Export (free, always)

`Collection → Export` downloads a **ManaBox-compatible CSV** (name, set code, collector number, foil, condition on the ManaBox scale, quantity, purchase price in EUR). It imports into ManaBox, Collectr, Moxfield — and back into Magpie, losslessly. Data portability is not a premium feature.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.magpie.gg/the-app/collection.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
