秋田预测市场 · Discord 审计

Live Data API体育数据结构跨运动一致性疑问

2026-06-04 · Kalshi · 4 条相关讨论

Johnny Ringo 2026-06-04 06:49:14

I am attempting to pull live game state from GET /live_data/milestone/{milestone_id} to render a score header next to each market. The details object isn't pinned in the docs (it's typed as free-form JSON),so I have been working off the live payload. For a tennis match it comes back with fields like competitor1_overall_score, competitor1_current_round_score, competitor1_round_scores (an array of {outcome, score, tiebreak_score}), a competitor1statistics.* bag, and the mirrored competitor2* set. The question: is the competitor1* / competitor2* shape stable and consistent across all the Sportradar-backed sports (baseball, basketball, hockey, soccer, etc.), or do some sports return different field names? I understand round_scores means different things per sport (sets vs. innings vs. quarters) so I am asking whether the field names themselves are reliable to code against, or whether any sport diverges. And if there's any field reference for the details payload, even an internal one, that would save me a lot of guessing.

I am attempting to pull live game state from GET /live_data/milestone/{milestone_id} to render a score header next to each market. The details object isn't pinned in the docs (it's typed as free-form JSON),so I have been working off the live payload. For a tennis match it comes back with fields like competitor1_overall_score, competitor1_current_round_score, competitor1_round_scores (an array of {outcome, score, tiebreak_score}), a competitor1statistics.* bag, and the mirrored competitor2* set. The question: is the competitor1* / competitor2* shape stable and consistent across all the Sportradar-backed sports (baseball, basketball, hockey, soccer, etc.), or do some sports return different field names? I understand round_scores means different things per sport (sets vs. innings vs. quarters) so I am asking whether the field names themselves are reliable to code against, or whether any sport diverges. And if there's any field reference for the details payload, even an internal one, that would save me a lot of guessing.

Johnny Ringo 2026-06-04 12:19:59

is the competitor1* / competitor2* shape stable and consistent across all the Sportradar-backed sports (baseball, basketball, hockey, soccer, etc.), or do some sports return different field names?

is the competitor1* / competitor2* shape stable and consistent across all the Sportradar-backed sports (baseball, basketball, hockey, soccer, etc.), or do some sports return different field names?

Johnny Ringo 2026-06-04 12:21:56

James said he didn't know and I should ask here.

James said he didn't know and I should ask here.

Johnny Ringo 2026-06-04 13:05:39

That was a miss on my end. Thank you for your help.

That was a miss on my end. Thank you for your help.