RESAS

はじめに
RESAS-API一覧
共通
人口マップ
産業構造マップ
企業活動マップ
観光マップ
まちづくりマップ
雇用/医療・福祉マップ
地方財政マップ

税関

指定された都道府県にある税関データを返します。

GET  api/v1/customs

parameters

Name Description Required
prefCode 都道府県コード true

responses

Name Description
/result/customHouseCd 税関空港コード
/result/customHouseName 税関空港名
/result/prefCode 都道府県コード
/result/prefName 都道府県名

sample

GET https://opendata.resas-portal.go.jp/api/v1/customs?prefCode=1
{
    "message": null,
    "result": [{
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 800,
        "customHouseName": "函館港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 802,
        "customHouseName": "室蘭港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 803,
        "customHouseName": "苫小牧港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 804,
        "customHouseName": "小樽港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 805,
        "customHouseName": "留萌港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 807,
        "customHouseName": "釧路港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 809,
        "customHouseName": "稚内港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 810,
        "customHouseName": "網走港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 811,
        "customHouseName": "紋別港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 812,
        "customHouseName": "新千歳空港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 813,
        "customHouseName": "函館空港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 814,
        "customHouseName": "石狩湾港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 815,
        "customHouseName": "十勝港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 816,
        "customHouseName": "旭川港"
    }, {
        "prefCode": 1,
        "prefName": "北海道",
        "customHouseCode": 818,
        "customHouseName": "花咲港"
    }]
}