Guide · Google Sheets
Probabilities as plain numbers.
ManticView adds eight custom functions to Google Sheets — live probabilities, market attributes, answer tables, search, price history, and portfolios — plus a sidebar for finding markets and inserting them with one click. Everything returns plain values your spreadsheet can chart, average, and alert on.
From zero to a live probability
The whole loop takes about a minute. Do these three things and you're running; the walkthrough below goes deeper on each function when you want it.
Get the functions
Make a copy of the ready-made template (File → Make a copy), or paste Code.gs into Extensions → Apps Script and save.
no API key · no login
Type a formula
In any cell, start typing =MANIFOLD and pick one from autocomplete. Pass a market slug or its full URL.
Format & keep it live
Format the cell as a percentage to read 72%. To refresh, pass a cell holding =NOW() as the last argument — or use the add-on's auto-refresh.
Get the functions into your spreadsheet
The easy way: make a copy of the ready-made template (File → Make a copy) — the functions come with it. Or add them to any existing spreadsheet: open Extensions → Apps Script, replace the placeholder with the contents of Code.gs, and save. No authorization prompts, no API key. For the full add-on — search sidebar, one-click inserts, auto-refresh — add the three companion files too, or wait for the Google Workspace Marketplace listing, coming soon.
=MANIFOLD_PROB — a market's live probability
| A | B | |
|---|---|---|
| 1 | Will X happen by 2030? | 72% |
| 2 |
works with a slug or the full manifold.markets URL
- Paste the market. Grab the slug (the last part of a market's URL) or just paste the whole URL — both work.
- Get a real number back. The function returns the probability as a value between 0 and 1 — here 0.72.
- Format the cell as a percentage and it reads 72%. Because it's a plain number, you can chart it, average a basket of markets, or conditionally format when it crosses a threshold.
=MANIFOLD — question, close date, volume, and more
| A | B | |
|---|---|---|
| 1 | question | Will X happen by 2030? |
| 2 | closeTime | 12/31/2030 |
| 3 | volume24Hours | 1,204 |
| 4 | isResolved | FALSE |
time attributes return real dates you can sort and format
- Second argument picks the attribute —
question,closeTime,volume,isResolved,resolution, and more. Omit it and you get the probability. - Dates come back as dates, not timestamps — sortable and formattable like anything else in your sheet.
- Build dashboards by mixing attributes: one row per market, columns for probability, close date, and 24-hour volume.
=MANIFOLD_ANSWERS and =MANIFOLD_SEARCH
| A | B | |
|---|---|---|
| 1 | Answer | Probability |
| 2 | 🇫🇷 France | 76% |
| 3 | 🇲🇦 Morocco | 24% |
one formula, a whole table — recalculates in place
- Multiple-choice markets spill: one formula fills a two-column table, one row per answer — sorted by probability (highest first) by default. Pass
"alphabetical"as the second argument to sort A→Z instead. - Search without leaving the sheet:
=MANIFOLD_SEARCH("bitcoin", 5)spills matching markets — question, probability, slug, and URL — ready to feed into the other functions. - Everything stays live. The spilled tables recalculate along with the rest of your spreadsheet.
=MANIFOLD_HISTORY — sparklines of probability
| A | B | |
|---|---|---|
| 1 | Will X happen by 2030? |
the market's recent path, drawn by Sheets itself
- History as a column of numbers.
MANIFOLD_HISTORYsamples a binary market's recent betting history — chronological, oldest first, 50 points by default. - Wrap it in SPARKLINE and the whole story fits in one cell. Pass options like
{"color","#4F46E5"}to style it. - Or chart it properly: spill the raw column into a range and point a real Sheets chart at it.
=MANIFOLD_PORTFOLIO, =MANIFOLD_POSITIONS, =MANIFOLD_USER
| A | B | |
|---|---|---|
| 1 | Metric | Mana |
| 2 | Balance | 12,480 |
| 3 | Net worth | 19,214 |
| 4 | Daily profit | +312 |
public data by username — no API key, no login
- Track any portfolio — yours or a trader you admire.
MANIFOLD_PORTFOLIOspills balance, investment value, net worth, and profit. - See the positions behind it:
=MANIFOLD_POSITIONS("YourUsername", 10)lists open positions by value, with profit and a link per market. - Single user facts come from
MANIFOLD_USER— balance by default, or any public attribute by name.
Refreshing on your schedule
| A | B | |
|---|---|---|
| 1 | 7/10/2026 18:25:03 | 72% |
A1 holds =NOW() — every recalculation refreshes the market
- Results are cached for five minutes to stay friendly to Manifold's free API — plenty fresh for prediction markets.
- Sheets also caches custom functions, so to force a refetch, pass any changing value as the last argument — a cell containing
=NOW()works perfectly. With the add-on installed, Extensions → ManticView → Refresh markets now does it for every formula at once, and auto-refresh can repeat it on the cadence you choose — from ~5 minutes to once a day — even with the sheet closed. These run on Google's schedule, so they fire about that often (hence the~), not exactly from the moment you set them; the sidebar's Refresh log shows each run so you can confirm it's working. - No key, no quota to manage: the functions read Manifold's public API anonymously.
Search, sight, insert
With the add-on files installed, Extensions → ManticView → Search & insert markets… opens a sidebar that does the slug-hunting for you.
- Pick a cell first. Every insert lands at the selected cell, and the selection steps below it afterwards, so repeated inserts stack into a tidy list.
- Search and filter. Type a few words, then narrow with the chips — open markets only, Yes/No, or multiple choice. Each result shows the live probability, traders, and close date.
- Four inserts per market: % drops a live probability · Row writes question, probability, 24h volume, close date, and a link · Answers spills the answers table · Spark draws a mini price-history chart.
- The "titles" toggle writes the market's name beside the number — and portfolios get a linked @username heading — so a column of inserts stays readable without extra typing.
- Portfolios too: load any Manifold username in the sidebar's Portfolio section to preview their net worth and top positions, then insert the summary or positions table.
- Need a reminder? The sidebar's own How to use section repeats all of this two clicks away from your sheet.