GET /get-contract

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/manifold/get-contractCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Full contract document fetched by `contractId` query parameter.

Parameters

nameintypedescription
contractIdquerystrrequiredManifold contract id.
example: INPLL9csg9

Response

type: object
data key: groupSlugs
pagination: none
sample: {
  "p": "float",
  "id": "str",
  "pool": "object",
  "prob": "int",
  "slug": "str",
  "volume": "float",
  "question": "str",
  "closeTime": "int",
  "creatorId": "str",
  "mechanism": "str",
  "elasticity": "float",
  "groupSlugs": "array[1]",
  "isResolved": "bool",
  "resolution": "str",
  "resolverId": "str",
  "visibility": "str",
  "createdTime": "int",
  "creatorName": "str",
  "descript

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/manifold/get-contract?contractId=INPLL9csg9"