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 freeA user's per-contract metrics with the contracts attached.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
userId | query | str | required | User whose contract metrics are read. example: IPTOzEqrpkWmEzh6hwvAyY9PqFb2 |
limit | query | int | optional | Rows to return; this route caps at 100. example: 5 |
offset | query | int | optional | Rows 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"