Skip to main content
GET
/
user
/
getMatchedBets
Get matched (ungraded) bets
curl --request GET \
  --url https://api.4casters.io/user/getMatchedBets \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "matchedBets": [
      {
        "id": "<string>",
        "txID": "<string>",
        "bet": 123,
        "odds": 123,
        "spread": 123,
        "total": 123,
        "participantID": "<string>",
        "market": "<string>",
        "side": "<string>",
        "userReference": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "matchedTime": "2023-11-07T05:31:56Z",
        "graded": true,
        "closed": true,
        "origin": "<string>",
        "adminRefund": true,
        "risk": "<string>",
        "win": "<string>",
        "fee": "<string>",
        "game": {
          "id": "<string>",
          "league": "<string>",
          "sport": "<string>",
          "start": "2023-11-07T05:31:56Z",
          "ended": true,
          "eventName": "<string>",
          "isFutures": true,
          "participants": [
            {
              "id": "<string>",
              "longName": "<string>",
              "shortName": "<string>",
              "mainPitcher": "<string>",
              "rotationNumber": "<string>",
              "futuresSide": "<string>",
              "score": 123
            }
          ]
        }
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.4casters.io/llms.txt

Use this file to discover all available pages before exploring further.

Returns all of the caller’s bets that have been matched but not yet graded — i.e. open positions on games that are not yet settled.

Request

GET /user/getMatchedBets Takes no parameters.
curl https://api.4casters.io/user/getMatchedBets \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

data.matchedBets
array
Array of matched bets, sorted ascending by game start time.

Example

{
  "data": {
    "matchedBets": [
      {
        "id": "67f45377c18c6697c172afa4",
        "txID": "67f45377c18c6697c172afa3",
        "type": "moneyline",
        "bet": 50,
        "odds": -185,
        "participantID": "5d48bd5198366d41ec7238da",
        "userReference": "my-ref-123",
        "createdAt": "2025-09-24T19:30:59.482Z",
        "matchedTime": "2025-09-24T19:30:59.482Z",
        "origin": "wager",
        "risk": "50.27",
        "win": "27.16",
        "fee": "0.27",
        "graded": false,
        "closed": false,
        "adminRefund": false,
        "game": {
          "id": "688c0516fbc14da0c202d426",
          "league": "NBA",
          "sport": "basketball",
          "start": "2025-09-25T00:10:00.000Z",
          "ended": false,
          "eventName": "TORONTO RAPTORS VS PHILADELPHIA 76ERS",
          "isFutures": false,
          "participants": [/* ... */]
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.

Response

Matched bets list

data
object