Bulk Phone Details
收藏Bulk Phone Details API 数据集概述
基本信息
- 数据集名称: Bulk Phone Details
- 类别: Communication
- 提供商: George Zalokostas
- 订阅者数量: 1
- 提供商联系方式: gzalos6@gmail.com
API 概述
一个用于批量验证和格式化电话号码的API。发送一个或多个带有国家代码的电话号码,即可返回干净、一致的结果。适用于清理联系人列表、注册表单或管理用户数据。
定价计划
- BASIC: $0.00 / 月
- PRO: $3.99 / 月
- ULTRA: $9.99 / 月
- MEGA: $39.99 / 月
端点详情
1. 单电话号码端点
-
功能: 验证和格式化单个电话号码。
-
端点:
POST /api/v1/phones/single/ -
请求方法: POST
-
请求示例: json { "Phones": [ { "Phone": "2105358502", "Code": "GR", "CallingFrom": ["GB","IT","US","AL","AM"] } ] }
-
响应示例: json { "data": [ { "inputPhone": "2105358502", "validForRegion": true, "type": "FIXED_LINE", "countryCode": 30, "e164Format": "+302105358502", "rfc3966Format": "tel:+30-21-0535-8502", "nationalFormat": "21 0535 8502", "internationalFormat": "+30 21 0535 8502", "isNanpaCountry": false, "callingFrom": { "GB": "00 30 21 0535 8502", "IT": "00 30 21 0535 8502", "US": "011 30 21 0535 8502", "AL": "00 30 21 0535 8502", "AM": "00 30 21 0535 8502" } } ], "trackingId": "e3c64f5e-aa2a-454b-ad43-f43621546ef9" }
2. 批量电话号码验证端点
-
功能: 一次性验证和格式化多个电话号码(最多500个)。
-
端点:
POST /api/v1/phones/bulk/10/(最多10个号码)POST /api/v1/phones/bulk/30/(最多30个号码)POST /api/v1/phones/bulk/100/(最多100个号码)POST /api/v1/phones/bulk/500/(最多500个号码)
-
请求方法: POST
-
请求示例: json { "Phones": [ { "Phone": "2105358502", "Code": "GR", "CallingFrom": ["GB", "US", "AM", "ES", "BR"] }, { "Phone": "6908339802", "Code": "GR", "CallingFrom": ["GB", "US", "AM", "ES", "BR"] }, { "Phone": "6908339803", "Code": "GR" } ] }
-
响应示例: json { "data": [ { "inputPhone": "2105358502", "validForRegion": true, "type": "FIXED_LINE", "countryCode": 30, "e164Format": "+302105358502", "rfc3966Format": "tel:+30-21-0535-8502", "nationalFormat": "21 0535 8502", "internationalFormat": "+30 21 0535 8502", "isNanpaCountry": false, "callingFrom": { "GB": "00 30 21 0535 8502", "US": "011 30 21 0535 8502", "AM": "00 30 21 0535 8502", "ES": "00 30 21 0535 8502", "BR": "+30 21 0535 8502" } }, { "inputPhone": "6908339802", "validForRegion": true, "type": "MOBILE", "countryCode": 30, "e164Format": "+306908339802", "rfc3966Format": "tel:+30-690-833-9802", "nationalFormat": "690 833 9802", "internationalFormat": "+30 690 833 9802", "isNanpaCountry": false, "callingFrom": { "GB": "00 30 690 833 9802", "US": "011 30 690 833 9802", "AM": "00 30 690 833 9802", "ES": "00 30 690 833 9802", "BR": "+30 690 833 9802" } }, { "inputPhone": "6908339803", "validForRegion": true, "type": "MOBILE", "countryCode": 30, "e164Format": "+306908339803", "rfc3966Format": "tel:+30-690-833-9803", "nationalFormat": "690 833 9803", "internationalFormat": "+30 690 833 9803", "isNanpaCountry": false, "callingFrom": {} } ], "trackingId": "cd3ee5c7-2e11-4101-a347-f90e2e9cdb07" }
3. 通过代码获取国家端点
- 功能: 使用两字母国家代码搜索国家并获取详细信息(如国家名称)。
- 端点:
GET /api/v1/codes/get-country/{code}/ - 请求方法: GET
- 请求示例:
GET https://bulk-phone-details1.p.rapidapi.com/api/v1/codes/get-country/BR/ - 响应示例: json { "country": "Brazil", "trackingId": "f973dade-d2d8-40d6-8149-a8e4d95bfdfc" }
4. 搜索国家端点
- 功能: 按名称搜索国家,并获取国家代码、首都、大陆和本地名称等详细信息。
- 端点:
GET /api/v1/codes/search-countries/{name}/ - 请求方法: GET
- 请求示例:
GET https://bulk-phone-details1.p.rapidapi.com/api/v1/codes/search-countries/Saint/ - 响应示例: json { "countries": [ { "name": "Saint Barthelemy", "twoLetterName": "BL", "threeLetterName": "BLM", "nativeName": "Saint-Barthélemy", "capital": "Gustavia", "continent": "North America", "continentTwoLetterName": "NA" }, { "name": "Saint Helena, Ascension and Tristan da Cunha", "twoLetterName": "SH", "threeLetterName": "SHN", "nativeName": "Saint Helena", "capital": "Jamestown", "continent": "Africa", "continentTwoLetterName": "AF" } ], "trackingId": "0414f10f-5c6f-422a-901d-50044a14ccf0" }



