{"openapi":"3.0.0","info":{"title":"ALAPI接口平台","description":"ALAPI接口平台，官方地址：www.alapi.cn,免费提供数百款接口供开发者使用","version":"3.0.0","contact":{"name":"ALAPI","url":"https:\/\/www.alapi.cn"}},"servers":[{"url":"https:\/\/v3.alapi.cn","description":"ALAPI 接口域名地址"}],"paths":{"\/api\/phonecheck":{"post":{"summary":"空号检测","description":"通过手机号码查询其在网活跃度，返回包括空号、实号、停机、库无、沉默号、风险号等状态","parameters":[],"responses":{"200":{"description":"成功响应","content":{"application\/json":{"schema":{"allOf":[{"$ref":"#\/components\/schemas\/BaseResponse"},{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/Response_82"}}}]},"example":[]}}},"400":{"description":"请求失败","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"apiKey":[]}],"externalDocs":{"url":"https:\/\/www.alapi.cn\/api\/46\/api_document","description":"空号检测官方接口文档"},"requestBody":{"description":"JSON 格式的请求参数","required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"mobiles":{"type":"string","description":"要检测的手机号，多个号码以英文逗号隔开，最大50个"}},"required":["mobiles"]}}}}}}},"components":{"schemas":{"BaseResponse":{"type":"object","properties":{"code":{"type":"integer","default":200},"request_id":{"type":"string"},"message":{"type":"string","default":"success"},"time":{"type":"integer"},"usage":{"type":"integer"}}},"ErrorResponse":{"type":"object","properties":{"code":{"type":"integer","default":400},"request_id":{"type":"string"},"message":{"type":"string","default":"error"},"data":{"type":"string","default":""},"time":{"type":"integer"},"usage":{"type":"integer"}}},"Response_82":{"type":"object","properties":{"area":{"type":"string","description":"手机号所属区域，省市"},"mobile":{"type":"string","description":"手机号"},"number_type":{"type":"string","description":"号码运营商"},"status":{"type":"string","description":"号码状态， 0:空号;1:实号;2:停机;3:库无;4:沉默号;5:风险;"},"status_name":{"type":"string","description":"状态说明"}}}},"securitySchemes":{"apiKey":{"type":"apiKey","name":"token","in":"header","description":"API 认证令牌"}}},"security":[{"apiKey":[]}]}