英國(guó)郵政編碼檢索

英國(guó)郵政編碼檢索

專用API
服務(wù)商 服務(wù)商: APITier
【更新時(shí)間: 2024.04.01】 UK POSTCODE API 是一種專門設(shè)計(jì)用于處理和檢索與英國(guó)郵政編碼相關(guān)的數(shù)據(jù)的應(yīng)用程序編程接口。
瀏覽次數(shù)
11
采購(gòu)人數(shù)
0
試用次數(shù)
0
! SLA: N/A
! 響應(yīng): N/A
! 適用于個(gè)人&企業(yè)
試用
收藏
×
完成
取消
×
書簽名稱
確定
<
產(chǎn)品介紹
>

什么是英國(guó)郵政編碼檢索?

 

服務(wù)詳情

UK Postcode API 是一種網(wǎng)絡(luò)服務(wù),它允許開發(fā)者通過編程方式查詢和使用英國(guó)的郵政編碼數(shù)據(jù)。這些API通常提供多種功能,如地址自動(dòng)完成、郵政編碼查找、地址詳情獲取、地理編碼、距離計(jì)算等。這些服務(wù)對(duì)于構(gòu)建涉及地址和位置信息的應(yīng)用程序非常有用,例如電子商務(wù)網(wǎng)站、物流管理系統(tǒng)、地圖服務(wù)等。

 

核心功能

  • 郵政編碼查詢API
  • 地址查詢API
  • UDPRN查找
  • 地址自動(dòng)建議API

 

 

應(yīng)用場(chǎng)景

地址驗(yàn)證
地址驗(yàn)證
該 API 可用于驗(yàn)證給定的郵政編碼和地址是否匹配,有助于防止錯(cuò)誤并提高郵寄和運(yùn)輸信息的準(zhǔn)確性。
營(yíng)銷和廣告
營(yíng)銷和廣告
該 API 可用于根據(jù)郵政編碼或人口統(tǒng)計(jì)信息將廣告和營(yíng)銷活動(dòng)定位到特定區(qū)域。
風(fēng)險(xiǎn)評(píng)估
風(fēng)險(xiǎn)評(píng)估
該API可用于評(píng)估風(fēng)險(xiǎn)并根據(jù)位置做出決策,它可用于保險(xiǎn)行業(yè)根據(jù)郵政編碼給出報(bào)價(jià)。
零售和配送
零售和配送
零售商和送貨公司可以使用該 API 根據(jù)郵政編碼信息優(yōu)化路線和送貨時(shí)間。
 

 

什么是英國(guó)郵政編碼檢索接口?

由服務(wù)使用方的應(yīng)用程序發(fā)起,以Restful風(fēng)格為主、通過公網(wǎng)HTTP協(xié)議調(diào)用英國(guó)郵政編碼檢索,從而實(shí)現(xiàn)程序的自動(dòng)化交互,提高服務(wù)效率。
<
使用指南
>

按郵政編碼查詢郵編信息接口Curl請(qǐng)求示例代碼:

curl --location --request GET 'https://postcode.apitier.com/v1/postcodes/PL1 1AR&x-api-key=3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq' | json_pp

 

按地址查詢郵編信息接口Curl請(qǐng)求示例代碼:

curl --location --request GET 'https://postcode.apitier.com/v1/addresses?query=Bridge Road&page=0&limit=50&x-api-key=3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq' | 

 

按UDPRN編碼查詢郵編信息接口Curl請(qǐng)求示例代碼:

curl --location --request GET 'https://postcode.apitier.com/v1/udprn/64983?x-api-key=3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq' 

 

自動(dòng)補(bǔ)全地址接口Curl請(qǐng)求示例代碼:

curl --location --request GET 'https://postcode.apitier.com/v1/addresses/autocomplete?query=Cottage&x-api-key=3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq' 
<
產(chǎn)品問答
>
?
郵政編碼查找如何工作?
郵政編碼查找是一種搜索功能,允許用戶輸入郵政編碼并從下拉列表中選擇正確的地址。選擇后,地址字段將填寫完整的地址。
?
使用英國(guó)郵政編碼查找 API 的好處?
使用英國(guó)郵政編碼查找 API 對(duì)于企業(yè)和客戶來說都有很多好處。它提供了易于使用的搜索功能,可顯著加快在線輸入地址的過程。它還通過準(zhǔn)確地向客戶提供有關(guān)其位置的最新地理信息來減少錯(cuò)誤。此外,它還可以通過為客戶每次搜索時(shí)提供準(zhǔn)確的地址來幫助確保數(shù)據(jù)質(zhì)量,使企業(yè)更輕松地高效地提供產(chǎn)品和服務(wù)。
<
關(guān)于我們
>
APITier
企業(yè)
APITier公司是一家領(lǐng)先的技術(shù)解決方案提供商,專注于為企業(yè)提供定制化的API管理和集成服務(wù)。公司通過其創(chuàng)新的平臺(tái),幫助客戶優(yōu)化數(shù)據(jù)流、提高運(yùn)營(yíng)效率,并確保數(shù)據(jù)安全。APITier致力于通過先進(jìn)的技術(shù),推動(dòng)企業(yè)數(shù)字化轉(zhuǎn)型,實(shí)現(xiàn)業(yè)務(wù)增長(zhǎng)。
聯(lián)系信息
服務(wù)時(shí)間: 09:00~19:00
電話號(hào)碼: 07611451

<
最可能同場(chǎng)景使用的其他API
>
API接口列表
按郵政編碼查詢郵編信息
按地址查詢郵編信息
UDPRN編碼查詢郵編信息
地址自動(dòng)建議
按郵政編碼查詢郵編信息
1.1 簡(jiǎn)要描述
“郵政編碼查找”API 獲取給定英國(guó)郵政編碼的地址。此 API 提供了一個(gè) JSON 接口來搜索英國(guó)地址的郵政編碼。
1.2 請(qǐng)求URL
https://postcode.apitier.com/v1/postcodes
1.3 請(qǐng)求方式
GET
1.4 入?yún)?
參數(shù)名 參數(shù)類型 默認(rèn)值 是否必傳 描述
postcode String PL1 1AR 郵編
x-api-key String 3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq 密鑰
1.5 出參
參數(shù)名 參數(shù)類型 默認(rèn)值 描述
status int 200 狀態(tài)碼
message string Success 返回消息
noOfItems int 0 數(shù)據(jù)條數(shù)
result.postcode string PL1_1AR 郵編
result.district string Plymouth 地區(qū)
result.ward string St_Peter_and_the_Waterfront_PL1_1AR 區(qū)
result.county string Devon
result.country string England 國(guó)家
result.geocode.eastings string 247702 中央經(jīng)線向東距離
result.geocode.northings string 0054920 中央經(jīng)線向北距離
result.geocode.latitude string 50.374411 經(jīng)度
result.geocode.longitude string -4.143138 緯度
addresses[0].po_box string
addresses[0].line_2 string CopthorneHotel
addresses[0].postcode_type string ArmadaWay
addresses[0].line_3 string ArmadaWay
addresses[0].su_organisation_indicator string
addresses[0].building_number string
addresses[0].udprn string 18911185
addresses[0].thoroughfare string ArmadaWay
addresses[0].line_1 string CopthorneHotelsLtd
addresses[0].postcode_outcode string PL1
addresses[0].postcode_compact string PL11AR
addresses[0].dependant_thoroughfare string
addresses[0].premise string CopthorneHotel
addresses[0].post_town string PLYMOUTH
addresses[0].building_name string CopthorneHotel
addresses[0].organisation_name string CopthorneHotelsLtd
addresses[0].postcode string PL11AR
addresses[0].department_name string
addresses[0].postcode_incode string 1AR
addresses[0].address string CopthorneHotelsLtd
addresses[0].double_dependant_locality string
addresses[0].sub_building_name string
addresses[0].dependant_locality string
addresses[0].delivery_point_suffix string 1A
1.6 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
200 success 成功
1.7 示例
請(qǐng)求參數(shù){
    "postcode": "PL1 1AR",
    "x-api-key": "3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq"
}

返回參數(shù)
{
    "status": "200",
    "message": "Success",
    "noOfItems": "6",
    "result.postcode": "PL1_1AR",
    "result.district": "Plymouth",
    "result.ward": "St_Peter_and_the_Waterfront_PL1_1AR",
    "result.county": "Devon",
    "result.country": "England",
    "result.geocode.eastings": "247702",
    "result.geocode.northings": "0054920",
    "result.geocode.latitude": "50.374411",
    "result.geocode.longitude": "-4.143138",
    "addresses[0].line_2": "CopthorneHotel",
    "addresses[0].postcode_type": "ArmadaWay",
    "addresses[0].line_3": "ArmadaWay",
    "addresses[0].udprn": "18911185",
    "addresses[0].thoroughfare": "ArmadaWay",
    "addresses[0].line_1": "CopthorneHotelsLtd",
    "addresses[0].postcode_outcode": "PL1",
    "addresses[0].postcode_compact": "PL11AR",
    "addresses[0].premise": "CopthorneHotel",
    "addresses[0].post_town": "PLYMOUTH",
    "addresses[0].building_name": "CopthorneHotel",
    "addresses[0].organisation_name": "CopthorneHotelsLtd",
    "addresses[0].postcode": "PL11AR",
    "addresses[0].postcode_incode": "1AR",
    "addresses[0].address": "CopthorneHotelsLtd",
    "addresses[0].delivery_point_suffix": "1A"
}

錯(cuò)誤碼
{
    "200": "success"
}
按地址查詢郵編信息
2.1 簡(jiǎn)要描述
英國(guó)的地址查找是查找該國(guó)特定位置的完整郵政地址的過程。
2.2 請(qǐng)求URL
https://postcode.apitier.com/v1/addresses
2.3 請(qǐng)求方式
GET
2.4 入?yún)?
參數(shù)名 參數(shù)類型 默認(rèn)值 是否必傳 描述
query String Bridge Road 查詢參數(shù)
x-api-key String 3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq 密鑰
limit Int 50 返回最大條數(shù)
page Int 頁(yè)數(shù)
2.5 出參
參數(shù)名 參數(shù)類型 默認(rèn)值 描述
status int 200 狀態(tài)碼
message string Success 返回消息
total int 2 數(shù)據(jù)總數(shù)
result.hits[0].address string TheBridges 地址
result.hits[0].building_name string TheBridges 建筑名稱
result.hits[0].building_number string 建筑物編號(hào)
result.hits[0].line_1 string TheBridges 線路_1
result.hits[0].line_2 string BridgeRoad 線路_2
result.hits[0].line_3 string Bishopstone 線路_3
result.hits[0].organisation_name string 機(jī)構(gòu)名稱
result.hits[0].po_box string HK860 郵政信箱
result.hits[0].post_town string SALISBURY 驛站
result.hits[0].postcode string SP54BS 郵政編碼
result.hits[0].premise string TheBridges 前提
result.hits[0].sub_building_name string 子建筑名稱
result.hits[0].thoroughfare string BridgeRoad 通道
result.hits[0].udprn string 23063218 UDPRN
2.6 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
200 success 成功
2.7 示例
請(qǐng)求參數(shù){
    "query": "Bridge Road",
    "x-api-key": "3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq",
    "limit": "50",
    "page": ""
}

返回參數(shù)
{
    "status": "200",
    "message": "Success",
    "total": "2",
    "result.hits[0].address": "TheBridges",
    "result.hits[0].building_name": "TheBridges",
    "result.hits[0].line_1": "TheBridges",
    "result.hits[0].line_2": "BridgeRoad",
    "result.hits[0].line_3": "Bishopstone",
    "result.hits[0].po_box": "HK860",
    "result.hits[0].post_town": "SALISBURY",
    "result.hits[0].postcode": "SP54BS",
    "result.hits[0].premise": "TheBridges",
    "result.hits[0].thoroughfare": "BridgeRoad",
    "result.hits[0].udprn": "23063218"
}

錯(cuò)誤碼
{
    "200": "success"
}
UDPRN編碼查詢郵編信息
3.1 簡(jiǎn)要描述
通過UDPRN編碼查詢英國(guó)相關(guān)郵編信息數(shù)據(jù)
3.2 請(qǐng)求URL
https://postcode.apitier.com/v1/udprn
3.3 請(qǐng)求方式
GET
3.4 入?yún)?
參數(shù)名 參數(shù)類型 默認(rèn)值 是否必傳 描述
UDPRN String 64983 英國(guó) UDPRN
x-api-key String 3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq 密鑰
3.5 出參
參數(shù)名 參數(shù)類型 默認(rèn)值 描述
status int 200 狀態(tài)碼
message string Success 返回消息
result.building_number string 9 建筑物編號(hào)
result.premise string 9 前提
result.building_name string 建筑物名稱
result.sub_building_name string 子建筑物名稱
result.organisation_name string 機(jī)構(gòu)名稱
result.line_1 string 9MarchburnPlace 線路_1
result.line_2 string 線路_2
result.line_3 string 線路_3
result.postcode string AB167PL 郵政編碼
result.thoroughfare string MarchburnPlace 通道
result.post_town string ABERDEEN 驛站
result.po_box string 9 郵政信箱
result.ward string Northfield/MastrickNorth 選區(qū)
result.district string AberdeenCity 區(qū)
result.county string Scotland
result.country string Scotland 國(guó)家
result.udprn string 64983 udprn編號(hào)
result.address string 9_Marchburn_Place_ABERDEEN_AB16_7PL_9 地址
result.postcode_incode string 7PL 郵政編碼_輸入代碼
result.postcode_outcode string AB16 郵政編碼_輸出代碼
result.postcode_compact string AB167PL 郵政編碼_縮寫
result.postcode_type string S 郵政編碼類型
result.department_name string 部門名稱
result.su_organisation_indicator string 用戶組織
result.double_dependant_locality string 雙依賴局部性
result.dependant_thoroughfare string 依賴通道
result.dependant_locality string
result.delivery_point_suffix int 1Q 交貨點(diǎn)后綴
result.geocode.eastings string 390246 中央經(jīng)度向東距離
result.geocode.northings string 0808744 中央經(jīng)度向北距離
result.geocode.latitude string 57.169420 經(jīng)度
result.geocode.longitude string -2.162936 緯度
3.6 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
200 success 成功
3.7 示例
請(qǐng)求參數(shù){
    "UDPRN": "64983",
    "x-api-key": "3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq"
}

返回參數(shù)
{
    "status": "200",
    "message": "Success",
    "result.building_number": "9",
    "result.premise": "9",
    "result.line_1": "9MarchburnPlace",
    "result.postcode": "AB167PL",
    "result.thoroughfare": "MarchburnPlace",
    "result.post_town": "ABERDEEN",
    "result.po_box": "9",
    "result.ward": "Northfield/MastrickNorth",
    "result.district": "AberdeenCity",
    "result.county": "Scotland",
    "result.country": "Scotland",
    "result.udprn": "64983",
    "result.address": "9_Marchburn_Place_ABERDEEN_AB16_7PL_9",
    "result.postcode_incode": "7PL",
    "result.postcode_outcode": "AB16",
    "result.postcode_compact": "AB167PL",
    "result.postcode_type": "S",
    "result.delivery_point_suffix": "1Q",
    "result.geocode.eastings": "390246",
    "result.geocode.northings": "0808744",
    "result.geocode.latitude": "57.169420",
    "result.geocode.longitude": "-2.162936"
}

錯(cuò)誤碼
{
    "200": "success"
}
地址自動(dòng)建議
4.1 簡(jiǎn)要描述
“地址自動(dòng)建議”API 用于建議給定搜索詞的地址結(jié)果。此 API 提供 JSON 接口來提取完整??或部分地址查詢的地址建議。
4.2 請(qǐng)求URL
https://postcode.apitier.com/v1/addresses/autocomplete
4.3 請(qǐng)求方式
GET
4.4 入?yún)?
參數(shù)名 參數(shù)類型 默認(rèn)值 是否必傳 描述
x-api-key String 3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq 密鑰
query String Cottage 查詢關(guān)鍵字
4.5 出參
參數(shù)名 參數(shù)類型 默認(rèn)值 描述
status int 200 狀態(tài)碼
message string Success 返回消息
result.total int 2 返回?cái)?shù)據(jù)總數(shù)
result.hits[0].address string Cottage_1_23_Cross_Hill_Hunmanby 地址
result.hits[0].udprn string 55109741 udprn編碼
result.hits[0].urls.findByUDPRN string https://postcode.apitier.com/v1/udprn/55109741?x-api-key=3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq 網(wǎng)址
4.6 錯(cuò)誤碼
錯(cuò)誤碼 錯(cuò)誤信息 描述
200 success 200
4.7 示例
請(qǐng)求參數(shù){
    "x-api-key": "3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq",
    "query": "Cottage"
}

返回參數(shù)
{
    "status": "200",
    "message": "Success",
    "result.total": "2",
    "result.hits[0].address": "Cottage_1_23_Cross_Hill_Hunmanby",
    "result.hits[0].udprn": "55109741",
    "result.hits[0].urls.findByUDPRN": "https://postcode.apitier.com/v1/udprn/55109741?x-api-key=3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq"
}

錯(cuò)誤碼
{
    "200": "success"
}
<
使用指南
>

按郵政編碼查詢郵編信息接口Curl請(qǐng)求示例代碼:

curl --location --request GET 'https://postcode.apitier.com/v1/postcodes/PL1 1AR&x-api-key=3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq' | json_pp

 

按地址查詢郵編信息接口Curl請(qǐng)求示例代碼:

curl --location --request GET 'https://postcode.apitier.com/v1/addresses?query=Bridge Road&page=0&limit=50&x-api-key=3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq' | 

 

按UDPRN編碼查詢郵編信息接口Curl請(qǐng)求示例代碼:

curl --location --request GET 'https://postcode.apitier.com/v1/udprn/64983?x-api-key=3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq' 

 

自動(dòng)補(bǔ)全地址接口Curl請(qǐng)求示例代碼:

curl --location --request GET 'https://postcode.apitier.com/v1/addresses/autocomplete?query=Cottage&x-api-key=3apCJpHJY59mF4oOqCzuz2sbGeBfZBYi7S3gzAqq' 
<
依賴服務(wù)
>
<
產(chǎn)品問答
>
?
郵政編碼查找如何工作?
郵政編碼查找是一種搜索功能,允許用戶輸入郵政編碼并從下拉列表中選擇正確的地址。選擇后,地址字段將填寫完整的地址。
?
使用英國(guó)郵政編碼查找 API 的好處?
使用英國(guó)郵政編碼查找 API 對(duì)于企業(yè)和客戶來說都有很多好處。它提供了易于使用的搜索功能,可顯著加快在線輸入地址的過程。它還通過準(zhǔn)確地向客戶提供有關(guān)其位置的最新地理信息來減少錯(cuò)誤。此外,它還可以通過為客戶每次搜索時(shí)提供準(zhǔn)確的地址來幫助確保數(shù)據(jù)質(zhì)量,使企業(yè)更輕松地高效地提供產(chǎn)品和服務(wù)。
<
關(guān)于我們
>
APITier
企業(yè)
APITier公司是一家領(lǐng)先的技術(shù)解決方案提供商,專注于為企業(yè)提供定制化的API管理和集成服務(wù)。公司通過其創(chuàng)新的平臺(tái),幫助客戶優(yōu)化數(shù)據(jù)流、提高運(yùn)營(yíng)效率,并確保數(shù)據(jù)安全。APITier致力于通過先進(jìn)的技術(shù),推動(dòng)企業(yè)數(shù)字化轉(zhuǎn)型,實(shí)現(xiàn)業(yè)務(wù)增長(zhǎng)。
聯(lián)系信息
服務(wù)時(shí)間: 09:00~19:00
電話號(hào)碼: 07611451

<
最可能同場(chǎng)景使用的其他API
>