POST /api/manifold/users/markets
Price: 20 credits
Get the markets a Manifold user created
Get the prediction markets a Manifold user created, newest first by default, with the same state, type and sort filters as market search.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)user string required — Manifold username, user id or profile URL (examples: "AndrewG", "https://manifold.markets/AndrewG"; minLength: 1)count integer required — Max number of markets to return (examples: 20; min: 1; max: 1000)query string — Search text within the user's markets (default: ""; examples: "senate")filter string — Market state (default: "all"; one of: "all", "open", "closed", "resolved", "closing-day", "closing-week", "closing-month", "closing-90-days", "news", "uncertain")sort string — Sort order (default: "newest"; one of: "score", "newest", "daily-score", "freshness-score", "24-hour-vol", "most-popular", "subsidy", "last-updated", "close-date", "resolve-date", "random", "bounty-amount", "prob-descending", "prob-ascending", "prob-50")contract_type string — Market type (default: "ALL"; one of: "ALL", "BINARY", "MULTIPLE_CHOICE", "DEPENDENT_MULTIPLE_CHOICE", "INDEPENDENT_MULTIPLE_CHOICE", "PSEUDO_NUMERIC", "NUMBER", "MULTI_NUMERIC", "DATE", "BOUNTIED_QUESTION", "POLL", "STONK", "PERP")token string — Currency the market trades in (default: "MANA"; one of: "MANA", "CASH")@type string (default: "ManifoldMarket")id string requiredalias string nullableurl string nullablequestion string requiredtext string nullableoutcome_type string nullablemechanism string nullabletoken string nullablevisibility string nullablesibling_market_id string nullablecreator object nullable@type string (default: "ManifoldUserRef")id string requiredalias string nullablename string nullableurl string nullableimage string nullableis_bot boolean nullableimage string nullabletopic_aliases array (default: [])probability number nullableinitial_probability number nullableprob_change object nullable@type string (default: "ManifoldProbChange")day number nullableweek number nullablemonth number nullablepool_yes number nullablepool_no number nullablevalue number nullablemin_value number nullablemax_value number nullableis_log_scale boolean nullableunit string nullabletimezone string nullableanswers array (default: [])@type string (default: "ManifoldAnswer")id string requiredindex integer nullabletext string nullableprobability number nullableinitial_probability number nullablepool_yes number nullablepool_no number nullablevolume number nullabletotal_liquidity number nullablesubsidy_pool number nullablemidpoint number nullablecolor string nullableis_other boolean nullableprob_change object nullable@type string (default: "ManifoldProbChange")day number nullableweek number nullablemonth number nullableresolution string nullableresolution_probability number nullableresolved_at integer nullableresolver_id string nullablecreator_id string nullablecreated_at integer nullableadd_answers_mode string nullableshould_answers_sum_to_one boolean nullableanswer_sort string nullableoptions array (default: [])@type string (default: "ManifoldPollOption")id string nullabletext string requiredindex integer nullablevote_count integer nullableranked_vote_score number nullablevolume number nullablevolume_24h number nullabletotal_liquidity number nullablesubsidy_pool number nullableelasticity number nullablecollected_fees object nullable@type string (default: "ManifoldFees")creator_fee number nullableplatform_fee number nullableliquidity_fee number nullablemana_limit_per_user number nullablebounty_left number nullabletotal_bounty number nullableis_auto_bounty boolean nullableticker string nullableoracle_feed_id string nullableoracle_feed_status string nullableoracle_price number nullableoracle_price_at integer nullableoracle_source_at integer nullablefunding_rate number nullablemax_funding_rate number nullablefunding_period_seconds number nullablefunding_sensitivity number nullablelast_funding_at integer nullablemax_leverage number nullablemax_oracle_price_age_seconds number nullableopen_interest_long number nullableopen_interest_short number nullablepool_long number nullablepool_short number nullableinitial_pool_long number nullableinitial_pool_short number nullableinitial_subsidy number nullabletaker_fee_bps number nullabletaker_fee_api_bps number nullabletaker_fee_impact number nullableunique_bettor_count integer nullableunique_bettor_count_day integer nullableview_count integer nullablelike_count integer nullablefollower_count integer nullabledaily_score number nullableimportance_score number nullablepopularity_score number nullablefreshness_score number nullableconversion_score number nullablemarket_tier string nullableis_boosted boolean nullableis_ranked boolean nullableis_subsidized boolean nullableis_politics boolean nullableis_non_predictive boolean nullableis_spice_payout boolean nullableis_resolved boolean nullableresolution string nullableresolution_probability number nullableresolution_value number nullableresolutions array (default: [])@type string (default: "ManifoldResolutionShare")answer_id string requiredshare number nullableresolver_id string nullablecreated_at integer nullableclose_at integer nullableresolved_at integer nullablelast_bet_at integer nullablelast_comment_at integer nullableupdated_at integer nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — User not found Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.