{"id":429,"date":"2026-07-27T18:53:25","date_gmt":"2026-07-27T10:53:25","guid":{"rendered":"https:\/\/anysport.io\/cn\/?p=429"},"modified":"2026-07-27T18:58:58","modified_gmt":"2026-07-27T10:58:58","slug":"anysport-2026-product-upgrade","status":"publish","type":"post","link":"https:\/\/anysport.io\/cn\/blog\/anysport-2026-product-upgrade\/","title":{"rendered":"AnySport \u8db3\u7403\u6570\u636e\u63a5\u53e3\u5168\u65b0\u5347\u7ea7"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u8fd9\u6b21\u6211\u4eec\u5bf9 AnySport \u8db3\u7403\u6570\u636e API \u505a\u4e86\u4e00\u8f6e<strong>\u5927\u7248\u672c\u5347\u7ea7<\/strong>\uff0c\u5347\u7ea7\u540e\u6211\u4eec\u80fd\u63d0\u4f9b\u7684<strong>\u6570\u636e\u66f4\u591a\uff0c\u5b9e\u65f6\u63a8\u9001\u7684\u6570\u636e\u4e5f\u66f4\u5168\u4e86<\/strong>\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6570\u636e\u89c4\u6a21<\/strong>\uff1a\u8d54\u7387\u76d8\u53e3\u73b0\u5728\u5347\u7ea7\u6210\u4e00\u5957<strong>\u6807\u51c6\u5316 <code>market_code<\/code> \u5b57\u5178\uff08\u8d5b\u524d 63 \u79cd\u3001\u6eda\u7403 499 \u79cd<\/strong>\uff09\uff0c\u540c\u65f6\u65b0\u589e\u4e86\u8d5b\u5b63\u3001\u6559\u7ec3\u3001\u4f24\u505c\u3001\u5355\u573a\u8be6\u60c5\u3001\u5b9e\u65f6\u8d5b\u51b5\u3001\u6bd4\u8d5b\u4e8b\u4ef6\u3001\u8fd1\u671f\u8d5b\u7a0b\u7a97\u53e3\u7b49\u4e00\u6279\u7aef\u70b9\u3002<\/li>\n\n\n\n<li><strong>\u5b9e\u65f6\u63a8\u9001<\/strong>\uff1a\u65e7\u7248\u7684WebSocket\u53ea\u80fd\u63d0\u4f9b\u5b9e\u65f6\u6bd4\u5206\u6570\u636e\uff0c\u8fd9\u6b21\u5347\u7ea7\u540e\uff0c\u53ef\u901a\u8fc7WebSocket\u8ba2\u9605<strong>\u6bd4\u5206\u3001\u8d5b\u51b5\u3001\u8d5b\u524d\u8d54\u7387\u3001\u6eda\u7403\u8d54\u7387<\/strong>\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u540c\u65f6\uff0c\u8fd9\u4e00\u7248<strong>\u6362\u4e86\u57fa\u7840\u5730\u5740\u3001\u6362\u4e86\u8ba4\u8bc1\u65b9\u5f0f\u3001\u6362\u4e86 ID \u4f53\u7cfb<\/strong>,\u6240\u4ee5<strong>\u65e7\u7248 (v1) \u7528\u6237\u9700\u8981\u6309\u4e0b\u9762\u7684\u8fc1\u79fb\u8bf4\u660e\u5347\u7ea7\u4ee3\u7801<\/strong>\uff0c\u4e0d\u662f\u65e0\u75db\u5e73\u6ed1\u7684\u3002\u6211\u4eec\u628a\u8be5\u8bb2\u7684\u5751\u90fd\u5199\u5728\u8fd9\u7bc7\u91cc\u4e86\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\ud83d\udccc \u6587\u6863\u4e5f\u6362\u65b0\u4e86\uff1a\u65b0\u7248\u662f <a href=\"https:\/\/docs.anysport.io\">docs.anysport.io<\/a>,\u65e7\u7248 v1 \u5f52\u6863\u5728 <a href=\"https:\/\/docsv1.anysport.io\">docsv1.anysport.io<\/a>\u3002\u4e0b\u6587\u6240\u6709\u7aef\u70b9\u3001\u5b57\u6bb5\u3001code \u5747\u4ee5\u65b0\u7248\u4e3a\u51c6\u3002<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u672c\u6b21\u5347\u7ea7\u4e00\u89c8<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5148\u7528\u4e00\u5f20\u8868\u770b\u5168\u8c8c\uff08\ud83d\udd34 = \u5bf9\u65e7\u7248\u7528\u6237\u5c5e\u4e8e<strong>\u7834\u574f\u6027\u53d8\u66f4<\/strong>\uff0c\u9700\u8981\u6539\u4ee3\u7801\uff09\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u7ef4\u5ea6<\/th><th>\u65e7\u7248 v1<\/th><th>\u65b0\u7248<\/th><th><\/th><\/tr><\/thead><tbody><tr><td>REST \u57fa\u7840\u5730\u5740<\/td><td><code>https:\/\/api.anysport.io\/v1<\/code><\/td><td><code>https:\/\/data.anysport.io\/v1\/soccer<\/code><\/td><td>\ud83d\udd34<\/td><\/tr><tr><td>\u8ba4\u8bc1\u65b9\u5f0f<\/td><td><code>X-API-Key<\/code> \u8bf7\u6c42\u5934 <strong>\u6216<\/strong> <code>?api_key=<\/code> \u67e5\u8be2\u53c2\u6570<\/td><td><strong>\u4ec5<\/strong> <code>apikey<\/code> \u8bf7\u6c42\u5934(\u5c0f\u5199\u3001\u65e0 <code>X-<\/code>),\u4e0d\u652f\u6301\u67e5\u8be2\u53c2\u6570<\/td><td>\ud83d\udd34<\/td><\/tr><tr><td>\u5b9e\u4f53 ID<\/td><td>\u7eaf\u6574\u6570(<code>match_id: 1234567<\/code>\u3001<code>league_id: 148<\/code>)<\/td><td>\u8bed\u4e49\u5316\u524d\u7f00\u5b57\u7b26\u4e32(<code>as_<\/code> \/ <code>asl_<\/code> \/ <code>ast_<\/code> \u2026)<\/td><td>\ud83d\udd34<\/td><\/tr><tr><td>\u8d54\u7387\u6570\u636e\u6a21\u578b<\/td><td>\u4eba\u8bfb\u5e02\u573a\u540d <code>market_name<\/code>(&#8220;1X2&#8221;)\uff0c\u65e0\u5b8c\u6574\u76ee\u5f55<\/td><td>\u6807\u51c6\u5316 <code>market_code<\/code> \u5b57\u5178(<code>match_winner<\/code>)<\/td><td>\ud83d\udd34<\/td><\/tr><tr><td>\u8d5b\u524d\u8d54\u7387\u76d8\u53e3<\/td><td>\u5c11\u91cf\u5e38\u89c1\u5e02\u573a<\/td><td><strong>63 \u79cd<\/strong> <code>market_code<\/code> \u5b8c\u6574\u76ee\u5f55<\/td><td>\u2b06\ufe0f<\/td><\/tr><tr><td>\u6eda\u7403\u8d54\u7387\u76d8\u53e3<\/td><td>\u4e00\u6279\u5e38\u89c1\u5e02\u573a\uff0c\u65e0\u7edf\u4e00 code \u5b57\u5178<\/td><td><strong>499 \u4e2a<\/strong> <code>market_code<\/code> \u5b8c\u6574\u5b57\u5178<\/td><td>\u2b06\ufe0f<\/td><\/tr><tr><td>WebSocket \u6570\u636e<\/td><td><strong>\u5355\u4e00<\/strong> <code>livescore_update<\/code> \u6bd4\u5206\u6d41<\/td><td><strong>\u56db\u6761\u6d41<\/strong>:\u6bd4\u5206 \/ \u8d5b\u51b5 \/ \u8d5b\u524d\u8d54\u7387 \/ \u6eda\u7403\u8d54\u7387<\/td><td>\u2b06\ufe0f\ud83d\udd34<\/td><\/tr><tr><td>WebSocket \u534f\u8bae<\/td><td>URL \u6302 <code>league_id<\/code>\/<code>match_id<\/code> \u8fc7\u6ee4<\/td><td>\u53d1\u9001\u8ba2\u9605 <code>code<\/code> + \u5fc3\u8df3\u7684\u8ba2\u9605\u534f\u8bae<\/td><td>\ud83d\udd34<\/td><\/tr><tr><td>\u54cd\u5e94\u4fe1\u5c01<\/td><td><code>success<\/code> \/ <code>data<\/code> \/ <code>meta<\/code><\/td><td><code>success<\/code> \/ <code>data<\/code> \/ <code>meta<\/code> \/ <strong><code>traceId<\/code><\/strong><\/td><td>\u2b06\ufe0f<\/td><\/tr><tr><td>\u65b0\u589e\u7aef\u70b9<\/td><td>\u2014<\/td><td>\u8d5b\u5b63\u3001\u6559\u7ec3\u3001\u4f24\u505c\u3001\u5355\u573a\u8be6\u60c5\u3001\u5b9e\u65f6\u8d5b\u51b5\u3001\u6bd4\u8d5b\u4e8b\u4ef6\u3001\u8fd1\u671f\u8d5b\u7a0b\u7a97\u53e3<\/td><td>\u2b06\ufe0f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u8f6e\u66f4\u65b0\u7684\u4e24\u6761\u4e3b\u7ebf\uff1a<strong>\u6570\u636e\u7684\u5e7f\u5ea6<\/strong>\u548c <strong>WebSocket \u7684\u5b9e\u65f6\u80fd\u529b<\/strong>\u3002\u4e0b\u9762\u5206\u5f00\u8bb2\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u5347\u7ea7\u4e00\uff1a\u66f4\u5927\u3001\u66f4\u89c4\u6574\u7684\u6570\u636e\u8986\u76d6<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">2.1 \u8d54\u7387\uff1a\u6807\u51c6\u5316 <code>market_code<\/code> \u5b57\u5178<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u7248\u7684\u8d54\u7387\u5e02\u573a\u7528\u4e00\u4e2a\u4eba\u8bfb\u5b57\u7b26\u4e32 <code>market_name<\/code> \u8868\u793a\uff0c\u6ca1\u6709\u6743\u5a01\u76ee\u5f55\uff0c\u4f60\u5f97\u9760\u5b57\u7b26\u4e32\u5339\u914d\u53bb\u731c\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>\/\/ \u65e7\u7248 v1:GET https:\/\/api.anysport.io\/v1\/odds?match_id=1234567\n{\n  \"data\": [{\n    \"match_id\": 1234567,\n    \"bookmakers\": [{\n      \"bookmaker_name\": \"bet365\",\n      \"markets\": [\n        { \"market_name\": \"1X2\", \"odds\": &#91; {\"value\":\"Home\",\"odd\":1.38}, ... &#93; },\n        { \"market_name\": \"Over\/Under\", \"odds\": &#91; {\"value\":\"Over\",\"odd\":2.0,\"handicap\":\"2.5\"}, ... &#93; }\n      ]\n    }]\n  }]\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #545454; font-style: italic\">\/\/ \u65e7\u7248 v1:GET https:\/\/api.anysport.io\/v1\/odds?match_id=1234567<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">data<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: [<\/span><span style=\"color: #89DDFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">    <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">match_id<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #F78C6C\">1234567<\/span><span style=\"color: #89DDFF\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">    <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">bookmakers<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> [<\/span><span style=\"color: #89DDFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">      <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">bookmaker_name<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">bet365<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">      <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">markets<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> [<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">        <\/span><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">market_name<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">1X2<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">odds<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> &#91; <\/span><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">value<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">Home<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">odd<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F78C6C\">1.38<\/span><span style=\"color: #89DDFF\">},<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">...<\/span><span style=\"color: #F07178\"> &#93; <\/span><span style=\"color: #89DDFF\">},<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">        <\/span><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">market_name<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">Over\/Under<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">odds<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> &#91; <\/span><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">value<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">Over<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">odd<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F78C6C\">2.0<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">handicap<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">2.5<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">},<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">...<\/span><span style=\"color: #F07178\"> &#93; <\/span><span style=\"color: #89DDFF\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">      ]<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">    <\/span><span style=\"color: #89DDFF\">}<\/span><span style=\"color: #F07178\">]<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">}<\/span><span style=\"color: #F07178\">]<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u65b0\u7248\u628a\u76d8\u53e3\u5f7b\u5e95<strong>\u6807\u51c6\u5316\u6210\u4e00\u5957 <code>market_code<\/code> \u679a\u4e3e\u5b57\u5178<\/strong>\uff0c\u5e76\u7ed9\u51fa\u5b8c\u6574\u76ee\u5f55\uff0c\u53ef\u679a\u4e3e\u3001\u53ef\u5bf9\u7167\u3001\u53ef\u505a\u6620\u5c04\u8868\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u8d5b\u524d\u8d54\u7387 <code>GET \/odds\/prematch<\/code>\uff1a63 \u79cd <code>market_code<\/code><\/strong> \u4ece <code>match_winner<\/code>(\u5168\u573a\u80dc\u5e73\u8d1f)\u3001<code>asian_handicap<\/code>(\u4e9a\u76d8)\u3001<code>goals_over_under<\/code>(\u5927\u5c0f\u7403),\u5230 <code>double_chance<\/code>\u3001<code>ht_ft_double<\/code>\u3001<code>odd_even<\/code> \u7b49\u7b49\uff0c\u5e38\u89c4\u8d5b\u524d\u5206\u6790\u9875\u8981\u7528\u7684\u76d8\u53e3\u57fa\u672c\u94fa\u9f50\u3002<\/li>\n\n\n\n<li><strong>\u6eda\u7403\u8d54\u7387 <code>GET \/odds\/live<\/code>:499 \u4e2a <code>market_code<\/code> \u5b8c\u6574\u5b57\u5178<\/strong>\uff0c\u6b27\u5f0f\u4e09\u5411\u8ba9\u7403\u3001\u4e9a\u76d8(\u542b\u4e0a\/\u4e0b\u534a\u573a)\u3001\u5927\u5c0f\u7403\u3001\u5168\u573a\/\u534a\u573a\u89d2\u7403\u3001\u4e0b\u4e00\u4e2a\u8fdb\u7403\u3001\u5269\u4f59\u65f6\u95f4\u76d8\u7b49\u7b49,\u5355\u573a\u8fdb\u884c\u4e2d\u901a\u5e38\u6709\u6570\u5341\u4e2a\u6d3b\u8dc3\u76d8\u53e3\u540c\u65f6\u8df3\u52a8\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bf9\u65e7\u7248\u7528\u6237\u6765\u8bf4\uff0c\u8fd9\u610f\u5473\u7740\u4f60\u539f\u6765\u90a3\u5957\u6309 <code>market_name<\/code> \u5b57\u7b26\u4e32\u5339\u914d\u7684\u89e3\u6790\u903b\u8f91\u8981\u6539\u6210\u6309 <code>market_code<\/code> \u8def\u7531(\u89c1\u7b2c\u56db\u8282\u8fc1\u79fb)\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u26a0\ufe0f <strong><code>market_code<\/code> \u662f\u5f00\u653e\u679a\u4e3e,\u8fd8\u4f1a\u7ee7\u7eed\u6269\u5145\u3002<\/strong> \u6211\u4eec\u540e\u7eed\u4f1a\u6301\u7eed\u52a0\u5165\u65b0\u73a9\u6cd5\uff0c\u5ba2\u6237\u7aef\u8bf7\u5bf9\u672a\u77e5 <code>market_code<\/code> \u505a<strong>\u964d\u7ea7\u5904\u7406\u800c\u4e0d\u662f\u629b\u9519<\/strong>\uff0c\u9047\u5230\u4e0d\u8ba4\u8bc6\u7684 code \u8df3\u8fc7\u6216\u539f\u6837\u900f\u4f20\u5373\u53ef\uff0c\u8fd9\u6837\u89e3\u6790\u5c42\u4e0d\u4f1a\u56e0\u4e3a\u6211\u4eec\u4e0a\u65b0\u76d8\u53e3\u800c\u5d29\u6389\u3002<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u51e0\u4e2a\u8d54\u7387\u8001\u5751\u8fd9\u6b21\u4ecd\u7136\u6210\u7acb\uff0c\u4e00\u5e76\u63d0\u9192\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u26a0\ufe0f <strong>\u8d5b\u524d\u548c\u6eda\u7403\u662f\u4e24\u6761\u72ec\u7acb\u6570\u636e\u6d41,\u9009\u9879\u6807\u7b7e\u4f53\u7cfb\u4e0d\u4e00\u6837\u3002<\/strong> \u540c\u6837\u662f\u4e3b\u80dc\/\u5e73\/\u5ba2\u80dc,<strong>\u8d5b\u524d\u7528 <code>Home<\/code>\/<code>Draw<\/code>\/<code>Away<\/code>,\u6eda\u7403\u7528 <code>1<\/code>\/<code>X<\/code>\/<code>2<\/code><\/strong>\uff0c\u60f3\u7528\u4e00\u5957\u4ee3\u7801\u540c\u65f6\u89e3\u6790\u4e24\u6761\u6d41\uff0c\u5fc5\u987b\u5148\u505a\u6620\u5c04\u3002\u8ba9\u5206\u503c <code>handicap<\/code> \u7684\u4f4d\u7f6e\u4e5f\u4e0d\u540c(\u8d5b\u524d\u5d4c\u5728 option \u540d\u91cc\uff0c\u6eda\u7403\u5728 <code>markets[].handicap<\/code> \u72ec\u7acb\u5b57\u6bb5)\uff0c\u7ec8\u573a\u540e\u6eda\u7403 <code>markets<\/code> \u53ef\u80fd\u6536\u7f29\u6210\u7a7a\u6570\u7ec4 <code>[]<\/code>\u3002<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">2.2 \u65b0\u589e\u4e86\u4e00\u6279\u7aef\u70b9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u9664\u4e86\u8d54\u7387,\u8fd9\u4e00\u7248\u8fd8\u8865\u9f50\u4e86\u4e0d\u5c11\u6570\u636e\u7aef\u70b9\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u8d5b\u5b63\u5217\u8868<\/strong><\/li>\n\n\n\n<li><strong>\u6559\u7ec3\u5217\u8868<\/strong><\/li>\n\n\n\n<li><strong>\u4f24\u505c\u540d\u5355<\/strong><\/li>\n\n\n\n<li><strong>\u5355\u573a\u8be6\u60c5<\/strong><\/li>\n\n\n\n<li><strong>\u5b9e\u65f6\u8d5b\u51b5<\/strong><\/li>\n\n\n\n<li><strong>\u8fd1\u671f\u8d5b\u7a0b\u7a97\u53e3<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u914d\u5408\u539f\u6709\u7684\u8d5b\u7a0b\u3001\u6bd4\u5206\u3001\u9635\u5bb9\u3001\u79ef\u5206\u699c\u3001\u5c04\u624b\u699c\u3001\u4ea4\u950b\u5386\u53f2\uff0c\u4e00\u6761\u5b8c\u6574\u7684\u8db3\u7403\u6570\u636e\u94fe\u8def\u57fa\u672c\u9f50\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u5347\u7ea7\u4e8c\uff1aWebSocket \u6269\u5927\u81f3\u56db\u6761\u53ef\u8ba2\u9605\u6570\u636e\u6d41<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u662f\u672c\u6b21\u5347\u7ea7\u91cc\u6211\u4eec\u81ea\u5df1\u6700\u5174\u594b\u7684\u90e8\u5206\uff0c\u53d8\u5316\u4e5f\u6700\u5927\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u65e7\u7248\u7684 WebSocket \u53ea\u6709\u4e00\u6761\u6570\u636e\u6d41\u3002<\/strong> \u4f60\u8fde\u4e0a <code>wss:\/\/api.anysport.io\/v1\/ws\/live?api_key=KEY&amp;league_id=148<\/code>\uff0c\u670d\u52a1\u7aef\u5c31\u4e0d\u65ad\u63a8 <code>livescore_update<\/code>\u3002\u5b83\u80fd\u505a\u6bd4\u5206\u724c\uff0c\u4f46<strong>\u62ff\u4e0d\u5230\u8d54\u7387<\/strong>\uff0c\u4e5f<strong>\u6ca1\u6709\u72ec\u7acb\u7684\u6280\u672f\u7edf\u8ba1\u6d41<\/strong>\uff0c\u8fc7\u6ee4\u53ea\u80fd\u9760 URL \u4e0a\u7684 <code>league_id<\/code>\/<code>match_id<\/code> \u53c2\u6570:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>\/\/ \u65e7\u7248 v1:\u53ea\u6709\u8fd9\u4e00\u79cd\u63a8\u9001\n{ \"type\": \"livescore_update\", \"data\": &#91; { \"match_id\": 1234567, \"score\": \"2-1\", \"minute\": 67, ... } &#93; }<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #545454; font-style: italic\">\/\/ \u65e7\u7248 v1:\u53ea\u6709\u8fd9\u4e00\u79cd\u63a8\u9001<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">type<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">livescore_update<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">data<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: &#91; <\/span><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">match_id<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #F78C6C\">1234567<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">score<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">2-1<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">minute<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #F78C6C\">67<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">...<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">}<\/span><span style=\"color: #F07178\"> &#93; <\/span><span style=\"color: #89DDFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u65b0\u7248\u628a\u5b83\u62c6\u5f00\u5e76\u5927\u5e45\u6269\u5c55\u3002<\/strong> \u4e00\u6761\u957f\u8fde\u63a5\u4e0a\uff0c\u53ef\u4ee5\u6309\u9700\u8ba2\u9605\u4e0b\u9762 <strong>4 \u79cd\u6570\u636e\u4ea7\u54c1\u7684\u4efb\u610f\u7ec4\u5408<\/strong>\uff0c\u5404\u81ea\u72ec\u7acb\u7684\u8ba2\u9605 <code>code<\/code>\u3001\u63a8\u9001 <code>type<\/code>,\u4e92\u4e0d\u5f71\u54cd\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u6570\u636e\u4ea7\u54c1<\/th><th>\u8ba2\u9605 code<\/th><th>\u8ba2\u9605\u6210\u529f<\/th><th>\u53d6\u6d88 code<\/th><th>\u63a8\u9001 <code>type<\/code><\/th><\/tr><\/thead><tbody><tr><td>\u6bd4\u5206<\/td><td><code>20200<\/code><\/td><td><code>20201<\/code><\/td><td><code>21200<\/code><\/td><td><code>score_update<\/code><\/td><\/tr><tr><td>\u8d5b\u51b5(\u4e8b\u4ef6\u6d41 + \u6280\u672f\u7edf\u8ba1)<\/td><td><code>20000<\/code><\/td><td><code>20001<\/code><\/td><td><code>21000<\/code><\/td><td><code>situation_update<\/code><\/td><\/tr><tr><td>\u6eda\u7403\u8d54\u7387<\/td><td><code>20100<\/code><\/td><td><code>20101<\/code><\/td><td><code>21100<\/code><\/td><td><code>odds_live_update<\/code><\/td><\/tr><tr><td>\u8d5b\u524d\u8d54\u7387<\/td><td><code>20300<\/code><\/td><td><code>20301<\/code><\/td><td><code>21300<\/code><\/td><td><code>odds_prematch_update<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e24\u4e2a\u6700\u5b9e\u5728\u7684\u53d8\u5316\uff1a<strong>\u8d54\u7387\u6570\u636e\u7b2c\u4e00\u6b21\u80fd\u8d70 WebSocket \u63a8\u9001<\/strong>\uff08\u8d5b\u524d + \u6eda\u7403\uff09\uff0c\u4ee5\u53ca<strong>\u8d5b\u51b5\u72ec\u7acb\u6210\u4e00\u6761\u4fe1\u606f\u91cf\u6700\u5927\u7684\u6d41<\/strong>\uff08\u8fdb\u7403\u3001\u7ea2\u9ec4\u724c\u3001\u6362\u4eba\u7b49\u5b8c\u6574\u4e8b\u4ef6 + <code>stats_json<\/code> \u6280\u672f\u7edf\u8ba1 + <code>ball_xy<\/code> \u7403\u5750\u6807\uff09\u3002\u4e00\u4e2a\u6eda\u7403\u6295\u6ce8\u9875\u9762\u8fc7\u53bb\u8981 &#8220;WS \u62ff\u6bd4\u5206 + \u8f6e\u8be2\u62ff\u8d54\u7387 + \u8f6e\u8be2\u62ff\u4e8b\u4ef6&#8221; \u4e09\u5957\u903b\u8f91\u62fc\u8d77\u6765\uff0c\u73b0\u5728<strong>\u4e00\u6761\u8fde\u63a5\u3001\u4e00\u4e2a <code>match_id<\/code> \u5168\u641e\u5b9a<\/strong>\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3.1 \u5efa\u7acb\u8fde\u63a5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u65b0\u7248WS\u5730\u5740(\u6ce8\u610f\u57df\u540d\u662f <code>data.<\/code> \u4e0d\u662f\u65e7\u7248\u7684 <code>api.<\/code>):<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>wss:\/\/data.anysport.io\/v1\/ws\/live?api_key=YOUR_API_KEY<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">wss<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #545454; font-style: italic\">\/\/data.anysport.io\/v1\/ws\/live?api_key=YOUR_API_KEY<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u63e1\u624b\u6210\u529f\u4f1a\u6536\u5230\u4e00\u6761 <code>connected<\/code>\uff0c\u6b64\u65f6<strong>\u8fd8\u4e0d\u4f1a\u63a8\u6570\u636e<\/strong>\uff0c\u8981\u53d1\u8ba2\u9605\u6d88\u606f\u4e4b\u540e\u624d\u5f00\u59cb\u63a8\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{ \"type\": \"connected\", \"message\": \"WebSocket connected. Send subscribe message to receive data.\", \"timestamp\": \"2026-07-13T08:00:00.000Z\" }<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">type<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">connected<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">message<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">WebSocket connected. Send subscribe message to receive data.<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">timestamp<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">2026-07-13T08:00:00.000Z<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3.2 \u8ba2\u9605\u6bd4\u5206(<code>20200<\/code>)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fc7\u6ee4\u6761\u4ef6\uff08<code>match_id<\/code>\/<code>league_id<\/code>\/<code>country_id<\/code>\uff09\u653e\u5728<strong>\u8ba2\u9605\u6d88\u606f\u7684 <code>data<\/code> \u91cc<\/strong>\uff0c\u4e0d\u518d\u6302 URL\u3002<code>match_id<\/code> \u4f20 <code>null<\/code> \u8868\u793a\u6309\u5957\u9910\/\u8fc7\u6ee4\u8ba2\u9605\u5168\u91cf\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{ \"code\": 20200, \"trace\": \"score-sub-001\", \"data\": { \"match_id\": null } }<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">code<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #F78C6C\">20200<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">trace<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">score-sub-001<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">data<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">match_id<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">null<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">}<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u63a8\u9001\uff08<code>score_update<\/code>\uff0c\u6bd4\u5206\u53e3\u5f84\u4e0e REST <code>\/livescore<\/code> \u5b8c\u5168\u4e00\u81f4\uff09\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{\n  \"type\": \"score_update\",\n  \"data\": {\n    \"type\": \"score\", \"match_id\": \"as_3b37c382...\", \"home_team\": \"Argentina\", \"away_team\": \"Switzerland\",\n    \"phase\": \"2H\", \"minute\": 67, \"home_score\": 2, \"away_score\": 1, \"ht_score\": \"1-0\", \"reg_score\": \"2-1\"\n  },\n  \"timestamp\": \"2026-07-13T15:47:01.250Z\"\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #89DDFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">type<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">score_update<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">data<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">    <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">type<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">score<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">match_id<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">as_3b37c382...<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">home_team<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">Argentina<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">away_team<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">Switzerland<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">    <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">phase<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">2H<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">minute<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #F78C6C\">67<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">home_score<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #F78C6C\">2<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">away_score<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #F78C6C\">1<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">ht_score<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">1-0<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">reg_score<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">2-1<\/span><span style=\"color: #89DDFF\">&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">},<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">timestamp<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">2026-07-13T15:47:01.250Z<\/span><span style=\"color: #89DDFF\">&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3.3 \u8ba2\u9605\u5b9e\u65f6\u8d5b\u51b5(<code>20000<\/code>)<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{ \"code\": 20000, \"trace\": \"situation-sub-001\", \"data\": { \"match_id\": \"as_3b37c382...\" } }<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">code<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #F78C6C\">20000<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">trace<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">situation-sub-001<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">data<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">match_id<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">as_3b37c382...<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">}<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u63a8\u9001\uff08<code>situation_update<\/code>\uff0c\u542b\u4e8b\u4ef6\u6d41\u3001\u6280\u672f\u7edf\u8ba1\u4e0e\u7403\u5750\u6807\uff09\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{\n  \"type\": \"situation_update\",\n  \"data\": {\n    \"type\": \"situation\", \"match_id\": \"as_3b37c382...\", \"status\": \"live\", \"minute\": 67,\n    \"ball_xy\": \"0.52,0.48\", \"events_json\": {}, \"stats_json\": {}\n  },\n  \"timestamp\": \"2026-07-13T15:47:01.250Z\"\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #89DDFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">type<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">situation_update<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">data<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">    <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">type<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">situation<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">match_id<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">as_3b37c382...<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">status<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">live<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">minute<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #F78C6C\">67<\/span><span style=\"color: #89DDFF\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">    <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">ball_xy<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">0.52,0.48<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">events_json<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">{},<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">stats_json<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">{}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">},<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">timestamp<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">2026-07-13T15:47:01.250Z<\/span><span style=\"color: #89DDFF\">&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3.4 \u8ba2\u9605\u6eda\u7403\u8d54\u7387(<code>20100<\/code>)\/ \u8d5b\u524d\u8d54\u7387(<code>20300<\/code>)<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{ \"code\": 20100, \"trace\": \"live-odds-sub-001\", \"data\": { \"match_id\": \"as_3b37c382...\" } }<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">code<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #F78C6C\">20100<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">trace<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">live-odds-sub-001<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">data<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">{<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">match_id<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">as_3b37c382...<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">}<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u63a8\u9001 \uff08<code>odds_live_update<\/code>\uff09\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{\n  \"type\": \"odds_live_update\",\n  \"data\": {\n    \"type\": \"odds\", \"match_id\": \"as_3b37c382...\", \"phase\": \"live\", \"main_market\": \"1X2\",\n    \"home_odd\": \"2.10\", \"draw_odd\": \"3.40\", \"away_odd\": \"3.20\", \"markets_json\": {}\n  },\n  \"timestamp\": \"2026-07-13T15:47:01.250Z\"\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #89DDFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">type<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">odds_live_update<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">data<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">    <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">type<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">odds<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">match_id<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">as_3b37c382...<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">phase<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">live<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">main_market<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">1X2<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">    <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">home_odd<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">2.10<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">draw_odd<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">3.40<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">away_odd<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">3.20<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">markets_json<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #F07178\"> <\/span><span style=\"color: #89DDFF\">{}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">},<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F07178\">  <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">timestamp<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #F07178\">: <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">2026-07-13T15:47:01.250Z<\/span><span style=\"color: #89DDFF\">&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8d5b\u524d\u8d54\u7387\u8ba2\u9605\u6362\u6210 code <code>20300<\/code> \u5373\u53ef\uff0c\u63a8\u9001 <code>type<\/code> \u4e3a <code>odds_prematch_update<\/code>\uff0c<code>data<\/code> \u7ed3\u6784\u4e0e\u6eda\u7403\u8d54\u7387\u76f8\u540c\uff0c\u533a\u522b\u53ea\u5728 <code>data.phase<\/code> \u4e3a <code>prematch<\/code>\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u26a0\ufe0f <strong>\u8ba2\u9605\u72b6\u6001\u4e0d\u8de8\u8fde\u63a5\u4fdd\u7559\u3002<\/strong> \u65ad\u7ebf\u91cd\u8fde\u540e\u8981\u91cd\u65b0\u53d1\u4e00\u904d\u8ba2\u9605\u6d88\u606f\uff0c\u8bb0\u5f97\u6bcf 30 \u79d2\u53d1\u4e00\u6b21\u5fc3\u8df3(<code>code: 20010<\/code>)\uff0c\u5426\u5219\u4f1a\u56e0\u8d85\u65f6\u88ab\u65ad\u5f00\u3002<code>4xxxx<\/code> \u7cfb\u5217(\u5982\u8ba2\u9605\u5931\u8d25 <code>40301<\/code>)\u662f\u53ef\u4fee\u6b63\u7684\u5ba2\u6237\u7aef\u9519\u8bef\uff0c<strong>\u4e0d\u4f1a\u65ad\u8fde<\/strong>\uff0c\u68c0\u67e5\u6d88\u606f\u683c\u5f0f\/\u5b57\u6bb5\/\u5957\u9910\u6743\u9650\u540e\u91cd\u8bd5\u5373\u53ef\u3002<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u65e7\u7248 v1 \u7528\u6237\u8fc1\u79fb\u6e05\u5355(\u91cd\u8981)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e00\u7248\u6709\u7834\u574f\u6027\u53d8\u66f4\uff0c\u65e7\u7248\u96c6\u6210\u9700\u8981\u6309\u4e0b\u9762\u51e0\u6b65\u5347\u7ea7\u3002\u6838\u5fc3\u5c31\u4e09\u5904\uff1a<strong>\u5730\u5740\u3001\u8ba4\u8bc1\u3001ID<\/strong>\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4.1 \u8ba4\u8bc1\u4e0e\u5730\u5740(\u5fc5\u6539)<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#212121\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>- # \u65e7\u7248 v1\n- GET https:\/\/api.anysport.io\/v1\/odds?match_id=1234567\n- X-API-Key: YOUR_API_KEY                       # \u6216 ?api_key=YOUR_API_KEY\n\n+ # \u65b0\u7248\n+ GET https:\/\/data.anysport.io\/v1\/soccer\/odds\/prematch?match_id=as_3b37c382...\n+ apikey: YOUR_API_KEY                           # \u53ea\u8ba4\u8fd9\u4e2a\u5934,\u67e5\u8be2\u53c2\u6570\u4f20 key \u4e00\u5f8b 401<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-darker\" style=\"background-color: #212121\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #EEFFFF\"> # \u65e7\u7248 v1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #EEFFFF\"> GET <\/span><span style=\"color: #FFCB6B\">https<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #545454; font-style: italic\">\/\/api.anysport.io\/v1\/odds?match_id=1234567<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #EEFFFF\"> X<\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #EEFFFF\">API<\/span><span style=\"color: #89DDFF\">-<\/span><span style=\"color: #FFCB6B\">Key<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #EEFFFF\"> YOUR_API_KEY                       # \u6216 <\/span><span style=\"color: #89DDFF\">?<\/span><span style=\"color: #EEFFFF\">api_key<\/span><span style=\"color: #89DDFF\">=<\/span><span style=\"color: #EEFFFF\">YOUR_API_KEY<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">+<\/span><span style=\"color: #EEFFFF\"> # \u65b0\u7248<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">+<\/span><span style=\"color: #EEFFFF\"> GET https<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #545454; font-style: italic\">\/\/data.anysport.io\/v1\/soccer\/odds\/prematch?match_id=as_3b37c382...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">+<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #FFCB6B\">apikey<\/span><span style=\"color: #89DDFF\">:<\/span><span style=\"color: #EEFFFF\"> YOUR_API_KEY                           # \u53ea\u8ba4\u8fd9\u4e2a\u5934<\/span><span style=\"color: #89DDFF\">,<\/span><span style=\"color: #EEFFFF\">\u67e5\u8be2\u53c2\u6570\u4f20 key \u4e00\u5f8b <\/span><span style=\"color: #F78C6C\">401<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u57fa\u7840\u5730\u5740<\/strong>\uff1a<code>api.anysport.io\/v1<\/code> \u2192 <code>data.anysport.io\/v1\/soccer<\/code> (\u6ce8\u610f\u591a\u4e86 <code>\/soccer<\/code> \u6bb5)\u3002<\/li>\n\n\n\n<li><strong>\u8ba4\u8bc1\u5934<\/strong>\uff1a<code>X-API-Key<\/code>(\u6216 <code>?api_key=<\/code>)\u2192 <strong>\u53ea\u8ba4 <code>apikey<\/code> \u8fd9\u4e2a\u5c0f\u5199\u5934<\/strong>\u3002\u4ecd\u7528 <code>X-API-Key<\/code> \u6216\u628a key \u62fc\u5728 URL \u4e0a \uff0c\u90fd\u4f1a\u8fd4\u56de <code>401 UNAUTHORIZED<\/code>\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4.2 ID \u4ece\u6574\u6570\u6362\u6210\u524d\u7f00\u5b57\u7b26\u4e32(\u5fc5\u6539)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u7248\u7684 <code>match_id<\/code>\/<code>league_id<\/code>\/<code>team_id<\/code> \u662f\u7eaf\u6574\u6570\uff0c\u65b0\u7248\u5168\u90e8\u6539\u4e3a<strong>\u8bed\u4e49\u5316\u524d\u7f00\u5b57\u7b26\u4e32<\/strong>\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u524d\u7f00<\/th><th>\u5b9e\u4f53<\/th><th>\u793a\u4f8b<\/th><\/tr><\/thead><tbody><tr><td><code>as_<\/code><\/td><td>\u6bd4\u8d5b(<strong>\u5168\u63a5\u53e3\u7edf\u4e00<\/strong>)<\/td><td><code>as_3b37c382f39a4235aa93705f053b2da4<\/code><\/td><\/tr><tr><td><code>asl_<\/code><\/td><td>\u8054\u8d5b<\/td><td><code>asl_62db9cfc3ebf4b87a44570b16668b23e<\/code><\/td><\/tr><tr><td><code>ast_<\/code><\/td><td>\u7403\u961f<\/td><td><code>ast_9137ee449e3b40a68149ca319373adaf<\/code><\/td><\/tr><tr><td><code>asx_<\/code> <code>asp_<\/code> <code>asc_<\/code><\/td><td>\u56fd\u5bb6 \/ \u7403\u5458 \/ \u6559\u7ec3<\/td><td>\u2014<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6570\u636e\u5e93\u91cc\u5b58 ID \u7684\u5b57\u6bb5\u7c7b\u578b\u3001\u4ee5\u53ca\u6240\u6709\u62fc URL \u7684\u5730\u65b9\uff0c\u90fd\u8981\u4ece\u6574\u6570\u6539\u6210\u5b57\u7b26\u4e32\u3002\u597d\u6d88\u606f\u662f<strong>\u540c\u4e00\u4e2a <code>match_id<\/code> \u8d2f\u7a7f\u8d5b\u7a0b\u3001\u6bd4\u5206\u3001\u8d5b\u51b5\u3001\u8d54\u7387\u4ee5\u53ca WebSocket,\u5b8c\u5168\u4e00\u81f4\uff0c\u4e0d\u9700\u8981\u7ef4\u62a4\u4efb\u4f55 ID \u6620\u5c04\u8868<\/strong>\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4.3 \u8d54\u7387\u89e3\u6790\u6539\u6309 <code>market_code<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u539f\u6765\u6309 <code>market_name<\/code> \uff08&#8221;1X2&#8243;\u3001&#8221;Over\/Under&#8221;\uff09\u5b57\u7b26\u4e32\u5339\u914d\u7684\u903b\u8f91\uff0c\u6539\u6210\u6309 <code>market_code<\/code>(<code>match_winner<\/code>\u3001<code>goals_over_under<\/code>) \u8def\u7531\uff0c\u5e76\u5bf9\u672a\u77e5 code \u505a\u964d\u7ea7\u3002\u5b8c\u6574\u76ee\u5f55\u89c1\u65b0\u7248\u6587\u6863\u7684\u8d5b\u524d\/\u6eda\u7403\u76d8\u53e3\u76ee\u5f55\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4.4 WebSocket \u6539\u7528\u8ba2\u9605\u534f\u8bae<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5730\u5740\u6362\u6210 <code>wss:\/\/data.anysport.io\/v1\/ws\/live<\/code><\/li>\n\n\n\n<li>\u8fc7\u6ee4\u6761\u4ef6\u4ece URL \u53c2\u6570,\u6539\u4e3a<strong>\u53d1\u9001\u8ba2\u9605\u6d88\u606f<\/strong>(<code>code<\/code> + <code>data<\/code>)<\/li>\n\n\n\n<li>\u60f3\u8981\u54ea\u51e0\u8def\u6570\u636e\u5c31\u8ba2\u54ea\u51e0\u4e2a code\uff0c\u5e76\u52a0\u4e0a 30 \u79d2\u5fc3\u8df3\u4e0e\u65ad\u7ebf\u91cd\u8ba2\u903b\u8f91<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u8fd9\u4e9b\u80fd\u529b\u5c5e\u4e8e\u54ea\u4e2a\u5957\u9910?<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u5957\u9910<\/th><th>\u4ef7\u683c(USDT\/\u6708)<\/th><th>\u8d54\u7387<\/th><th>WebSocket<\/th><\/tr><\/thead><tbody><tr><td>\u514d\u8d39\u8bd5\u7528(7 \u5929)<\/td><td>0<\/td><td>\u274c<\/td><td>\u274c<\/td><\/tr><tr><td>\u57fa\u7840<\/td><td>99<\/td><td>\u274c<\/td><td>\u274c<\/td><\/tr><tr><td>\u4e13\u4e1a<\/td><td>199<\/td><td>\u2705 \u8d5b\u524d\u8d54\u7387<\/td><td>\u274c<\/td><\/tr><tr><td><strong>\u9ad8\u7ea7<\/strong><\/td><td>399<\/td><td>\u2705 \u8d5b\u524d + \u6eda\u7403<\/td><td>\u2705(\u542b\u5168\u90e8\u56db\u6761\u6570\u636e\u6d41)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u603b\u7ed3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6b21\u5347\u7ea7\u628a AnySport \u7684\u4e24\u5757\u6838\u5fc3\u80fd\u529b\u9876\u4e86\u4e0a\u53bb\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u6570\u636e\u5e7f\u5ea6<\/strong>\uff1a\u8d54\u7387\u6807\u51c6\u5316\u4e3a <code>market_code<\/code> \u5b57\u5178,\u8d5b\u524d 63 \u79cd + \u6eda\u7403 499 \u4e2a\uff0c\u53e6\u52a0\u8d5b\u5b63\/\u6559\u7ec3\/\u4f24\u505c\/\u8d5b\u51b5\/\u4e8b\u4ef6\u7b49\u4e00\u6279\u65b0\u7aef\u70b9<\/li>\n\n\n\n<li><strong>\u5b9e\u65f6\u5168\u91cf<\/strong>\uff1aWebSocket \u4ece\u65e7\u7248\u5355\u4e00\u6bd4\u5206\u6d41\uff0c\u6269\u5c55\u4e3a\u6bd4\u5206 \/ \u8d5b\u51b5 \/ \u8d5b\u524d\u8d54\u7387 \/ \u6eda\u7403\u8d54\u7387\u56db\u6761\u53ef\u72ec\u7acb\u8ba2\u9605\u7684\u6d41\uff0c\u8d54\u7387\u9996\u6b21\u4e0a WS\uff0c\u4e00\u6761\u8fde\u63a5\u3001\u4e00\u4e2a <code>match_id<\/code> \u5168\u6253\u901a<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udc49 \u73b0\u5728\u5c31\u5230 <a href=\"https:\/\/anysport.io\/cn\/\">anysport.io<\/a> \u6ce8\u518c\uff0c<strong>\u514d\u8d39\u8bd5\u7528 7 \u5929<\/strong>\uff0c\u5148\u628a\u6bd4\u5206\u6d41\u8dd1\u901a\uff0c\u518d\u6309\u9700\u8981\u5347\u7ea7\u5230\u8d54\u7387\u4e0e WebSocket\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u6b21\u6211\u4eec\u5bf9 AnySport \u8db3\u7403\u6570\u636e API \u505a\u4e86\u4e00\u8f6e\u5927\u7248\u672c\u5347\u7ea7\uff0c\u5347\u7ea7\u540e\u6211\u4eec\u80fd\u63d0\u4f9b\u7684\u6570\u636e\u66f4\u591a\uff0c\u5b9e\u65f6\u63a8\u9001\u7684\u6570\u636e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":444,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-429","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guide"],"_links":{"self":[{"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/posts\/429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/comments?post=429"}],"version-history":[{"count":6,"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/posts\/429\/revisions"}],"predecessor-version":[{"id":443,"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/posts\/429\/revisions\/443"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/media\/444"}],"wp:attachment":[{"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/media?parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/categories?post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anysport.io\/cn\/wp-json\/wp\/v2\/tags?post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}