Get bet list

GET /notification/

Operation ID: notification_list

Fetch the user's notification list with optional filtering and pagination.

Query Parameters

Parameter
Type
Required
Description

search

string

No

A search term

ordering

string

No

Which field to use when ordering the results

page

integer

No

A page number within the paginated result set

Response

Success Response (200)

Returns a PagedNotification object:

{
  "count": 150,
  "total_pages": 15,
  "next": "https://betmatic.app/api/notification/?page=2",
  "previous": null,
  "results": [
    {
      "id": 789,
      "tip": {
        "id": 123,
        "creator": {
          "nickname": "ProTipster",
          "avatar": "https://betmatic.app/avatars/user123.jpg",
          "id": 456
        },
        "competition": {
          "name": "BELMONT",
          "code": "Galloping",
          "event_number": 6,
          "startTime": "2024-01-24T21:00:00+11:00"
        },
        "market": "Fixed Win",
        "selection": "3",
        "odds": 2.5,
        "amount_units": 1
      },
      "type": "Fixed Wager",
      "stake": 10,
      "target_profit": 100,
      "total_wager": 500,
      "check_odds": true,
      "check_max_odds": false,
      "boost_if_available": false,
      "spg_if_available": true,
      "bonus_back_if_available": true,
      "ensure_total_wager": false,
      "allow_double_bets": false,
      "choose_best_odds": 0,
      "choose_random_accounts": 0,
      "created_at": "2024-01-24T20:28:12.948719+11:00",
      "target_market": "Fixed Win",
      "target_bet_type": "CASH",
      "total_accepted": 50,
      "average_odds": 2.26,
      "profit": 63,
      "alarm_sent": false,
      "delay": false,
      "is_scheduled": true,
      "is_market_open": true,
      "is_draft": false,
      "is_canceled": false,
      "auto_trigger": true,
      "scheduled_at": 60,
      "triggered_at": "2024-01-24T20:59:06.695772+11:00",
      "bookies_override": "",
      "target_session": "",
      "target_bot": "1",
      "is_deleted": false,
      "received_bots": "1,2,3",
      "enable_group_bot": false,
      "enable_group_bot_delay": 10,
      "enable_group_prealert": true,
      "origin_info": "API",
      "note": "High confidence bet",
      "sports": "RACING",
      "label": "Strategy A",
      "user": 612
    }
  ]
}

Response Fields

Field
Type
Description

count

integer

Total number of notifications

total_pages

integer

Total number of pages

next

string

URL for next page (null if last page)

previous

string

URL for previous page (null if first page)

results

array[Notification]

Array of notification objects

Usage

Basic Request:

curl -X GET "https://betmatic.app/api/notification/" \
  -H "Authorization: Token your_token"

With Search and Pagination:

curl -X GET "https://betmatic.app/api/notification/?search=racing&ordering=-created_at&page=1" \
  -H "Authorization: Token your_token"

Filter by Status:

curl -X GET "https://betmatic.app/api/notification/?search=Fixed Wager&page=2" \
  -H "Authorization: Token your_token"

Potential Use Cases

  1. Bet Management: View and manage all created notifications/bets

  2. Performance Monitoring: Track the status and results of automated betting strategies

  3. Bot Monitoring: Monitor automated betting bot activities and configurations

Notification Object Fields

Each notification in the results array contains comprehensive bet information including:

  • Basic Information: ID, type, stake, target profit, total wager

  • Odds Management: Check odds, max odds, boost availability, SPG availability

  • Account Settings: Bonus availability, total wager enforcement, double bets allowance

  • Timing: Creation time, trigger time, scheduling options

  • Target Configuration: Market, bet type, session, bot targeting

  • Status Tracking: Draft, canceled, deleted, scheduled states

  • Group Betting: Group bot settings, delays, pre-alerts

  • Advanced Options: Profit targets, minimum odds, delay configurations

Example

curl -X GET "https://betmatic.app/api/notification/?search=&ordering=&page=1" \
  -H "Authorization: Token your_token"

With Search Parameters:

curl -X GET "https://betmatic.app/api/notification/?search=racing&ordering=-created_at&page=1" \
  -H "Authorization: Token your_token"

Authentication

This endpoint requires authentication. Include your token in the Authorization header:

Authorization: Token your_token

Last updated