Feed365 365races API harvest (redacted)
Browse files- 365-DOWNSTREAM-API.md +316 -0
- CONTRACTS.md +22 -0
- README.md +19 -0
- casino-providers-harvest.json +197 -0
- deep-leak-redacted.json +0 -0
- feed365-casino-catalog.ts +211 -0
- gap-matrix.json +491 -0
- odds-algorithm-notes.md +21 -0
365-DOWNSTREAM-API.md
ADDED
|
@@ -0,0 +1,316 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Feed365 — Downstream Aggregator API
|
| 2 |
+
|
| 3 |
+
Public multi-sport odds, scorecard, and live-TV feed for white-label aggregators and multi-platform downstreams.
|
| 4 |
+
|
| 5 |
+
| | |
|
| 6 |
+
|---|---|
|
| 7 |
+
| **Base URL** | `https://korewhitelabelmall.xyz` |
|
| 8 |
+
| **Prefix** | `/365` (alias `/api/365`) |
|
| 9 |
+
| **Contract** | Field-preserving raw payloads (`normalize: false`) |
|
| 10 |
+
| **Auth (all partner calls)** | `X-Aggregator-Key: <platform-key>` (also accepts `X-Api-Key`) |
|
| 11 |
+
| **Docs (public)** | `GET /365/docs` — no key |
|
| 12 |
+
| **Ops auth** | Ingest / heal / repair / session / leaks require **primary** `AGGREGATOR_API_KEY` (integrator slots denied) |
|
| 13 |
+
|
| 14 |
+
Production is fail-closed: without a configured key, partner routes return `503`; missing/wrong key returns `401`.
|
| 15 |
+
|
| 16 |
+
Do **not** rewrite or assume remapped field names. Use `_index` and documented ids for routing only.
|
| 17 |
+
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
## 1. Discovery
|
| 21 |
+
|
| 22 |
+
| Method | Path | Purpose |
|
| 23 |
+
|--------|------|---------|
|
| 24 |
+
| `GET` | `/365` | Service index |
|
| 25 |
+
| `GET` | `/365/health` | Liveness + `eventCount` |
|
| 26 |
+
| `GET` | `/365/catalog` | All sports with live `eventCount` + hrefs |
|
| 27 |
+
| `GET` | `/365/search?q=` | Search indexed events by name / teams / ids |
|
| 28 |
+
| `POST` | `/365/odds/unified` | Bulk market + fancy + scores by `matchIds` |
|
| 29 |
+
| `GET` | `/365/rotation` | Autorotate / pool health (ops) |
|
| 30 |
+
| `POST` | `/365/heal` | Clear cooldowns + reload cache |
|
| 31 |
+
| `POST` | `/365/repair` | Session repair (ops) |
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## 2. Sport hierarchy (primary integration)
|
| 36 |
+
|
| 37 |
+
**Sport slugs:** `soccer`, `tennis`, `cricket`, `horse_racing`, `greyhound_racing`, `basketball`, `baseball`, `ice_hockey`, `american_football`, `mma`, `darts`, `snooker`, `golf`, `boxing`, `volleyball`, `rugby_union`, `rugby_league`, `athletics`, `motorsport`, `specials`, …
|
| 38 |
+
|
| 39 |
+
**Aliases:** `football` → soccer · `horseracing` / `horse-racing` → horse_racing · `nfl` → american_football · `dogs` → greyhound_racing · …
|
| 40 |
+
|
| 41 |
+
| Method | Path | Purpose |
|
| 42 |
+
|--------|------|---------|
|
| 43 |
+
| `GET` | `/365/{sport}` | Sport hub (counts + sample + child links) |
|
| 44 |
+
| `GET` | `/365/{sport}/inplay` | In-play only (`matchStatus` / live flags) |
|
| 45 |
+
| `GET` | `/365/{sport}/upcoming` | Upcoming (not in-play, not settled) |
|
| 46 |
+
| `GET` | `/365/{sport}/allevents` | All indexed events for sport |
|
| 47 |
+
| `GET` | `/365/{sport}/{eventId}` | Single event (raw) |
|
| 48 |
+
| `GET` | `/365/{sport}/{eventId}/markets` | Markets for event (socket ids) |
|
| 49 |
+
| `GET` | `/365/{sport}/{eventId}/{marketType}` | Filter by market type |
|
| 50 |
+
| `GET` | `/365/{sport}/{eventId}/{marketType}/{marketId}` | Exact market |
|
| 51 |
+
| `GET` | `/365/{sport}/{eventId},{marketType},{marketId}` | Compact comma form |
|
| 52 |
+
| `GET` | `/365/{sport}/{eventId}/odds` | Per-event odds compose (`markets`, scoped `fancy`/`bookmaker`, `source`) |
|
| 53 |
+
| `GET` | `/365/{sport}/{eventId}/scorecard` | Live scorecard / runner state (raw) |
|
| 54 |
+
| `GET` | `/365/{sport}/{eventId}/livetv` | Live TV / HLS links |
|
| 55 |
+
| `GET` | `/365/{sport}/{eventId}/fancy` | Fancy markets for **that** event (multi-id filter) |
|
| 56 |
+
| `GET` | `/365/{sport}/{eventId}/bookmaker` | Bookmaker markets for **that** event (multi-id filter) |
|
| 57 |
+
| `GET` | `/365/{sport}/{eventId}/premium` | Premium / Genius sportsbook markets for **that** event |
|
| 58 |
+
|
| 59 |
+
### Identifiers (from live feed)
|
| 60 |
+
|
| 61 |
+
| Field | Meaning |
|
| 62 |
+
|-------|---------|
|
| 63 |
+
| `eventId` | Event key |
|
| 64 |
+
| `BFI` / `gmid` / `match_id` | Alternate ids accepted by event matchers |
|
| 65 |
+
| `marketType` | e.g. `MATCH_ODDS`, `WIN`, `PLACE`, `OTHER_PLACE` |
|
| 66 |
+
| `marketId` | Exchange market id when present |
|
| 67 |
+
| `marketIndex` / `channel` | Socket routing ids |
|
| 68 |
+
| `runners[]` | Selections; back/lay ladders as `BO` / `LO` (untouched) |
|
| 69 |
+
| `_index` | Routing helper added by Feed365 (safe to use for links) |
|
| 70 |
+
| `source` | On `/odds`: `panel` \| `socket` \| `mixed` \| `index` \| `empty` |
|
| 71 |
+
|
| 72 |
+
### Per-event odds compose
|
| 73 |
+
|
| 74 |
+
`GET /365/{sport}/{eventId}/odds` resolves aliases (`eventId`, `BFI`, `gmid`, `match_id`, `marketId`, matchodds ids), fetches panel `/odds-by-market` **even when** the event is already indexed, filters fancy/bookmaker/genius leaks to that event (never full dumps), and falls back to the socket buffer when market odds are empty.
|
| 75 |
+
|
| 76 |
+
```http
|
| 77 |
+
GET /365/search?q=india
|
| 78 |
+
POST /365/odds/unified
|
| 79 |
+
Content-Type: application/json
|
| 80 |
+
{ "matchIds": ["35835250", "35818726"] }
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
Both return the Kore envelope (`ok`, `normalize: false`). Unified puts the bulk payload under `data`.
|
| 84 |
+
|
| 85 |
+
### Examples
|
| 86 |
+
|
| 87 |
+
```http
|
| 88 |
+
GET /365/catalog
|
| 89 |
+
GET /365/cricket/inplay
|
| 90 |
+
GET /365/cricket/upcoming
|
| 91 |
+
GET /365/tennis/allevents
|
| 92 |
+
GET /365/cricket/35830529/odds
|
| 93 |
+
GET /365/cricket/35830529/fancy
|
| 94 |
+
GET /365/cricket/35830529/bookmaker
|
| 95 |
+
GET /365/cricket/35830529/scorecard
|
| 96 |
+
GET /365/cricket/35830529/livetv
|
| 97 |
+
GET /365/socket/odds
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
Empty `eventCount` / `count: 0` for a sport means no live fixtures in the current snapshot — the route stays aggregator-ready.
|
| 101 |
+
|
| 102 |
+
### Odds display algorithm (panel → Feed365)
|
| 103 |
+
|
| 104 |
+
| Surface | Panel fields | Feed365 path |
|
| 105 |
+
|---------|--------------|--------------|
|
| 106 |
+
| Exchange ladders | `BO` / `LO` runner books | `/365/{sport}/{eventId}/odds` → `markets` |
|
| 107 |
+
| Fancy | `F[]` lines (`nation`, `b1`/`l1`, `sr`/`min`/`max`) | `/365/{sport}/{eventId}/fancy` |
|
| 108 |
+
| Bookmaker | `B[]` selections | `/365/{sport}/{eventId}/bookmaker` |
|
| 109 |
+
| Premium / Genius | `selection_data` / premium markets | `/365/{sport}/{eventId}/premium` |
|
| 110 |
+
|
| 111 |
+
Compose details live in `apps/api/src/lib/feed365-odds-compose.ts`. Fancy/BM routes also return an `algorithm` hint for integrators.
|
| 112 |
+
|
| 113 |
+
---
|
| 114 |
+
|
| 115 |
+
## 3. Casino (read-only inventory + launch shapes)
|
| 116 |
+
|
| 117 |
+
| Method | Path | Purpose |
|
| 118 |
+
|--------|------|---------|
|
| 119 |
+
| `GET` | `/365/casino` | Cached `/live-casinos-list` leak |
|
| 120 |
+
| `GET` | `/365/casino/providers` | Canonical providers (Evolution, CreedRoomz, Aura, Spade, Vivo, Supernowa, Pragmatic, Ezugi, …) |
|
| 121 |
+
| `GET` | `/365/casino/providers/{provider}` | Single provider metadata + panel routes |
|
| 122 |
+
| `GET` | `/365/casino/{provider}/games` | Games / lobby leak for provider |
|
| 123 |
+
| `GET` | `/365/casino/{provider}/launch` | Launch shape (`iframe` / `transfer-redirect` / `load-game`) — **no wallet debit** |
|
| 124 |
+
|
| 125 |
+
Providers are documented in `apps/api/src/lib/feed365-casino-catalog.ts`. Live HTML depends on authenticated leak ingest.
|
| 126 |
+
|
| 127 |
+
---
|
| 128 |
+
|
| 129 |
+
## 4. Bets (read-only)
|
| 130 |
+
|
| 131 |
+
| Method | Path | Purpose |
|
| 132 |
+
|--------|------|---------|
|
| 133 |
+
| `GET` | `/365/bets` | Opened / matched / unmatched / exposure / one-click **reads** + `placeBetShapes` reference |
|
| 134 |
+
|
| 135 |
+
**Mutation policy:** place-bet / wallet debit is **not** proxied through `/365`. `placeBetShapes` and `oddsDisplayAlgorithm` on `/365/bets` are documentation only (`mutation: false`).
|
| 136 |
+
|
| 137 |
+
---
|
| 138 |
+
|
| 139 |
+
## 5. Live updates
|
| 140 |
+
|
| 141 |
+
| Method | Path | Purpose |
|
| 142 |
+
|--------|------|---------|
|
| 143 |
+
| `GET` | `/365/socket` | Kore websocket hints (no upstream credentials) |
|
| 144 |
+
| `GET` | `/365/socket/odds` | **Primary** Feed365 buffered snapshot (poll 2–5s) |
|
| 145 |
+
| `WS` | `wss://korewhitelabelmall.xyz/ws/odds` | Optional platform live-wire (not full fancy/BM ladders) |
|
| 146 |
+
|
| 147 |
+
Recommended pattern:
|
| 148 |
+
|
| 149 |
+
1. Poll `/365/{sport}/inplay` every 2–5s **or**
|
| 150 |
+
2. Poll `/365/socket/odds` and merge by `eventId` (Feed365 depth bus), then refresh HTTP odds/scorecard; optional `/ws/odds` is platform live-wire only — **or**
|
| 151 |
+
3. Subscribe to Kore WS and refresh HTTP for scorecard / livetv on demand.
|
| 152 |
+
|
| 153 |
+
---
|
| 154 |
+
|
| 155 |
+
## 6. Bulk dump
|
| 156 |
+
|
| 157 |
+
| Method | Path | Purpose |
|
| 158 |
+
|--------|------|---------|
|
| 159 |
+
| `GET` | `/365/upstream` | Full catalog dump for batch ingest |
|
| 160 |
+
|
| 161 |
+
---
|
| 162 |
+
|
| 163 |
+
## 7. Reliability
|
| 164 |
+
|
| 165 |
+
| Feature | Behavior |
|
| 166 |
+
|---------|----------|
|
| 167 |
+
| **Autorotate** | Multi-base / multi-account pool |
|
| 168 |
+
| **Auto-repair** | Session refresh on miss |
|
| 169 |
+
| **Auto-heal** | Ingest clears cooldowns; `POST /365/heal` for ops |
|
| 170 |
+
|
| 171 |
+
---
|
| 172 |
+
|
| 173 |
+
## 8. Multi-downstream wiring (10+ platforms · 5L+ users)
|
| 174 |
+
|
| 175 |
+
**Critical rule:** end-user browsers must **not** call Feed365 directly.
|
| 176 |
+
|
| 177 |
+
```
|
| 178 |
+
[ 5L users ] → Platform A app/WS ─┐
|
| 179 |
+
[ 5L users ] → Platform B app/WS ─┼→ Platform backends (10–50 pollers)
|
| 180 |
+
[ 5L users ] → Platform C … ─┘ ↓
|
| 181 |
+
Feed365 /365/{sport}/inplay
|
| 182 |
+
(snapshot cache + CDN ~2s)
|
| 183 |
+
```
|
| 184 |
+
|
| 185 |
+
| Layer | Responsibility | Scale target |
|
| 186 |
+
|-------|----------------|--------------|
|
| 187 |
+
| End users | Hit **platform** app / WS only | 500k+ on platform infra |
|
| 188 |
+
| Platform backend | Poll Feed365, cache, fan-out | 2–5s interval |
|
| 189 |
+
| Feed365 | Shared B2B upstream | Tens of backends, not 500k clients |
|
| 190 |
+
|
| 191 |
+
### Env (platform backend)
|
| 192 |
+
|
| 193 |
+
```bash
|
| 194 |
+
FEED365_BASE=https://korewhitelabelmall.xyz/365
|
| 195 |
+
# Send on every poll:
|
| 196 |
+
# X-Aggregator-Key: <per-platform-key>
|
| 197 |
+
FEED365_INPLAY=https://korewhitelabelmall.xyz/365/{sport}/inplay
|
| 198 |
+
FEED365_EVENT=https://korewhitelabelmall.xyz/365/{sport}/{eventId}
|
| 199 |
+
FEED365_WS=wss://korewhitelabelmall.xyz/ws/odds
|
| 200 |
+
```
|
| 201 |
+
|
| 202 |
+
### Feed365 scale features
|
| 203 |
+
|
| 204 |
+
- **Freshness SLA** — when the live bridge is running, ingest age is typically **< 2–3s** (hard stale flag at `FEED365_STALE_MS`, default 8s). Per-event odds older than `FEED365_EVENT_STALE_MS` (default 45s) are **dropped** from `/365/socket/odds`, catalog, and inplay — idle markets are never served as live. Check `freshness.stale` / `freshness.ageSec` / `freshness.events` on `/365/health`. If `status: "stale"`, do **not** treat odds as live.
|
| 205 |
+
- **Upstream split** — Mac/VPS HTTP upstream feeds lists + odds/BM/fancy; HLS livetv mint is ops-only (`/365/internal/tv-capture` claim + `races365-live-bridge.mjs --tv-claim`). Partners see `ok:true` + HLS or honest `tvAvailable:false` / queue notes — never silent empty success.
|
| 206 |
+
- **Live paths** — `/365/*/inplay`, `/365/*/upcoming`, `/365/socket/odds`, `/365/health` use `Cache-Control: no-store` (no CDN serving old ticks).
|
| 207 |
+
- **1.5s snapshot cache** — sport indexes reused across requests (in-process only)
|
| 208 |
+
- **ETag on `/365/catalog`** — `304` when unchanged
|
| 209 |
+
- **Rate limit** — per IP; integrator keys get higher priority / bypass soft limits
|
| 210 |
+
- **WebSocket** — one connection **per platform server**, then fan-out to users
|
| 211 |
+
|
| 212 |
+
### Poll budget guide
|
| 213 |
+
|
| 214 |
+
| Platforms | Sports | Interval | ≈ Feed365 RPS |
|
| 215 |
+
|-----------|--------|----------|----------------|
|
| 216 |
+
| 10 | 5 | 2s | ~25 |
|
| 217 |
+
| 25 | 8 | 2s | ~100 |
|
| 218 |
+
| 50 | 10 | 3s | ~167 |
|
| 219 |
+
|
| 220 |
+
### Ops keys (one per platform)
|
| 221 |
+
|
| 222 |
+
```bash
|
| 223 |
+
AGGREGATOR_API_KEY[REDACTED],plat_b,plat_c,...
|
| 224 |
+
AGGREGATOR_RATE_LIMIT_MAX=600
|
| 225 |
+
FEED365_SNAPSHOT_TTL_MS=1500
|
| 226 |
+
FEED365_CDN_MAX_AGE_SEC=0
|
| 227 |
+
FEED365_STALE_MS=8000
|
| 228 |
+
FEED365_EVENT_STALE_MS=45000
|
| 229 |
+
WS_MAX_CONNECTIONS_PER_IP=32
|
| 230 |
+
WS_MAX_CONNECTIONS_GLOBAL=500
|
| 231 |
+
```
|
| 232 |
+
|
| 233 |
+
Never ship aggregator keys to mobile/web clients.
|
| 234 |
+
|
| 235 |
+
### Minimal backend flow
|
| 236 |
+
|
| 237 |
+
```
|
| 238 |
+
GET /365/health # require status=live / freshness.stale=false
|
| 239 |
+
GET /365/catalog
|
| 240 |
+
GET /365/{sport}/inplay # every 1–2s while UI focused
|
| 241 |
+
GET /365/{sport}/{eventId}/odds # on demand / UI focus
|
| 242 |
+
GET /365/{sport}/{eventId}/livetv
|
| 243 |
+
```
|
| 244 |
+
|
| 245 |
+
Privileged ingest (server-side only):
|
| 246 |
+
|
| 247 |
+
```http
|
| 248 |
+
POST /365/ingest
|
| 249 |
+
X-Aggregator-Key: <key>
|
| 250 |
+
```
|
| 251 |
+
|
| 252 |
+
---
|
| 253 |
+
|
| 254 |
+
## 7. Bet trace → settlementId → result (+ partner wallet)
|
| 255 |
+
|
| 256 |
+
**Partner wallet is active** under `/365/wallet` (INR ledger per aggregator key). With `stake` set, `POST /settlement/trace` debits/locks stake; on `won`/`lost`/`void`/`push` wallet settles automatically. Optional webhook: `POST /365/wallet/webhook`.
|
| 257 |
+
|
| 258 |
+
| Method | Path | Purpose |
|
| 259 |
+
|--------|------|---------|
|
| 260 |
+
| `GET` | `/365/wallet` | Balance / locked / ledger |
|
| 261 |
+
| `POST` | `/365/wallet/credit` | Top-up |
|
| 262 |
+
| `POST` | `/365/wallet/webhook` | Settlement callback URL |
|
| 263 |
+
| `POST` | `/365/settlement/trace` | Register bet → `settlementId` (+ debit) |
|
| 264 |
+
| `GET` | `/365/settlement/:settlementId` | Poll (auto-refresh evidence) |
|
| 265 |
+
| `POST` | `/365/settlement/:settlementId/refresh` | Force re-resolve |
|
| 266 |
+
| `POST` | `/365/settlement/:settlementId/result` | Manual close (`won`/`lost`/`void`/`push`/`not_declared`) |
|
| 267 |
+
| `GET` | `/365/settlement?open=1` | List partner traces |
|
| 268 |
+
|
| 269 |
+
Full copy-paste pack (keys + verified payloads): `docs/aggregators/FEED365-COPY-PASTE-INTEGRATION.md`.
|
| 270 |
+
|
| 271 |
+
**Register body (required):** `betId`, `sport`, `eventId`, and at least one of `selectionId` / `selectionName`.
|
| 272 |
+
**Fancy:** also require `line` and/or `runs` and/or `sessionKey`.
|
| 273 |
+
**Optional:** `marketType`, `marketKind`, `marketId`, `side`, `odds`, `stake`, `extra`.
|
| 274 |
+
|
| 275 |
+
Idempotency: same partner key + same open `betId` reuses the existing `settlementId` (`reused: true`).
|
| 276 |
+
|
| 277 |
+
```http
|
| 278 |
+
POST /365/settlement/trace
|
| 279 |
+
X-Aggregator-Key: <key>
|
| 280 |
+
Content-Type: application/json
|
| 281 |
+
|
| 282 |
+
{
|
| 283 |
+
"betId": "plat-bet-001",
|
| 284 |
+
"sport": "cricket",
|
| 285 |
+
"eventId": "35839547",
|
| 286 |
+
"marketKind": "match_odds",
|
| 287 |
+
"selectionName": "Northamptonshire",
|
| 288 |
+
"side": "back",
|
| 289 |
+
"odds": 1.95,
|
| 290 |
+
"stake": 100
|
| 291 |
+
}
|
| 292 |
+
```
|
| 293 |
+
|
| 294 |
+
**Create** returns `status: "tracing"` plus the full bet snapshot and `settlementId`.
|
| 295 |
+
**Poll** returns `status: "result_not_declared_yet"` until evidence declares, then `won`/`lost`/`void`/`push`.
|
| 296 |
+
|
| 297 |
+
Evidence (auto): panel `scores-by-market`, socket CLOSED winners, fancy/BM leaks, catalog `matchodds` settle flags, ESPN/SportScore. Manual `/result` is the 100% fallback.
|
| 298 |
+
|
| 299 |
+
Alias (same store): `/api/settlement-trace` (+ `/docs`).
|
| 300 |
+
|
| 301 |
+
---
|
| 302 |
+
|
| 303 |
+
## 8. Response conventions
|
| 304 |
+
|
| 305 |
+
- Every JSON body includes `"normalize": false`.
|
| 306 |
+
- Prefer `ok: true|false` for success; use HTTP 404 for missing events, 503 when feed is degraded.
|
| 307 |
+
- Treat `raw` as opaque. Only rely on documented id fields for navigation.
|
| 308 |
+
- Live TV may return `ok: false` until a stream is minted for that `eventId`.
|
| 309 |
+
|
| 310 |
+
---
|
| 311 |
+
|
| 312 |
+
## 8. What not to do
|
| 313 |
+
|
| 314 |
+
- Do not scrape or hardcode third-party panel hosts in downstream apps.
|
| 315 |
+
- Do not normalize `BO`/`LO` ladders into a proprietary shape unless your product layer owns that mapping.
|
| 316 |
+
- Do not expose `/365/session` or ingest keys to end users.
|
CONTRACTS.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 365races live capture contracts (event 1697543 / BF 35830529)
|
| 2 |
+
|
| 3 |
+
Evidence (redacted): `data/feed365-network-capture/` — gitignored via `data/`.
|
| 4 |
+
|
| 5 |
+
| Surface | Method | Path / URL | Auth | Body / notes | Response |
|
| 6 |
+
|---|---|---|---|---|---|
|
| 7 |
+
| Login | POST | `/login` | CSRF [REDACTED] | `username`, `password`, `timezone` | Sets `365races_session`, `XSRF-TOKEN`, `bearer[REDACTED] |
|
| 8 |
+
| Homepage | POST | `/get-homepage-matches` | Cookie + `X-CSRF[REDACTED] | `Instant=true` | games catalog |
|
| 9 |
+
| Scores | POST | `/scores-by-market` | Cookie + CSRF | `event_ids[]=<BF eventId>` **not** URL match_id | `{data:[{eventId,eventTypeId,score,matchStatus,…}]}` |
|
| 10 |
+
| Odds | POST | `/odds-by-market` | Cookie + CSRF | `market_ids[]=1.xxxx` | `{data:[{market_id,selections:[back_odds,lay_odds]}]}` |
|
| 11 |
+
| Fancy | POST | `/get-fancy-odds-from-api` | Cookie + CSRF | `match_id` + `fancy_ids[]` + `event_id_sky` | `{F:[{M,RN,RY,ON,OY,S,MI}]}` |
|
| 12 |
+
| Bookmaker | POST | `/get-bookmaker-odds-from-api` | Cookie + CSRF | `match_id` + `market_id` + `selection_ids[]` + `event_id` | `{B:[{M,S,SL:[{I,B,L}]}]}` |
|
| 13 |
+
| Fancy-BM | POST | `/get-fancy-bookmaker-odds` | Cookie + CSRF | `match_id` + `event_id_sky` | `{B:[…]}` (often empty) |
|
| 14 |
+
| Genius / Premium | POST | `/get-genius-odds` | Cookie + CSRF | `market_data` JSON array of `{match_market,market_id,event_id,market_selections}` | `{response:[{<market_id>:"ONLINE",selection_data:{…}}]}` |
|
| 15 |
+
|
| 16 |
+
**Discovery (multi-event):** Homepage `match_score_row` → `ref-match-id` + `ref-betfair-eventid` + match URL; then per-event match HTML: `window.market_list` (fancy ids), `window.booker` (BM / toss BM when present), `data-mid="1.xxxx"` (exchange/line), `#genius-detail-page` / Genius ids + `.genius-market-table` (premium). Persisted to `markets-<match_id>.json` + `active-events.json` by `scripts/lib/races365-market-discover.py --all`. Fancy-bookmaker aggregate only leaked when panel returns rows (never invented).
|
| 17 |
+
| Scorecard HTML | GET | `/get-scorecard?eventId=` | Cookie + CSRF/XSRF | — | **Whoops HTML** — unused |
|
| 18 |
+
| Live TV | GET | `/xhr_streaming?gmid=` | Cookie + CSRF/XSRF | — | playg3 when licensed; else Whoops. Match had `streaming:0` |
|
| 19 |
+
| Socket.IO | WS | `wss://s2socket.winpro247.com/socket.io/?token=<gateway>&user_id=<uid>&EIO=4&transport=websocket` | gateway from `window.gateway` | rooms: `marketListOdds`, `event_scores`, `match_odds_<BF>`, `fancy_match_odds_<BF>`, `bookmaker_match_odds_<BF>`, … | `42["marketListOdds",{channel:"match_odds_<BF>",…}]` → Kore `POST /365/ingest` via `scripts/races365-native-ws-upstream.py` (browser mint-only) |
|
| 20 |
+
| Decimal score | WS | `wss://feed-widget.decimalcricket.net/isbd/<feedId>/365races.in/external` | Genius 3p → `sourceFixtureId` | brief snapshot | enrichment leak `/decimal-cricket`; scores-by-market primary |
|
| 21 |
+
|
| 22 |
+
**ID map:** URL `…/1697543` = `match_id`; `window.event_id` / scores `eventId` = `35830529`.
|
README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Feed365 API Harvest (365races.in → /365)
|
| 2 |
+
|
| 3 |
+
Uploaded: 2026-07-29T12:25:14.268848+00:00
|
| 4 |
+
Account: Shaurya2626
|
| 5 |
+
Source: Kore white-label Feed365 harvest tooling
|
| 6 |
+
|
| 7 |
+
## Contents
|
| 8 |
+
- gap-matrix.json — harvested URLs vs RACES365_LEAK_PATHS
|
| 9 |
+
- deep-leak-redacted.json — network/WS/probe capture (secrets stripped)
|
| 10 |
+
- casino-providers-harvest.json — casino lobby inventory attempt
|
| 11 |
+
- CONTRACTS.md — capture contracts
|
| 12 |
+
- 365-DOWNSTREAM-API.md — partner API docs
|
| 13 |
+
- feed365-casino-catalog.ts — provider catalog + place-bet shapes (reference only)
|
| 14 |
+
- odds-algorithm-notes.md — fancy / BM / exchange field map
|
| 15 |
+
|
| 16 |
+
## Policy
|
| 17 |
+
- Place-bet mutation is NOT enabled on /365 (shapes documented only).
|
| 18 |
+
- Port 1443 is not an API source.
|
| 19 |
+
- Credentials and session cookies are redacted from this dataset.
|
casino-providers-harvest.json
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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\"Unauthenticated.\"}"
|
| 10 |
+
},
|
| 11 |
+
"GET /casino-list": {
|
| 12 |
+
"status": 404,
|
| 13 |
+
"isHtml": false,
|
| 14 |
+
"keys": [
|
| 15 |
+
"message"
|
| 16 |
+
],
|
| 17 |
+
"preview": "\n{\n \"message\": \"Page not found for database or access denied\"\n}"
|
| 18 |
+
},
|
| 19 |
+
"GET /get-casino": {
|
| 20 |
+
"status": 404,
|
| 21 |
+
"isHtml": false,
|
| 22 |
+
"keys": [
|
| 23 |
+
"message"
|
| 24 |
+
],
|
| 25 |
+
"preview": "\n{\n \"message\": \"Page not found for database or access denied\"\n}"
|
| 26 |
+
},
|
| 27 |
+
"POST /live-casinos-list": {
|
| 28 |
+
"status": 200,
|
| 29 |
+
"isHtml": false,
|
| 30 |
+
"keys": [
|
| 31 |
+
"html"
|
| 32 |
+
],
|
| 33 |
+
"preview": "\n{\"html\":\"\"}"
|
| 34 |
+
},
|
| 35 |
+
"POST /live-casinos-list-without-login": {
|
| 36 |
+
"status": 200,
|
| 37 |
+
"isHtml": false,
|
| 38 |
+
"keys": [
|
| 39 |
+
"html"
|
| 40 |
+
],
|
| 41 |
+
"preview": "\n{\"html\":\"\"}"
|
| 42 |
+
},
|
| 43 |
+
"GET /live-evo-casino": {
|
| 44 |
+
"status": 401,
|
| 45 |
+
"isHtml": false,
|
| 46 |
+
"keys": [
|
| 47 |
+
"message"
|
| 48 |
+
],
|
| 49 |
+
"preview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 50 |
+
},
|
| 51 |
+
"GET /creedroomz-games": {
|
| 52 |
+
"status": 401,
|
| 53 |
+
"isHtml": false,
|
| 54 |
+
"keys": [
|
| 55 |
+
"message"
|
| 56 |
+
],
|
| 57 |
+
"preview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 58 |
+
},
|
| 59 |
+
"GET /aura-games": {
|
| 60 |
+
"status": 401,
|
| 61 |
+
"isHtml": false,
|
| 62 |
+
"keys": [
|
| 63 |
+
"message"
|
| 64 |
+
],
|
| 65 |
+
"preview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 66 |
+
},
|
| 67 |
+
"GET /turbo-games": {
|
| 68 |
+
"status": 404,
|
| 69 |
+
"isHtml": false,
|
| 70 |
+
"keys": [
|
| 71 |
+
"message"
|
| 72 |
+
],
|
| 73 |
+
"preview": "\n{\n \"message\": \"Page not found for database or access denied\"\n}"
|
| 74 |
+
},
|
| 75 |
+
"GET /slots": {
|
| 76 |
+
"status": 200,
|
| 77 |
+
"isHtml": true,
|
| 78 |
+
"keys": null,
|
| 79 |
+
"preview": "\n<!DOCTYPE html>\n<html lang=\"en-IN\">\n\n<head>\n <meta charset=\"utf-8\">\n <met"
|
| 80 |
+
},
|
| 81 |
+
"GET /live-casino": {
|
| 82 |
+
"status": 401,
|
| 83 |
+
"isHtml": false,
|
| 84 |
+
"keys": [
|
| 85 |
+
"message"
|
| 86 |
+
],
|
| 87 |
+
"preview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 88 |
+
},
|
| 89 |
+
"POST /load-game": {
|
| 90 |
+
"status": 401,
|
| 91 |
+
"isHtml": false,
|
| 92 |
+
"keys": [
|
| 93 |
+
"message"
|
| 94 |
+
],
|
| 95 |
+
"preview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 96 |
+
},
|
| 97 |
+
"POST /ajax/load-more-games": {
|
| 98 |
+
"status": 200,
|
| 99 |
+
"isHtml": false,
|
| 100 |
+
"keys": [
|
| 101 |
+
"has_more_matches",
|
| 102 |
+
"append_data"
|
| 103 |
+
],
|
| 104 |
+
"preview": "\n{\"has_more_matches\":1,\"append_data\":\"\"}"
|
| 105 |
+
},
|
| 106 |
+
"GET /ajax/load-more-games": {
|
| 107 |
+
"status": 404,
|
| 108 |
+
"isHtml": false,
|
| 109 |
+
"keys": [
|
| 110 |
+
"message"
|
| 111 |
+
],
|
| 112 |
+
"preview": "\n{\n \"message\": \"\"\n}"
|
| 113 |
+
},
|
| 114 |
+
"GET /vivo/update-balance": {
|
| 115 |
+
"status": 404,
|
| 116 |
+
"isHtml": false,
|
| 117 |
+
"keys": [
|
| 118 |
+
"message"
|
| 119 |
+
],
|
| 120 |
+
"preview": "\n{\n \"message\": \"\"\n}"
|
| 121 |
+
},
|
| 122 |
+
"GET /evo/update-balance": {
|
| 123 |
+
"status": 404,
|
| 124 |
+
"isHtml": false,
|
| 125 |
+
"keys": [
|
| 126 |
+
"message"
|
| 127 |
+
],
|
| 128 |
+
"preview": "\n{\n \"message\": \"\"\n}"
|
| 129 |
+
},
|
| 130 |
+
"GET /creedroomz/update-balance": {
|
| 131 |
+
"status": 404,
|
| 132 |
+
"isHtml": false,
|
| 133 |
+
"keys": [
|
| 134 |
+
"message"
|
| 135 |
+
],
|
| 136 |
+
"preview": "\n{\n \"message\": \"\"\n}"
|
| 137 |
+
},
|
| 138 |
+
"GET /update-turboGames": {
|
| 139 |
+
"status": 404,
|
| 140 |
+
"isHtml": false,
|
| 141 |
+
"keys": [
|
| 142 |
+
"message"
|
| 143 |
+
],
|
| 144 |
+
"preview": "\n{\n \"message\": \"Page not found for database or access denied\"\n}"
|
| 145 |
+
}
|
| 146 |
+
},
|
| 147 |
+
"providersFromHtml": [],
|
| 148 |
+
"pathHints": [],
|
| 149 |
+
"casinoRelatedPaths": [
|
| 150 |
+
"/aura-games",
|
| 151 |
+
"/casino",
|
| 152 |
+
"/creedroomz-games",
|
| 153 |
+
"/img/new-mobile-ui/casino.png",
|
| 154 |
+
"/live-casino",
|
| 155 |
+
"/live-casinos-list",
|
| 156 |
+
"/live-casinos-list-without-login",
|
| 157 |
+
"/live-evo-casino",
|
| 158 |
+
"/slots",
|
| 159 |
+
"/turbo-games"
|
| 160 |
+
],
|
| 161 |
+
"missingFromLeakAllowlist": [
|
| 162 |
+
"/append-goalmarket",
|
| 163 |
+
"/append-horsepunch-market",
|
| 164 |
+
"/append-sportradar-market",
|
| 165 |
+
"/back-bet",
|
| 166 |
+
"/bet-placed",
|
| 167 |
+
"/cancel-bet",
|
| 168 |
+
"/check_user_balance_before_bet_place",
|
| 169 |
+
"/docs/channels/server_api/authenticating_users",
|
| 170 |
+
"/docs/channels/server_api/authorizing-users/",
|
| 171 |
+
"/lay-bet",
|
| 172 |
+
"/live-casinos-list-without-login",
|
| 173 |
+
"/live-evo-casino",
|
| 174 |
+
"/pusher/user-auth",
|
| 175 |
+
"/search-events",
|
| 176 |
+
"/socket.io",
|
| 177 |
+
"/sportsbook",
|
| 178 |
+
"/user-additional-update-details",
|
| 179 |
+
"/xhr",
|
| 180 |
+
"/xhr_send"
|
| 181 |
+
],
|
| 182 |
+
"betRelatedPaths": [
|
| 183 |
+
"/back-bet",
|
| 184 |
+
"/bet-placed",
|
| 185 |
+
"/betradar-outcome-detail",
|
| 186 |
+
"/cancel-bet",
|
| 187 |
+
"/check_user_balance_before_bet_place",
|
| 188 |
+
"/get-exposure",
|
| 189 |
+
"/lay-bet",
|
| 190 |
+
"/matched-bet",
|
| 191 |
+
"/one-click-bet",
|
| 192 |
+
"/open-bets-selection",
|
| 193 |
+
"/opened-bet",
|
| 194 |
+
"/opened-bet-sky",
|
| 195 |
+
"/unmatched-bet"
|
| 196 |
+
]
|
| 197 |
+
}
|
deep-leak-redacted.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
feed365-casino-catalog.ts
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 4 |
+
* Place-bet / wallet transfer mutation is NOT exposed (read-only aggregator).
|
| 5 |
+
*/
|
| 6 |
+
|
| 7 |
+
export type Feed365CasinoProvider = {
|
| 8 |
+
id: string;
|
| 9 |
+
name: string;
|
| 10 |
+
/** Panel HTML/API routes on 365races.in */
|
| 11 |
+
panelRoutes: string[];
|
| 12 |
+
/** Balance sync paths (read-only documentation / leak keys) */
|
| 13 |
+
balanceSync?: string[];
|
| 14 |
+
/** Launch mechanism */
|
| 15 |
+
launch: "iframe" | "transfer-redirect" | "load-game" | "html-lobby";
|
| 16 |
+
/** load-game provider key when applicable */
|
| 17 |
+
loadGameProvider?: string;
|
| 18 |
+
notes?: string;
|
| 19 |
+
/** Whether Kore HUIDU has a parallel vendor (informational) */
|
| 20 |
+
huiduVendor?: string | null;
|
| 21 |
+
};
|
| 22 |
+
|
| 23 |
+
/** Canonical providers harvested from 365races app.js + panel routes (2026-07). */
|
| 24 |
+
export const FEED365_CASINO_PROVIDERS: Feed365CasinoProvider[] = [
|
| 25 |
+
{
|
| 26 |
+
id: "evolution",
|
| 27 |
+
name: "Evolution",
|
| 28 |
+
panelRoutes: ["/live-evo-casino", "/live-casinos-list"],
|
| 29 |
+
balanceSync: ["/evo/update-balance", "/evolution-set-transfer-amount"],
|
| 30 |
+
launch: "transfer-redirect",
|
| 31 |
+
notes: "Panel transfer modal → /live-evo-casino iframe. Kore may also use HUIDU EVOASIA.",
|
| 32 |
+
huiduVendor: "EVOASIA",
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
id: "creedroomz",
|
| 36 |
+
name: "CreedRoomz",
|
| 37 |
+
panelRoutes: ["/creedroomz-games"],
|
| 38 |
+
balanceSync: ["/creedroomz/update-balance"],
|
| 39 |
+
launch: "iframe",
|
| 40 |
+
notes: "Panel-native lobby. No HUIDU vendor.",
|
| 41 |
+
huiduVendor: null,
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
id: "aura",
|
| 45 |
+
name: "Aura",
|
| 46 |
+
panelRoutes: ["/aura-games"],
|
| 47 |
+
balanceSync: ["/aura/update-balance"],
|
| 48 |
+
launch: "iframe",
|
| 49 |
+
huiduVendor: null,
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
id: "spade",
|
| 53 |
+
name: "Spade Gaming",
|
| 54 |
+
panelRoutes: ["/spade-games"],
|
| 55 |
+
balanceSync: ["/spade/update-balance", "/update-spade"],
|
| 56 |
+
launch: "iframe",
|
| 57 |
+
notes: "Form #update-spade-balance / #render_spade_iframe",
|
| 58 |
+
huiduVendor: null,
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
id: "vivo",
|
| 62 |
+
name: "Vivo Gaming",
|
| 63 |
+
panelRoutes: ["/live-casinos-list"],
|
| 64 |
+
balanceSync: ["/vivo/update-balance"],
|
| 65 |
+
launch: "html-lobby",
|
| 66 |
+
huiduVendor: null,
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
id: "supernowa",
|
| 70 |
+
name: "Supernowa",
|
| 71 |
+
panelRoutes: ["/live-casinos-list"],
|
| 72 |
+
loadGameProvider: "supernowa",
|
| 73 |
+
launch: "load-game",
|
| 74 |
+
notes: "Often via POST /load-game; may appear in live-casinos-list HTML.",
|
| 75 |
+
huiduVendor: null,
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
id: "pragmatic",
|
| 79 |
+
name: "Pragmatic Play Live",
|
| 80 |
+
panelRoutes: ["/live-casinos-list", "/slots"],
|
| 81 |
+
loadGameProvider: "pragmatic",
|
| 82 |
+
launch: "load-game",
|
| 83 |
+
notes: "POST /load-game {provider:pragmatic}. Panel may misroute to Ezugi — verify live.",
|
| 84 |
+
huiduVendor: "PPLIVE",
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
id: "ezugi",
|
| 88 |
+
name: "Ezugi",
|
| 89 |
+
panelRoutes: ["/live-casinos-list"],
|
| 90 |
+
balanceSync: ["/ezugi/update-balance"],
|
| 91 |
+
launch: "html-lobby",
|
| 92 |
+
huiduVendor: null,
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
id: "inout",
|
| 96 |
+
name: "InOut",
|
| 97 |
+
panelRoutes: ["/inout-games"],
|
| 98 |
+
balanceSync: ["/inout/update-balance"],
|
| 99 |
+
launch: "iframe",
|
| 100 |
+
huiduVendor: null,
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
id: "mac88",
|
| 104 |
+
name: "MAC88",
|
| 105 |
+
panelRoutes: ["/mac88-games"],
|
| 106 |
+
balanceSync: ["/mac88/update-balance"],
|
| 107 |
+
launch: "iframe",
|
| 108 |
+
huiduVendor: null,
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
id: "turbo",
|
| 112 |
+
name: "Turbo Games",
|
| 113 |
+
panelRoutes: ["/turbo-games"],
|
| 114 |
+
balanceSync: ["/turboGames/update-balance", "/update-turboGames"],
|
| 115 |
+
launch: "iframe",
|
| 116 |
+
notes: "Route may Whoops when tenant-disabled.",
|
| 117 |
+
huiduVendor: null,
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
id: "jili",
|
| 121 |
+
name: "Jili",
|
| 122 |
+
panelRoutes: ["/live-casinos-list", "/slots"],
|
| 123 |
+
balanceSync: ["/jili/update-balance"],
|
| 124 |
+
launch: "html-lobby",
|
| 125 |
+
huiduVendor: null,
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
id: "slots",
|
| 129 |
+
name: "Slots lobby",
|
| 130 |
+
panelRoutes: ["/slots", "/ajax/load-more-games"],
|
| 131 |
+
launch: "html-lobby",
|
| 132 |
+
notes: "POST /ajax/load-more-games {page, category:slots}",
|
| 133 |
+
huiduVendor: "NETENTASIA",
|
| 134 |
+
},
|
| 135 |
+
];
|
| 136 |
+
|
| 137 |
+
/** Place-bet / slip shapes captured from app.js — documentation only (no mutation). */
|
| 138 |
+
export const FEED365_PLACE_BET_SHAPES = {
|
| 139 |
+
note: "Read-only documentation. Feed365 does not proxy live place-bet / wallet debit.",
|
| 140 |
+
panelPaths: {
|
| 141 |
+
back: { method: "POST", path: "/back-bet", auth: "session+csrf[REDACTED]" },
|
| 142 |
+
lay: { method: "POST", path: "/lay-bet", auth: "session+csrf[REDACTED]" },
|
| 143 |
+
cancel: { method: "POST", path: "/cancel-bet", auth: "session+csrf[REDACTED]" },
|
| 144 |
+
balanceCheck: {
|
| 145 |
+
method: "POST",
|
| 146 |
+
path: "/check_user_balance_before_bet_place",
|
| 147 |
+
auth: "session+csrf",
|
| 148 |
+
},
|
| 149 |
+
placedAck: { method: "GET|POST", path: "/bet-placed", auth: "session" },
|
| 150 |
+
},
|
| 151 |
+
readSurfaces: {
|
| 152 |
+
opened: "/opened-bet",
|
| 153 |
+
openedSky: "/opened-bet-sky",
|
| 154 |
+
oneClick: "/one-click-bet",
|
| 155 |
+
matched: "/matched-bet",
|
| 156 |
+
unmatched: "/unmatched-bet",
|
| 157 |
+
exposure: "/get-exposure",
|
| 158 |
+
openSelections: "/open-bets-selection",
|
| 159 |
+
},
|
| 160 |
+
oddsDisplayAlgorithm: {
|
| 161 |
+
exchange: {
|
| 162 |
+
source: "POST /odds-by-market { market_ids[] }",
|
| 163 |
+
runners: "selections[] with back_odds / lay_odds ladders (BO/LO on socket)",
|
| 164 |
+
},
|
| 165 |
+
fancy: {
|
| 166 |
+
source: "POST /get-fancy-odds-from-api { match_id, fancy_ids[], event_id_sky }",
|
| 167 |
+
rows: "F[{M,RN,RY,ON,OY,S,MI}]",
|
| 168 |
+
},
|
| 169 |
+
bookmaker: {
|
| 170 |
+
source: "POST /get-bookmaker-odds-from-api { match_id, market_id, selection_ids[], event_id }",
|
| 171 |
+
rows: "B[{M,S,SL[{I,B,L}]}]",
|
| 172 |
+
},
|
| 173 |
+
fancyBookmaker: {
|
| 174 |
+
source: "POST /get-fancy-bookmaker-odds { match_id, event_id_sky }",
|
| 175 |
+
rows: "B[] (often empty)",
|
| 176 |
+
},
|
| 177 |
+
premiumGenius: {
|
| 178 |
+
source: "POST /get-genius-odds { market_data:[{match_market,market_id,event_id,market_selections}] }",
|
| 179 |
+
rows: "response[{market_id, selection_data}]",
|
| 180 |
+
},
|
| 181 |
+
compose: "GET /365/{sport}/{eventId}/odds merges panel + socket; never invents empty fancy/BM.",
|
| 182 |
+
},
|
| 183 |
+
} as const;
|
| 184 |
+
|
| 185 |
+
export function listFeed365CasinoProviders(): Feed365CasinoProvider[] {
|
| 186 |
+
return FEED365_CASINO_PROVIDERS;
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
export function getFeed365CasinoProvider(id: string): Feed365CasinoProvider | null {
|
| 190 |
+
const key = id.trim().toLowerCase();
|
| 191 |
+
return (
|
| 192 |
+
FEED365_CASINO_PROVIDERS.find(
|
| 193 |
+
(p) => p.id === key || p.name.toLowerCase() === key || p.loadGameProvider === key,
|
| 194 |
+
) || null
|
| 195 |
+
);
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
/** Best-effort extract provider tokens from live-casinos-list HTML leak. */
|
| 199 |
+
export function providersFromCasinoHtml(html: string | null | undefined): string[] {
|
| 200 |
+
if (!html || typeof html !== "string") return [];
|
| 201 |
+
const found = new Set<string>();
|
| 202 |
+
for (const m of html.matchAll(/data-provider=["']([^"']+)["']/gi)) {
|
| 203 |
+
found.add(m[1].trim().toLowerCase());
|
| 204 |
+
}
|
| 205 |
+
for (const m of html.matchAll(
|
| 206 |
+
/(evolution|evoasia|creedroomz|creed|vivo|supernowa|supernow|aura|turbo|spade|mac88|inout|jili|pragmatic|ezugi|betgames|tvbet|salsa|dreamdelhi|netent|playtech)[a-z0-9_-]*/gi,
|
| 207 |
+
)) {
|
| 208 |
+
found.add(m[0].toLowerCase());
|
| 209 |
+
}
|
| 210 |
+
return [...found].sort();
|
| 211 |
+
}
|
gap-matrix.json
ADDED
|
@@ -0,0 +1,491 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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11 |
+
},
|
| 12 |
+
"knownLeakPaths": [
|
| 13 |
+
"/api/user",
|
| 14 |
+
"/betradar-outcome-detail",
|
| 15 |
+
"/event-id-map",
|
| 16 |
+
"/fetch-balance",
|
| 17 |
+
"/get-bookmaker-odds-from-api",
|
| 18 |
+
"/get-exposure",
|
| 19 |
+
"/get-fancy-bookmaker-odds",
|
| 20 |
+
"/get-fancy-odds-from-api",
|
| 21 |
+
"/get-genius-odds",
|
| 22 |
+
"/get-homepage-matches",
|
| 23 |
+
"/get-scorecard",
|
| 24 |
+
"/get-sport-detials",
|
| 25 |
+
"/get-superover-market",
|
| 26 |
+
"/live-casinos-list",
|
| 27 |
+
"/markets-catalog",
|
| 28 |
+
"/matched-bet",
|
| 29 |
+
"/odds-by-market",
|
| 30 |
+
"/odds-by-match-fancy",
|
| 31 |
+
"/one-click-bet",
|
| 32 |
+
"/open-bets-selection",
|
| 33 |
+
"/opened-bet",
|
| 34 |
+
"/opened-bet-sky",
|
| 35 |
+
"/premium-sportsbook",
|
| 36 |
+
"/scores-by-market",
|
| 37 |
+
"/unmatched-bet",
|
| 38 |
+
"/xhr_streaming"
|
| 39 |
+
],
|
| 40 |
+
"gatewayAndAppRoutes": [
|
| 41 |
+
"/append-goalmarket",
|
| 42 |
+
"/append-horsepunch-market",
|
| 43 |
+
"/append-sportradar-market",
|
| 44 |
+
"/back-bet",
|
| 45 |
+
"/bet-placed",
|
| 46 |
+
"/betradar-outcome-detail",
|
| 47 |
+
"/cancel-bet",
|
| 48 |
+
"/check_user_balance_before_bet_place",
|
| 49 |
+
"/docs/channels/server_api/authenticating_users",
|
| 50 |
+
"/docs/channels/server_api/authorizing-users/",
|
| 51 |
+
"/fetch-balance",
|
| 52 |
+
"/get-bookmaker-odds-from-api",
|
| 53 |
+
"/get-exposure",
|
| 54 |
+
"/get-fancy-bookmaker-odds",
|
| 55 |
+
"/get-fancy-odds-from-api",
|
| 56 |
+
"/get-genius-odds",
|
| 57 |
+
"/get-homepage-matches",
|
| 58 |
+
"/get-sport-detials",
|
| 59 |
+
"/get-superover-market",
|
| 60 |
+
"/lay-bet",
|
| 61 |
+
"/live-casinos-list",
|
| 62 |
+
"/live-casinos-list-without-login",
|
| 63 |
+
"/live-evo-casino",
|
| 64 |
+
"/matched-bet",
|
| 65 |
+
"/odds-by-market",
|
| 66 |
+
"/odds-by-match-fancy",
|
| 67 |
+
"/one-click-bet",
|
| 68 |
+
"/open-bets-selection",
|
| 69 |
+
"/opened-bet",
|
| 70 |
+
"/opened-bet-sky",
|
| 71 |
+
"/pusher/user-auth",
|
| 72 |
+
"/scores-by-market",
|
| 73 |
+
"/search-events",
|
| 74 |
+
"/socket.io",
|
| 75 |
+
"/sportsbook",
|
| 76 |
+
"/unmatched-bet",
|
| 77 |
+
"/user-additional-update-details",
|
| 78 |
+
"/xhr",
|
| 79 |
+
"/xhr_send",
|
| 80 |
+
"/xhr_streaming"
|
| 81 |
+
],
|
| 82 |
+
"missingFromLeakAllowlist": [
|
| 83 |
+
"/append-goalmarket",
|
| 84 |
+
"/append-horsepunch-market",
|
| 85 |
+
"/append-sportradar-market",
|
| 86 |
+
"/back-bet",
|
| 87 |
+
"/bet-placed",
|
| 88 |
+
"/cancel-bet",
|
| 89 |
+
"/check_user_balance_before_bet_place",
|
| 90 |
+
"/docs/channels/server_api/authenticating_users",
|
| 91 |
+
"/docs/channels/server_api/authorizing-users/",
|
| 92 |
+
"/lay-bet",
|
| 93 |
+
"/live-casinos-list-without-login",
|
| 94 |
+
"/live-evo-casino",
|
| 95 |
+
"/pusher/user-auth",
|
| 96 |
+
"/search-events",
|
| 97 |
+
"/socket.io",
|
| 98 |
+
"/sportsbook",
|
| 99 |
+
"/user-additional-update-details",
|
| 100 |
+
"/xhr",
|
| 101 |
+
"/xhr_send"
|
| 102 |
+
],
|
| 103 |
+
"casinoRelatedPaths": [
|
| 104 |
+
"/aura-games",
|
| 105 |
+
"/casino",
|
| 106 |
+
"/creedroomz-games",
|
| 107 |
+
"/img/new-mobile-ui/casino.png",
|
| 108 |
+
"/live-casino",
|
| 109 |
+
"/live-casinos-list",
|
| 110 |
+
"/live-casinos-list-without-login",
|
| 111 |
+
"/live-evo-casino",
|
| 112 |
+
"/slots",
|
| 113 |
+
"/turbo-games"
|
| 114 |
+
],
|
| 115 |
+
"betRelatedPaths": [
|
| 116 |
+
"/back-bet",
|
| 117 |
+
"/bet-placed",
|
| 118 |
+
"/betradar-outcome-detail",
|
| 119 |
+
"/cancel-bet",
|
| 120 |
+
"/check_user_balance_before_bet_place",
|
| 121 |
+
"/get-exposure",
|
| 122 |
+
"/lay-bet",
|
| 123 |
+
"/matched-bet",
|
| 124 |
+
"/one-click-bet",
|
| 125 |
+
"/open-bets-selection",
|
| 126 |
+
"/opened-bet",
|
| 127 |
+
"/opened-bet-sky",
|
| 128 |
+
"/unmatched-bet"
|
| 129 |
+
],
|
| 130 |
+
"json200Probes": [
|
| 131 |
+
{
|
| 132 |
+
"method": "POST",
|
| 133 |
+
"path": "/live-casinos-list",
|
| 134 |
+
"keys": [
|
| 135 |
+
"html"
|
| 136 |
+
],
|
| 137 |
+
"dataN": null,
|
| 138 |
+
"preview": "\n{\"html\":\"\"}"
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"method": "POST",
|
| 142 |
+
"path": "/live-casinos-list-without-login",
|
| 143 |
+
"keys": [
|
| 144 |
+
"html"
|
| 145 |
+
],
|
| 146 |
+
"dataN": null,
|
| 147 |
+
"preview": "\n{\"html\":\"\"}"
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"method": "POST",
|
| 151 |
+
"path": "/ajax/load-more-games",
|
| 152 |
+
"keys": [
|
| 153 |
+
"has_more_matches",
|
| 154 |
+
"append_data"
|
| 155 |
+
],
|
| 156 |
+
"dataN": null,
|
| 157 |
+
"preview": "\n{\"has_more_matches\":1,\"append_data\":\"\"}"
|
| 158 |
+
}
|
| 159 |
+
],
|
| 160 |
+
"netPathSample": [
|
| 161 |
+
"/account-statement",
|
| 162 |
+
"/aura-games",
|
| 163 |
+
"/balance",
|
| 164 |
+
"/basketball",
|
| 165 |
+
"/bookmaker",
|
| 166 |
+
"/casino",
|
| 167 |
+
"/creedroomz-games",
|
| 168 |
+
"/cricket",
|
| 169 |
+
"/cricket-betting",
|
| 170 |
+
"/exchange",
|
| 171 |
+
"/fancy",
|
| 172 |
+
"/football",
|
| 173 |
+
"/games/30",
|
| 174 |
+
"/get-homepage-matches",
|
| 175 |
+
"/greyhound-racing",
|
| 176 |
+
"/horse-racing",
|
| 177 |
+
"/img/new-mobile-ui/casino.png",
|
| 178 |
+
"/in-play",
|
| 179 |
+
"/inplay",
|
| 180 |
+
"/live-casino",
|
| 181 |
+
"/live-evo-casino",
|
| 182 |
+
"/login",
|
| 183 |
+
"/my-bets",
|
| 184 |
+
"/odds-by-market",
|
| 185 |
+
"/profile",
|
| 186 |
+
"/scores-by-market",
|
| 187 |
+
"/slots",
|
| 188 |
+
"/sports",
|
| 189 |
+
"/tennis",
|
| 190 |
+
"/turbo-games"
|
| 191 |
+
],
|
| 192 |
+
"socketUrl": "https://s2socket.winpro247.com/",
|
| 193 |
+
"juicy": {
|
| 194 |
+
"jsonProbes": [
|
| 195 |
+
{
|
| 196 |
+
"method": "POST",
|
| 197 |
+
"path": "/live-casinos-list",
|
| 198 |
+
"body": {
|
| 199 |
+
"provider": "",
|
| 200 |
+
"category": ""
|
| 201 |
+
},
|
| 202 |
+
"status": 200,
|
| 203 |
+
"ct": "application/json",
|
| 204 |
+
"isHtml": false,
|
| 205 |
+
"keys": [
|
| 206 |
+
"html"
|
| 207 |
+
],
|
| 208 |
+
"dataN": null,
|
| 209 |
+
"preview": "\n{\"html\":\"\"}",
|
| 210 |
+
"sample": null
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"method": "POST",
|
| 214 |
+
"path": "/live-casinos-list-without-login",
|
| 215 |
+
"body": {},
|
| 216 |
+
"status": 200,
|
| 217 |
+
"ct": "application/json",
|
| 218 |
+
"isHtml": false,
|
| 219 |
+
"keys": [
|
| 220 |
+
"html"
|
| 221 |
+
],
|
| 222 |
+
"dataN": null,
|
| 223 |
+
"preview": "\n{\"html\":\"\"}",
|
| 224 |
+
"sample": null
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"method": "POST",
|
| 228 |
+
"path": "/ajax/load-more-games",
|
| 229 |
+
"body": {
|
| 230 |
+
"page": 1,
|
| 231 |
+
"category": "slots"
|
| 232 |
+
},
|
| 233 |
+
"status": 200,
|
| 234 |
+
"ct": "application/json",
|
| 235 |
+
"isHtml": false,
|
| 236 |
+
"keys": [
|
| 237 |
+
"has_more_matches",
|
| 238 |
+
"append_data"
|
| 239 |
+
],
|
| 240 |
+
"dataN": null,
|
| 241 |
+
"preview": "\n{\"has_more_matches\":1,\"append_data\":\"\"}",
|
| 242 |
+
"sample": null
|
| 243 |
+
}
|
| 244 |
+
],
|
| 245 |
+
"nonHtmlRoutes": [
|
| 246 |
+
{
|
| 247 |
+
"path": "/live-casinos-list",
|
| 248 |
+
"status": 200,
|
| 249 |
+
"isHtml": false,
|
| 250 |
+
"keys": [
|
| 251 |
+
"html"
|
| 252 |
+
],
|
| 253 |
+
"dataN": null,
|
| 254 |
+
"preview": "\n{\"html\":\"\"}"
|
| 255 |
+
}
|
| 256 |
+
],
|
| 257 |
+
"netJson": [
|
| 258 |
+
{
|
| 259 |
+
"method": "POST",
|
| 260 |
+
"status": 401,
|
| 261 |
+
"url": "https://365races.in/scores-by-market",
|
| 262 |
+
"type": "xhr",
|
| 263 |
+
"jsonKeys": [
|
| 264 |
+
"message"
|
| 265 |
+
],
|
| 266 |
+
"dataN": null,
|
| 267 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"method": "POST",
|
| 271 |
+
"status": 200,
|
| 272 |
+
"url": "https://365races.in/get-homepage-matches",
|
| 273 |
+
"type": "xhr",
|
| 274 |
+
"jsonKeys": [
|
| 275 |
+
"status",
|
| 276 |
+
"games"
|
| 277 |
+
],
|
| 278 |
+
"dataN": null,
|
| 279 |
+
"bodyPreview": "\n{\"status\":\"success\",\"games\":[{\"url\":\"javascript:;\",\"redirect_link\":\"https:\\/\\/365races.in\\/aviator\\/goal\",\"image\":\"https:\\/\\/front-banner-images-dev.s3.eu-west-2.amazonaws.com\\/casino_lobby\\/994\\/11\\/1740914652Goal.png?response-content-disposition=attachment%3B%20filename%3D%221740914652Goal.png%22&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Security-Token=[REDACTED]"
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"method": "POST",
|
| 283 |
+
"status": 401,
|
| 284 |
+
"url": "https://365races.in/scores-by-market",
|
| 285 |
+
"type": "xhr",
|
| 286 |
+
"jsonKeys": [
|
| 287 |
+
"message"
|
| 288 |
+
],
|
| 289 |
+
"dataN": null,
|
| 290 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"method": "POST",
|
| 294 |
+
"status": 401,
|
| 295 |
+
"url": "https://365races.in/scores-by-market",
|
| 296 |
+
"type": "xhr",
|
| 297 |
+
"jsonKeys": [
|
| 298 |
+
"message"
|
| 299 |
+
],
|
| 300 |
+
"dataN": null,
|
| 301 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"method": "POST",
|
| 305 |
+
"status": 401,
|
| 306 |
+
"url": "https://365races.in/scores-by-market",
|
| 307 |
+
"type": "xhr",
|
| 308 |
+
"jsonKeys": [
|
| 309 |
+
"message"
|
| 310 |
+
],
|
| 311 |
+
"dataN": null,
|
| 312 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"method": "POST",
|
| 316 |
+
"status": 401,
|
| 317 |
+
"url": "https://365races.in/scores-by-market",
|
| 318 |
+
"type": "xhr",
|
| 319 |
+
"jsonKeys": [
|
| 320 |
+
"message"
|
| 321 |
+
],
|
| 322 |
+
"dataN": null,
|
| 323 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"method": "POST",
|
| 327 |
+
"status": 401,
|
| 328 |
+
"url": "https://365races.in/scores-by-market",
|
| 329 |
+
"type": "xhr",
|
| 330 |
+
"jsonKeys": [
|
| 331 |
+
"message"
|
| 332 |
+
],
|
| 333 |
+
"dataN": null,
|
| 334 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"method": "POST",
|
| 338 |
+
"status": 200,
|
| 339 |
+
"url": "https://365races.in/get-homepage-matches",
|
| 340 |
+
"type": "xhr",
|
| 341 |
+
"jsonKeys": [
|
| 342 |
+
"status",
|
| 343 |
+
"games"
|
| 344 |
+
],
|
| 345 |
+
"dataN": null,
|
| 346 |
+
"bodyPreview": "\n{\"status\":\"success\",\"games\":[{\"url\":\"javascript:;\",\"redirect_link\":\"https:\\/\\/365races.in\\/aviator\\/goal\",\"image\":\"https:\\/\\/front-banner-images-dev.s3.eu-west-2.amazonaws.com\\/casino_lobby\\/994\\/11\\/1740914652Goal.png?response-content-disposition=attachment%3B%20filename%3D%221740914652Goal.png%22&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Security-Token=[REDACTED]"
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"method": "POST",
|
| 350 |
+
"status": 401,
|
| 351 |
+
"url": "https://365races.in/scores-by-market",
|
| 352 |
+
"type": "xhr",
|
| 353 |
+
"jsonKeys": [
|
| 354 |
+
"message"
|
| 355 |
+
],
|
| 356 |
+
"dataN": null,
|
| 357 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"method": "POST",
|
| 361 |
+
"status": 401,
|
| 362 |
+
"url": "https://365races.in/scores-by-market",
|
| 363 |
+
"type": "xhr",
|
| 364 |
+
"jsonKeys": [
|
| 365 |
+
"message"
|
| 366 |
+
],
|
| 367 |
+
"dataN": null,
|
| 368 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"method": "POST",
|
| 372 |
+
"status": 401,
|
| 373 |
+
"url": "https://365races.in/scores-by-market",
|
| 374 |
+
"type": "xhr",
|
| 375 |
+
"jsonKeys": [
|
| 376 |
+
"message"
|
| 377 |
+
],
|
| 378 |
+
"dataN": null,
|
| 379 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"method": "POST",
|
| 383 |
+
"status": 401,
|
| 384 |
+
"url": "https://365races.in/scores-by-market",
|
| 385 |
+
"type": "xhr",
|
| 386 |
+
"jsonKeys": [
|
| 387 |
+
"message"
|
| 388 |
+
],
|
| 389 |
+
"dataN": null,
|
| 390 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"method": "GET",
|
| 394 |
+
"status": 401,
|
| 395 |
+
"url": "https://365races.in/scores-by-market",
|
| 396 |
+
"type": "fetch",
|
| 397 |
+
"jsonKeys": [
|
| 398 |
+
"message"
|
| 399 |
+
],
|
| 400 |
+
"dataN": null,
|
| 401 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"method": "POST",
|
| 405 |
+
"status": 401,
|
| 406 |
+
"url": "https://365races.in/scores-by-market",
|
| 407 |
+
"type": "fetch",
|
| 408 |
+
"jsonKeys": [
|
| 409 |
+
"message"
|
| 410 |
+
],
|
| 411 |
+
"dataN": null,
|
| 412 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"method": "POST",
|
| 416 |
+
"status": 401,
|
| 417 |
+
"url": "https://365races.in/scores-by-market",
|
| 418 |
+
"type": "fetch",
|
| 419 |
+
"jsonKeys": [
|
| 420 |
+
"message"
|
| 421 |
+
],
|
| 422 |
+
"dataN": null,
|
| 423 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"method": "POST",
|
| 427 |
+
"status": 401,
|
| 428 |
+
"url": "https://365races.in/scores-by-market",
|
| 429 |
+
"type": "fetch",
|
| 430 |
+
"jsonKeys": [
|
| 431 |
+
"message"
|
| 432 |
+
],
|
| 433 |
+
"dataN": null,
|
| 434 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"method": "POST",
|
| 438 |
+
"status": 401,
|
| 439 |
+
"url": "https://365races.in/scores-by-market",
|
| 440 |
+
"type": "fetch",
|
| 441 |
+
"jsonKeys": [
|
| 442 |
+
"message"
|
| 443 |
+
],
|
| 444 |
+
"dataN": null,
|
| 445 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"method": "GET",
|
| 449 |
+
"status": 401,
|
| 450 |
+
"url": "https://365races.in/odds-by-market",
|
| 451 |
+
"type": "fetch",
|
| 452 |
+
"jsonKeys": [
|
| 453 |
+
"message"
|
| 454 |
+
],
|
| 455 |
+
"dataN": null,
|
| 456 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"method": "POST",
|
| 460 |
+
"status": 401,
|
| 461 |
+
"url": "https://365races.in/odds-by-market",
|
| 462 |
+
"type": "fetch",
|
| 463 |
+
"jsonKeys": [
|
| 464 |
+
"message"
|
| 465 |
+
],
|
| 466 |
+
"dataN": null,
|
| 467 |
+
"bodyPreview": "\n{\"message\":\"Unauthenticated.\"}"
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"method": "GET",
|
| 471 |
+
"status": 404,
|
| 472 |
+
"url": "https://365races.in/get-homepage-matches",
|
| 473 |
+
"type": "fetch",
|
| 474 |
+
"jsonKeys": [
|
| 475 |
+
"message"
|
| 476 |
+
],
|
| 477 |
+
"dataN": null,
|
| 478 |
+
"bodyPreview": "\n{\n \"message\": \"Page not found for database or access denied\"\n}"
|
| 479 |
+
}
|
| 480 |
+
],
|
| 481 |
+
"absoluteHosts": [
|
| 482 |
+
"https://cdn.fontawesome.com:443",
|
| 483 |
+
"https://socket.io/docs/v3/migrating-from-2-x-to-3-0/"
|
| 484 |
+
],
|
| 485 |
+
"storageKeys": [
|
| 486 |
+
"_grecaptcha",
|
| 487 |
+
"os_pageViews",
|
| 488 |
+
"userConsent"
|
| 489 |
+
]
|
| 490 |
+
}
|
| 491 |
+
}
|
odds-algorithm-notes.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Odds display algorithm (365races panel → Feed365)
|
| 2 |
+
|
| 3 |
+
## Exchange
|
| 4 |
+
- Runner ladders: `BO` (back odds), `LO` (lay odds)
|
| 5 |
+
- Composed at `GET /365/{sport}/{eventId}/odds` → `markets`
|
| 6 |
+
|
| 7 |
+
## Fancy
|
| 8 |
+
- Array `F[]` with lines: nation/label, back/lay prices (`b1`/`l1` or similar), stake limits
|
| 9 |
+
- `GET /365/{sport}/{eventId}/fancy`
|
| 10 |
+
|
| 11 |
+
## Bookmaker
|
| 12 |
+
- Array `B[]` selections with prices
|
| 13 |
+
- `GET /365/{sport}/{eventId}/bookmaker`
|
| 14 |
+
|
| 15 |
+
## Premium / Genius
|
| 16 |
+
- `selection_data` / premium market payloads
|
| 17 |
+
- `GET /365/{sport}/{eventId}/premium`
|
| 18 |
+
|
| 19 |
+
## Bet slip (read-only)
|
| 20 |
+
- Opened / matched / unmatched / exposure via `GET /365/bets`
|
| 21 |
+
- Place-bet body shapes documented under `placeBetShapes` — no mutation through aggregator
|