[{"data":1,"prerenderedAt":382},["ShallowReactive",2],{"content-page:\u002Fen\u002Fdocs\u002Fwebsocket":3},{"page":4,"isFallback":381},{"id":5,"title":6,"body":7,"description":368,"extension":369,"layout":370,"locale":371,"meta":372,"navigation":373,"path":374,"seo":375,"source":376,"stem":377,"updated":378,"version":379,"__hash__":380},"pages\u002Fen\u002Fdocs\u002Fwebsocket.md","Wolfx WebSocket API Call Instructions",{"type":8,"value":9,"toc":359},"minimark",[10,15,25,29,34,45,50,56,61,67,72,78,83,89,94,100,105,111,116,122,133,137,142,148,153,159,164,170,175,181,186,192,197,203,208,214,219,225,229,234,264,269,320,325,355],[11,12,14],"h2",{"id":13},"introduction-to-websocket","Introduction to WebSocket",[16,17,18,22],"ul",{},[19,20,21],"li",{},"The WebSocket API automatically pushes relevant information to all clients when the server receives an EEW",[19,23,24],{},"Heartbeat mechanism: The server sends a heartbeat packet every minute or after the connection is established to maintain the connection. The client can optionally reply with a ping packet (recommended).",[11,26,28],{"id":27},"websocket-call-urls","WebSocket Call URLs",[16,30,31],{},[19,32,33],{},"Receive all JSON API pushes:",[35,36,42],"pre",{"className":37,"code":39,"language":40,"meta":41},[38],"language-text","wss:\u002F\u002Fws-api.wolfx.jp\u002Fall_eew\n","text","",[43,44,39],"code",{"__ignoreMap":41},[16,46,47],{},[19,48,49],{},"Sichuan Earthquake Early Warning JSON API:",[35,51,54],{"className":52,"code":53,"language":40,"meta":41},[38],"wss:\u002F\u002Fws-api.wolfx.jp\u002Fsc_eew\n",[43,55,53],{"__ignoreMap":41},[16,57,58],{},[19,59,60],{},"JMA Earthquake Early Warning JSON API:",[35,62,65],{"className":63,"code":64,"language":40,"meta":41},[38],"wss:\u002F\u002Fws-api.wolfx.jp\u002Fjma_eew\n",[43,66,64],{"__ignoreMap":41},[16,68,69],{},[19,70,71],{},"Fujian Earthquake Early Warning JSON API:",[35,73,76],{"className":74,"code":75,"language":40,"meta":41},[38],"wss:\u002F\u002Fws-api.wolfx.jp\u002Ffj_eew\n",[43,77,75],{"__ignoreMap":41},[16,79,80],{},[19,81,82],{},"Chongqing Earthquake Early Warning JSON API:",[35,84,87],{"className":85,"code":86,"language":40,"meta":41},[38],"wss:\u002F\u002Fws-api.wolfx.jp\u002Fcq_eew\n",[43,88,86],{"__ignoreMap":41},[16,90,91],{},[19,92,93],{},"China Earthquake Networks Center Earthquake Early Warning JSON API:",[35,95,98],{"className":96,"code":97,"language":40,"meta":41},[38],"wss:\u002F\u002Fws-api.wolfx.jp\u002Fcenc_eew\n",[43,99,97],{"__ignoreMap":41},[16,101,102],{},[19,103,104],{},"China Earthquake Networks Center Earthquake Information JSON API:",[35,106,109],{"className":107,"code":108,"language":40,"meta":41},[38],"wss:\u002F\u002Fws-api.wolfx.jp\u002Fcenc_eqlist\n",[43,110,108],{"__ignoreMap":41},[16,112,113],{},[19,114,115],{},"JMA Earthquake Information JSON API:",[35,117,120],{"className":118,"code":119,"language":40,"meta":41},[38],"wss:\u002F\u002Fws-api.wolfx.jp\u002Fjma_eqlist\n",[43,121,119],{"__ignoreMap":41},[16,123,124],{},[19,125,126,127],{},"For detailed JSON field parsing, refer to: ",[128,129,130],"a",{"href":130,"rel":131},"https:\u002F\u002Fapi.wolfx.jp",[132],"nofollow",[11,134,136],{"id":135},"websocket-manual-query-commands","WebSocket Manual Query Commands",[16,138,139],{},[19,140,141],{},"Ping:",[35,143,146],{"className":144,"code":145,"language":40,"meta":41},[38],"ping\n",[43,147,145],{"__ignoreMap":41},[16,149,150],{},[19,151,152],{},"Sichuan Earthquake Early Warning JSON:",[35,154,157],{"className":155,"code":156,"language":40,"meta":41},[38],"query_sceew\n",[43,158,156],{"__ignoreMap":41},[16,160,161],{},[19,162,163],{},"JMA Earthquake Early Warning JSON:",[35,165,168],{"className":166,"code":167,"language":40,"meta":41},[38],"query_jmaeew\n",[43,169,167],{"__ignoreMap":41},[16,171,172],{},[19,173,174],{},"Fujian Earthquake Early Warning JSON:",[35,176,179],{"className":177,"code":178,"language":40,"meta":41},[38],"query_fjeew\n",[43,180,178],{"__ignoreMap":41},[16,182,183],{},[19,184,185],{},"Chongqing Earthquake Early Warning JSON:",[35,187,190],{"className":188,"code":189,"language":40,"meta":41},[38],"query_cqeew\n",[43,191,189],{"__ignoreMap":41},[16,193,194],{},[19,195,196],{},"China Earthquake Networks Center Earthquake Early Warning JSON:",[35,198,201],{"className":199,"code":200,"language":40,"meta":41},[38],"query_cenceew\n",[43,202,200],{"__ignoreMap":41},[16,204,205],{},[19,206,207],{},"China Earthquake Networks Center Earthquake Information JSON:",[35,209,212],{"className":210,"code":211,"language":40,"meta":41},[38],"query_cenceqlist\n",[43,213,211],{"__ignoreMap":41},[16,215,216],{},[19,217,218],{},"JMA Earthquake Information JSON:",[35,220,223],{"className":221,"code":222,"language":40,"meta":41},[38],"query_jmaeqlist\n",[43,224,222],{"__ignoreMap":41},[11,226,228],{"id":227},"websocket-json-data-specification","WebSocket JSON Data Specification",[16,230,231],{},[19,232,233],{},"Common JSON Field Description:",[235,236,237,250],"table",{},[238,239,240],"thead",{},[241,242,243,247],"tr",{},[244,245,246],"th",{},"Field",[244,248,249],{},"Description",[251,252,253],"tbody",{},[241,254,255,261],{},[256,257,258],"td",{},[43,259,260],{},"type",[256,262,263],{},"Data type \u002F data source (see API homepage for specific values) (String)",[16,265,266],{},[19,267,268],{},"WebSocket Heartbeat Packet - JSON Field Description:",[235,270,271,279],{},[238,272,273],{},[241,274,275,277],{},[244,276,246],{},[244,278,249],{},[251,280,281,290,300,310],{},[241,282,283,287],{},[256,284,285],{},[43,286,260],{},[256,288,289],{},"heartbeat (String)",[241,291,292,297],{},[256,293,294],{},[43,295,296],{},"ver",[256,298,299],{},"Server version number (Number)",[241,301,302,307],{},[256,303,304],{},[43,305,306],{},"id",[256,308,309],{},"Client connection UUID (String)",[241,311,312,317],{},[256,313,314],{},[43,315,316],{},"timestamp",[256,318,319],{},"Heartbeat sent timestamp in milliseconds (String)",[16,321,322],{},[19,323,324],{},"WebSocket Pong Packet - JSON Field Description:",[235,326,327,335],{},[238,328,329],{},[241,330,331,333],{},[244,332,246],{},[244,334,249],{},[251,336,337,346],{},[241,338,339,343],{},[256,340,341],{},[43,342,260],{},[256,344,345],{},"pong (String)",[241,347,348,352],{},[256,349,350],{},[43,351,316],{},[256,353,354],{},"Pong sent timestamp in milliseconds (String)",[11,356,358],{"id":357},"doc-version-v20260415","Doc version: v20260415",{"title":41,"searchDepth":360,"depth":360,"links":361},3,[362,364,365,366,367],{"id":13,"depth":363,"text":14},2,{"id":27,"depth":363,"text":28},{"id":135,"depth":363,"text":136},{"id":227,"depth":363,"text":228},{"id":357,"depth":363,"text":358},"Wolfx WebSocket endpoints, manual query commands, and JSON data specification.","md","docs","en",{},true,"\u002Fen\u002Fdocs\u002Fwebsocket",{"title":6,"description":368},"wsapi_en.html","en\u002Fdocs\u002Fwebsocket","2026-04-15","v20260415","9sEjpbH1t7geogF8bLNx8cpjF0cXUPHTPWg67kwIVbQ",false,1785858453808]