【2023】手机号码归属地查询接口

Published on

已开跨域。可前端直接调用

调用例子

fetch("https://pan.qq.cool/api/phoneInfo/?phone=15517088644", {
  "method": "GET"
}).then(res=>res.json()).then(res=>console.log(res))
<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://pan.qq.cool/api/phoneInfo/?phone=15517088644');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
$response = curl_exec($ch);

curl_close($ch);

gsd.png