---
title: "Manifold user bet history (play-money)"
method: GET
path: "/api/v1/predictions/manifold/user/{username}/bets"
tags: ["Predictions"]
---

# Manifold user bet history (play-money)

`GET /api/v1/predictions/manifold/user/{username}/bets`

Bet history for a Manifold user by username. All amounts and shares are mana (M$, play-money; not USD). Newest bets first. Use the before cursor parameter to paginate into older history.

## Path parameters

- `username` string, required — Manifold username.

## Query parameters

- `limit` integer — Maximum number of bets to return.
- `before` string, nullable — Pagination cursor (bet id from a previous response).

## Response `200`

Bet history for the specified Manifold user.

- EnvelopeManifoldUserBetsPayload
  - `data` ManifoldUserBetsPayload, required
    - `username` string, required — Username whose bets were fetched.
    - `count` integer, required — Number of bets returned.
    - `before` string, nullable — Pagination cursor echoed back from the request.
    - `bets` ManifoldBet[], required — Bet history for the user, newest first.
      - `id` string, nullable — Bet id.
      - `user_id` string, nullable — User who placed the bet.
      - `user_name` string, nullable — Display name of the bettor (present in user bet feeds).
      - `contract_id` string, nullable — Market (contract) id the bet is placed on.
      - `answer_id` string, nullable — Specific answer id for MULTIPLE_CHOICE or NUMBER markets.
      - `outcome` string, nullable — Outcome bet on (YES/NO for binary; answer-specific for multi-choice).
      - `amount` number, nullable — Mana amount wagered (M$, play-money; not USD).
      - `shares` number, nullable — Outcome shares acquired by the bet.
      - `is_filled` boolean, nullable — True when a limit order has been filled.
      - `is_cancelled` boolean, nullable — True when the bet has been cancelled.
      - `is_redemption` boolean, nullable — True when the record is a synthetic share redemption, not a user-initiated bet.
      - `is_api` boolean, nullable — True when the bet was placed via the Manifold API rather than the web UI.
      - `limit_prob` number, nullable — Limit order target probability (null for market orders).
      - `prob_before` number, nullable — Probability immediately before the bet was applied.
      - `prob_after` number, nullable — Probability immediately after the bet was applied.
      - `order_amount` number, nullable — Requested order size in mana (may differ from filled amount for partial fills).
      - `loan_amount` number, nullable — Mana lent to the bettor for this position (Manifold loan program).
      - `fees` object, nullable — Fee breakdown (creatorFee, platformFee, liquidityFee) in mana.
      - `fills` object[], nullable — Partial fill records for limit orders.
      - `visibility` string, nullable — Bet visibility: public, unlisted, or private.
      - `created_time` string, nullable — Bet creation time (ISO 8601 UTC, converted from UNIX milliseconds).
      - `updated_time` string, nullable — Bet last-updated time (ISO 8601 UTC).
  - `meta` SugraMeta, required — Metadata attached to every /api/v1/* response envelope.
    - `endpoint` string, required — Requested endpoint path.
    - `data_time` string, required — ISO 8601 UTC timestamp of the source data, not of the request.
    - `response_time` string, required — ISO 8601 UTC timestamp when this response was produced.
    - `provider` string, required — API name and version.
    - `source` string, nullable — Identifier of the primary upstream source used for this response.
    - `attribution` string, nullable — Human-readable attribution mandated by an upstream source (e.g. a securities regulator or self-regulatory organization). Present only on responses whose source requires the owner and source to be clearly identified. Do not remove or alter it when using the response.
    - `fallback_used` boolean, nullable — True when the primary source failed and a fallback produced the data.
    - `fallback_chain` string[], nullable — Ordered list of sources attempted, in the order they were tried.
    - `cached` boolean, nullable — True when this response was served from the internal cache.
    - `stale` boolean, nullable — True when the cached response was returned after the upstream rate-limited or errored. Clients can use this to detect degraded data.

## Other responses

- `401` — Missing or invalid `x-api-key` header.
- `422` — Validation Error
- `429` — Daily rate limit exceeded. Check `X-RateLimit-Reset` for the next window.
- `503` — Upstream source is temporarily unavailable. Retry after a short delay.

---

[API](https://skmtc.net/sugra/apis/sugra-api.md) · [All operations](https://skmtc.net/sugra/apis/sugra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sugra/sugra-api/versions/dcf7427e6897/schema)
