Skip to main content
GET
/
user
/
getUnmatched
Get unmatched orders
curl --request GET \
  --url https://api.4casters.io/user/getUnmatched \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "unmatched": [
      {
        "id": "<string>",
        "txID": "<string>",
        "bet": 123,
        "odds": 123,
        "spread": 123,
        "total": 123,
        "participantID": "<string>",
        "otherParticipantID": "<string>",
        "expiry": "2023-11-07T05:31:56Z",
        "filled": 123,
        "offered": 123,
        "remaining": 123,
        "takenRatio": 123,
        "createdAt": "2023-11-07T05:31:56Z",
        "origin": "<string>",
        "graded": true,
        "closed": true,
        "adminRefund": true,
        "userReference": "<string>",
        "wagerRequestID": "<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 open orders that are currently resting on the exchange and available to be matched.

Request

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

Response

data.unmatched
array
Array of open orders, sorted ascending by game start time.

Example

{
  "data": {
    "unmatched": [
      {
        "id": "62851e3bd54b74e52c39953c",
        "txID": "62851e3bd54b74e52c39953b",
        "type": "moneyline",
        "bet": 100,
        "odds": 165,
        "spread": null,
        "total": null,
        "participantID": "6165e6e23c65e61a09bf1f73",
        "otherParticipantID": "626dca8a83899580a06ba87e",
        "filled": 0,
        "offered": 100,
        "remaining": 100,
        "takenRatio": 0,
        "expiry": "2022-05-18T23:08:00.000Z",
        "createdAt": "2022-05-18T16:26:35.601Z",
        "origin": "offer",
        "graded": false,
        "closed": false,
        "adminRefund": false,
        "game": {
          "id": "62823d9d75d894042dfee218",
          "league": "NHL",
          "sport": "hockey",
          "start": "2022-05-18T23:08:00.000Z",
          "ended": false,
          "eventName": "NEW YORK RANGERS VS CAROLINA HURRICANES",
          "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

Unmatched orders list

data
object