API Key & Notification Key的获取请通过Cube平台自助操作,详见说明文档
建议每日12:00(UTC 8)以后使用接口; 接口支持分页,每页默认返回100条数据; 查询条件支持page_no或sim_ids,但不可同时使用; sim_ids最大输入个数<=100个;
curl --location --request GET 'https://api.linksfield.net/cube/v4/sims/all?page_no&sim_ids' \ --header 'Accept-Language: zh-CN' \ --header 'Authorization;' \ --header 'X-LF-Api-Version;' \ --header 'X-LF-Signature-Type;' \ --header 'timestamp;' \ --header 'nonce;' \ --header 'Content-Type: application/json'
{ "data": { "pages": 443, "page_no": 19, "last_updated_at": 1787332229830, "list": [ { "sim_id": "89852202306300023442", "last_landing_carrier_MCC": "460", "last_landing_carrier_MNC": "20", "activated_at": 1677654516000, "lastest_session_started_at": 1685548799000, "imei": "860016040008240", "current_month_usage": "1073741824", "lifespan_usage": "1073741824", "sim_type": "Plastic SIM" } ] }, "status": { "code": "CB-00-0000", "message": "成功", "detail": "https://developer.linksfield.net/doc-1413557?nav=01GBM770ARR76AXBD5856Z6J6P" } }