Info
Welcome to the generated API reference. Get Postman Collection
Drawings
Доступные названия тиражей
Example request:
curl -X GET \
-G "https://totobrief.ru/api/v1/community/supported-drawings" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"https://totobrief.ru/api/v1/community/supported-drawings"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
[
"fonbet-main",
"baltbet-main",
"betcity-main",
"marathonbet-main",
"xbet-main"
]
HTTP Request
GET api/v1/community/supported-drawings
Список тиражей по имени
Example request:
curl -X GET \
-G "https://totobrief.ru/api/v1/community/baltbet-main/drawings" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"https://totobrief.ru/api/v1/community/baltbet-main/drawings"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"data": [
{
"id": 202,
"name": "baltbet-main",
"number": 2759,
"status": "finished",
"ended_at": "2020-07-06T16:00:00.000000Z",
"jackpot": 6689579,
"pool_sum": 1352239,
"payments": null
},
{
"id": 203,
"name": "baltbet-main",
"number": 2760,
"status": "finished",
"ended_at": "2020-07-07T15:30:00.000000Z",
"jackpot": 6892412,
"pool_sum": 1557453,
"payments": null
},
{
"id": 204,
"name": "baltbet-main",
"number": 2761,
"status": "finished",
"ended_at": "2020-07-08T17:00:00.000000Z",
"jackpot": 7126036,
"pool_sum": 1636802,
"payments": null
},
{
"id": 205,
"name": "baltbet-main",
"number": 2762,
"status": "finished",
"ended_at": "2020-07-09T15:30:00.000000Z",
"jackpot": 7453397,
"pool_sum": 1520371,
"payments": null
},
{
"id": 206,
"name": "baltbet-main",
"number": 2763,
"status": "finished",
"ended_at": "2020-07-10T15:30:00.000000Z",
"jackpot": 7605434,
"pool_sum": 1621007,
"payments": null
},
{
"id": 207,
"name": "baltbet-main",
"number": 2764,
"status": "finished",
"ended_at": "2020-07-11T14:00:00.000000Z",
"jackpot": 7767536,
"pool_sum": 1815026,
"payments": null
},
{
"id": 208,
"name": "baltbet-main",
"number": 2765,
"status": "finished",
"ended_at": "2020-07-12T12:30:00.000000Z",
"jackpot": 7949038,
"pool_sum": 1495001,
"payments": null
},
{
"id": 209,
"name": "baltbet-main",
"number": 2766,
"status": "finished",
"ended_at": "2020-07-13T16:45:00.000000Z",
"jackpot": 8173287,
"pool_sum": 1975621,
"payments": null
},
{
"id": 210,
"name": "baltbet-main",
"number": 2767,
"status": "finished",
"ended_at": "2020-07-14T15:00:00.000000Z",
"jackpot": 8370850,
"pool_sum": 1636157,
"payments": null
},
{
"id": 211,
"name": "baltbet-main",
"number": 2768,
"status": "finished",
"ended_at": "2020-07-15T16:00:00.000000Z",
"jackpot": 7615573,
"pool_sum": 2211606,
"payments": null
},
{
"id": 212,
"name": "baltbet-main",
"number": 2769,
"status": "finished",
"ended_at": "2020-07-16T14:00:00.000000Z",
"jackpot": 7836735,
"pool_sum": 2016154,
"payments": null
},
{
"id": 213,
"name": "baltbet-main",
"number": 2770,
"status": "finished",
"ended_at": "2020-07-17T15:30:00.000000Z",
"jackpot": 8038350,
"pool_sum": 2175331,
"payments": null
},
{
"id": 214,
"name": "baltbet-main",
"number": 2771,
"status": "finished",
"ended_at": "2020-07-18T14:00:00.000000Z",
"jackpot": 8255884,
"pool_sum": 2029727,
"payments": null
},
{
"id": 215,
"name": "baltbet-main",
"number": 2772,
"status": "finished",
"ended_at": "2020-07-19T15:00:00.000000Z",
"jackpot": 8560345,
"pool_sum": 2568145,
"payments": null
},
{
"id": 216,
"name": "baltbet-main",
"number": 2773,
"status": "finished",
"ended_at": "2020-07-20T13:00:00.000000Z",
"jackpot": 8817160,
"pool_sum": 1734135,
"payments": null
},
{
"id": 217,
"name": "baltbet-main",
"number": 2774,
"status": "finished",
"ended_at": "2020-07-22T15:30:00.000000Z",
"jackpot": 8990573,
"pool_sum": 3010191,
"payments": null
},
{
"id": 218,
"name": "baltbet-main",
"number": 2775,
"status": "finished",
"ended_at": "2020-07-23T15:45:00.000000Z",
"jackpot": 9291592,
"pool_sum": 2061089,
"payments": null
},
{
"id": 219,
"name": "baltbet-main",
"number": 2776,
"status": "finished",
"ended_at": "2020-07-24T16:15:00.000000Z",
"jackpot": 9497701,
"pool_sum": 2454409,
"payments": null
},
{
"id": 220,
"name": "baltbet-main",
"number": 2777,
"status": "finished",
"ended_at": "2020-07-25T12:30:00.000000Z",
"jackpot": 9865864,
"pool_sum": 1965756,
"payments": null
},
{
"id": 221,
"name": "baltbet-main",
"number": 2778,
"status": "finished",
"ended_at": "2020-07-26T14:00:00.000000Z",
"jackpot": 10062440,
"pool_sum": 2716734,
"payments": null
},
{
"id": 222,
"name": "baltbet-main",
"number": 2779,
"status": "finished",
"ended_at": "2020-07-27T16:00:00.000000Z",
"jackpot": 9192033,
"pool_sum": 2362438,
"payments": null
},
{
"id": 223,
"name": "baltbet-main",
"number": 2780,
"status": "finished",
"ended_at": "2020-07-28T14:00:00.000000Z",
"jackpot": 9428278,
"pool_sum": 2277549,
"payments": null
},
{
"id": 224,
"name": "baltbet-main",
"number": 2781,
"status": "finished",
"ended_at": "2020-07-29T14:00:00.000000Z",
"jackpot": 9769910,
"pool_sum": 2302346,
"payments": null
},
{
"id": 225,
"name": "baltbet-main",
"number": 2782,
"status": "finished",
"ended_at": "2020-07-30T15:00:00.000000Z",
"jackpot": 10000144,
"pool_sum": 2089418,
"payments": null
},
{
"id": 226,
"name": "baltbet-main",
"number": 2783,
"status": "finished",
"ended_at": "2020-07-31T15:40:00.000000Z",
"jackpot": 10209086,
"pool_sum": 2654317,
"payments": null
},
{
"id": 227,
"name": "baltbet-main",
"number": 2784,
"status": "finished",
"ended_at": "2020-08-01T14:00:00.000000Z",
"jackpot": 10474520,
"pool_sum": 2643365,
"payments": null
},
{
"id": 228,
"name": "baltbet-main",
"number": 2785,
"status": "finished",
"ended_at": "2020-08-02T15:00:00.000000Z",
"jackpot": 10871023,
"pool_sum": 2752494,
"payments": null
},
{
"id": 229,
"name": "baltbet-main",
"number": 2786,
"status": "finished",
"ended_at": "2020-08-03T15:00:00.000000Z",
"jackpot": 11146273,
"pool_sum": 2497580,
"payments": null
},
{
"id": 230,
"name": "baltbet-main",
"number": 2787,
"status": "finished",
"ended_at": "2020-08-05T10:00:00.000000Z",
"jackpot": 10156527,
"pool_sum": 2700933,
"payments": null
},
{
"id": 231,
"name": "baltbet-main",
"number": 2788,
"status": "finished",
"ended_at": "2020-08-06T15:00:00.000000Z",
"jackpot": 9275921,
"pool_sum": 2921273,
"payments": null
},
{
"id": 232,
"name": "baltbet-main",
"number": 2789,
"status": "finished",
"ended_at": "2020-08-07T15:00:00.000000Z",
"jackpot": 9568051,
"pool_sum": 2945449,
"payments": null
},
{
"id": 233,
"name": "baltbet-main",
"number": 2790,
"status": "finished",
"ended_at": "2020-08-08T14:00:00.000000Z",
"jackpot": 9862597,
"pool_sum": 2147330,
"payments": null
},
{
"id": 234,
"name": "baltbet-main",
"number": 2791,
"status": "finished",
"ended_at": "2020-08-09T14:00:00.000000Z",
"jackpot": 10077332,
"pool_sum": 2638192,
"payments": null
},
{
"id": 235,
"name": "baltbet-main",
"number": 2792,
"status": "finished",
"ended_at": "2020-08-10T14:00:00.000000Z",
"jackpot": 10341146,
"pool_sum": 2664583,
"payments": null
},
{
"id": 236,
"name": "baltbet-main",
"number": 2793,
"status": "finished",
"ended_at": "2020-08-11T15:00:00.000000Z",
"jackpot": 9440261,
"pool_sum": 2823342,
"payments": null
},
{
"id": 237,
"name": "baltbet-main",
"number": 2794,
"status": "finished",
"ended_at": "2020-08-12T15:00:00.000000Z",
"jackpot": 1000000,
"pool_sum": 1423983,
"payments": null
},
{
"id": 238,
"name": "baltbet-main",
"number": 2795,
"status": "finished",
"ended_at": "2020-08-13T14:00:00.000000Z",
"jackpot": 1213597,
"pool_sum": 1384453,
"payments": null
},
{
"id": 239,
"name": "baltbet-main",
"number": 2796,
"status": "finished",
"ended_at": "2020-08-14T15:00:00.000000Z",
"jackpot": 1352043,
"pool_sum": 1760405,
"payments": null
},
{
"id": 240,
"name": "baltbet-main",
"number": 2797,
"status": "finished",
"ended_at": "2020-08-15T14:00:00.000000Z",
"jackpot": 1528085,
"pool_sum": 1741947,
"payments": null
},
{
"id": 241,
"name": "baltbet-main",
"number": 2798,
"status": "finished",
"ended_at": "2020-08-16T15:30:00.000000Z",
"jackpot": 1789377,
"pool_sum": 1841507,
"payments": null
},
{
"id": 242,
"name": "baltbet-main",
"number": 2799,
"status": "finished",
"ended_at": "2020-08-17T16:00:00.000000Z",
"jackpot": 1973528,
"pool_sum": 2017419,
"payments": null
},
{
"id": 243,
"name": "baltbet-main",
"number": 2800,
"status": "finished",
"ended_at": "2020-08-18T14:00:00.000000Z",
"jackpot": 2175271,
"pool_sum": 1801116,
"payments": null
},
{
"id": 244,
"name": "baltbet-main",
"number": 2801,
"status": "finished",
"ended_at": "2020-08-19T15:00:00.000000Z",
"jackpot": 2355388,
"pool_sum": 1913987,
"payments": null
},
{
"id": 245,
"name": "baltbet-main",
"number": 2802,
"status": "finished",
"ended_at": "2020-08-20T16:00:00.000000Z",
"jackpot": 2546785,
"pool_sum": 2265078,
"payments": null
},
{
"id": 246,
"name": "baltbet-main",
"number": 2803,
"status": "finished",
"ended_at": "2020-08-21T14:00:00.000000Z",
"jackpot": 2886550,
"pool_sum": 1836384,
"payments": null
},
{
"id": 247,
"name": "baltbet-main",
"number": 2804,
"status": "finished",
"ended_at": "2020-08-22T15:00:00.000000Z",
"jackpot": 3070189,
"pool_sum": 2277210,
"payments": null
},
{
"id": 248,
"name": "baltbet-main",
"number": 2805,
"status": "finished",
"ended_at": "2020-08-23T14:30:00.000000Z",
"jackpot": 2877033,
"pool_sum": 2314007,
"payments": null
},
{
"id": 249,
"name": "baltbet-main",
"number": 2806,
"status": "finished",
"ended_at": "2020-08-24T15:15:00.000000Z",
"jackpot": 2705031,
"pool_sum": 1936595,
"payments": null
},
{
"id": 250,
"name": "baltbet-main",
"number": 2807,
"status": "finished",
"ended_at": "2020-08-25T15:00:00.000000Z",
"jackpot": 2898691,
"pool_sum": 2197067,
"payments": null
},
{
"id": 251,
"name": "baltbet-main",
"number": 2808,
"status": "finished",
"ended_at": "2020-08-26T15:30:00.000000Z",
"jackpot": 3228252,
"pool_sum": 1919420,
"payments": null
}
],
"links": {
"first": "http:\/\/localhost\/api\/v1\/community\/baltbet-main\/drawings?page=1",
"last": "http:\/\/localhost\/api\/v1\/community\/baltbet-main\/drawings?page=4",
"prev": null,
"next": "http:\/\/localhost\/api\/v1\/community\/baltbet-main\/drawings?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 4,
"path": "http:\/\/localhost\/api\/v1\/community\/baltbet-main\/drawings",
"per_page": 50,
"to": 50,
"total": 200
}
}
HTTP Request
GET api/v1/community/{name}/drawings
URL Parameters
Parameter | Status | Description |
---|---|---|
name |
required | The ID of the post. |
Данные тиража
Метод служит для получения подробных данные тиража.
События тиража и их свойства содержаться в структуре data->events
Свойство number является номером тиража в конторе
Example request:
curl -X GET \
-G "https://totobrief.ru/api/v1/community/drawing-info/1" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"https://totobrief.ru/api/v1/community/drawing-info/1"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"data": {
"id": 1,
"name": "xbet-main",
"number": 2128,
"status": "finished",
"ended_at": "2020-07-07T15:30:00.000000Z",
"jackpot": 86256357,
"pool_sum": 15825475,
"payments": null,
"events": [
{
"id": 1,
"name": "Мирандес - Эльче",
"name_en": null,
"championship": "Чемпионат Испании. Второй дивизион",
"order": 0,
"start_at": "2020-07-07T17:30:00.000000Z",
"result": "1",
"score": "1:0",
"quotes": {
"pool_win_1": 40.9,
"pool_draw": 29.33,
"pool_win_2": 29.77,
"bk_win_1": 42,
"bk_draw": 30,
"bk_win_2": 28,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 2,
"name": "Эстремадура - Кадис",
"name_en": null,
"championship": "Чемпионат Испании. Второй дивизион",
"order": 1,
"start_at": "2020-07-07T19:45:00.000000Z",
"result": "2",
"score": "0:1",
"quotes": {
"pool_win_1": 20.09,
"pool_draw": 35.39,
"pool_win_2": 44.53,
"bk_win_1": 29,
"bk_draw": 33,
"bk_win_2": 38,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 3,
"name": "Ксамакс - Цюрих",
"name_en": null,
"championship": "Чемпионат Швейцарии",
"order": 2,
"start_at": "2020-07-07T18:30:00.000000Z",
"result": "X",
"score": "1:1",
"quotes": {
"pool_win_1": 22.47,
"pool_draw": 21.5,
"pool_win_2": 56.03,
"bk_win_1": 33,
"bk_draw": 22,
"bk_win_2": 45,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 4,
"name": "Богемианс 1905 - Млада Болеслав",
"name_en": null,
"championship": "Чемпионат Чехии",
"order": 3,
"start_at": "2020-07-07T18:00:00.000000Z",
"result": "1",
"score": "2:1",
"quotes": {
"pool_win_1": 69.06,
"pool_draw": 16.56,
"pool_win_2": 14.37,
"bk_win_1": 52,
"bk_draw": 23,
"bk_win_2": 25,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 5,
"name": "Дачия Миовени - Рапид",
"name_en": null,
"championship": "Чемпионат Румынии. Лига 2",
"order": 4,
"start_at": "2020-07-07T17:00:00.000000Z",
"result": "X",
"score": "0:0",
"quotes": {
"pool_win_1": 25.61,
"pool_draw": 22.64,
"pool_win_2": 51.75,
"bk_win_1": 31,
"bk_draw": 23,
"bk_win_2": 46,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 6,
"name": "Бейтар - Маккаби Хайфа",
"name_en": null,
"championship": "Чемпионат Израиля. Премьер-лига",
"order": 5,
"start_at": "2020-07-07T18:00:00.000000Z",
"result": "X",
"score": "2:2",
"quotes": {
"pool_win_1": 26.95,
"pool_draw": 29.89,
"pool_win_2": 43.16,
"bk_win_1": 29,
"bk_draw": 24,
"bk_win_2": 47,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 7,
"name": "Хапоэль Тель-Авив - Хапоэль Хайфа",
"name_en": null,
"championship": "Чемпионат Израиля. Премьер-лига",
"order": 6,
"start_at": "2020-07-07T18:00:00.000000Z",
"result": "2",
"score": "0:3",
"quotes": {
"pool_win_1": 42.44,
"pool_draw": 34.07,
"pool_win_2": 23.49,
"bk_win_1": 44,
"bk_draw": 25,
"bk_win_2": 31,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 8,
"name": "Арсенал - Лестер Сити",
"name_en": null,
"championship": "Чемпионат Англии. Премьер-лига",
"order": 7,
"start_at": "2020-07-07T19:15:00.000000Z",
"result": "X",
"score": "1:1",
"quotes": {
"pool_win_1": 62.72,
"pool_draw": 19.57,
"pool_win_2": 17.71,
"bk_win_1": 46,
"bk_draw": 25,
"bk_win_2": 29,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 9,
"name": "Ноттингем Форест - Фулхэм",
"name_en": null,
"championship": "Чемпионат Англии. Чемпионшип",
"order": 8,
"start_at": "2020-07-07T16:00:00.000000Z",
"result": "2",
"score": "0:1",
"quotes": {
"pool_win_1": 35.07,
"pool_draw": 30.45,
"pool_win_2": 34.48,
"bk_win_1": 35,
"bk_draw": 27,
"bk_win_2": 38,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 10,
"name": "Лутон - Барнсли",
"name_en": null,
"championship": "Чемпионат Англии. Чемпионшип",
"order": 9,
"start_at": "2020-07-07T18:45:00.000000Z",
"result": "X",
"score": "1:1",
"quotes": {
"pool_win_1": 28.92,
"pool_draw": 28.03,
"pool_win_2": 43.04,
"bk_win_1": 34,
"bk_draw": 25,
"bk_win_2": 41,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 11,
"name": "Рединг - Хаддерсфилд Таун",
"name_en": null,
"championship": "Чемпионат Англии. Чемпионшип",
"order": 10,
"start_at": "2020-07-07T17:00:00.000000Z",
"result": "X",
"score": "0:0",
"quotes": {
"pool_win_1": 38.69,
"pool_draw": 32.03,
"pool_win_2": 29.28,
"bk_win_1": 37,
"bk_draw": 26,
"bk_win_2": 37,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 12,
"name": "Кардифф Сити - Блэкберн Роверс",
"name_en": null,
"championship": "Чемпионат Англии. Чемпионшип",
"order": 11,
"start_at": "2020-07-07T18:45:00.000000Z",
"result": "2",
"score": "2:3",
"quotes": {
"pool_win_1": 62.86,
"pool_draw": 22.47,
"pool_win_2": 14.67,
"bk_win_1": 50,
"bk_draw": 27,
"bk_win_2": 23,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 13,
"name": "Тамбов - Ахмат",
"name_en": null,
"championship": "Чемпионат России. Премьер-лига",
"order": 12,
"start_at": "2020-07-07T15:30:00.000000Z",
"result": "2",
"score": "1:2",
"quotes": {
"pool_win_1": 26.04,
"pool_draw": 32.92,
"pool_win_2": 41.04,
"bk_win_1": 26,
"bk_draw": 29,
"bk_win_2": 45,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 14,
"name": "Арсенал Тула - Крылья Советов",
"name_en": null,
"championship": "Чемпионат России. Премьер-лига",
"order": 13,
"start_at": "2020-07-07T17:30:00.000000Z",
"result": "2",
"score": "2:4",
"quotes": {
"pool_win_1": 50.45,
"pool_draw": 27.35,
"pool_win_2": 22.2,
"bk_win_1": 50,
"bk_draw": 25,
"bk_win_2": 25,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
},
{
"id": 15,
"name": "КуПС - Интер Турку",
"name_en": null,
"championship": "Чемпионат Финляндии. Высшая лига",
"order": 14,
"start_at": "2020-07-07T15:30:00.000000Z",
"result": "1",
"score": "1:0",
"quotes": {
"pool_win_1": 60.06,
"pool_draw": 18.02,
"pool_win_2": 21.92,
"bk_win_1": 50,
"bk_draw": 24,
"bk_win_2": 26,
"norm_win_1": null,
"norm_draw": null,
"norm_win_2": null
}
}
]
},
"version": "1.0"
}
HTTP Request
GET api/v1/community/drawing-info/{id}