GET /get-user-contract-metrics-with-contracts

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

A user's per-contract metrics with the contracts attached.

Parameters

nameintypedescription
userIdquerystrrequiredUser whose contract metrics are read.
example: IPTOzEqrpkWmEzh6hwvAyY9PqFb2
limitqueryintoptionalRows to return; this route caps at 100.
example: 5
offsetqueryintoptionalRows to skip from the newest end.
example: 0

Response

type: object
data key: contracts
pagination: none
sample: {
  "metricsByContract": "object",
  "contracts": "array[5]"
}

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-user-contract-metrics-with-contracts?userId=IPTOzEqrpkWmEzh6hwvAyY9PqFb2&limit=5&offset=0"