Latvijas bankas

Parametri

Query string parametrs Apraksts
lang ISO 3166-2 valodas kods. Nosaka valodu lokalizētajam valsts nosaukumam

Statusa kodi

Statusa kods Nozīme
0 Aktīva
1 Neaktīva

XML paraugs

http://apis.lv/banks.xml?key=APIKEY&lang=lv
<?xml version="1.0" encoding="utf-8"?>
<xml>
  <item>
    <name>Valsts kase</name>
    <full_name>Valsts kase</full_name>
    <swift>TRELLV22</swift>
    <country_id>LV</country_id>
    <status>0</status>
    <address>Smilšu iela 1, Rīga, LV-1919</address>
    <country_name>Latvia</country_name>
    <localized_country_name>Latvija</localized_country_name>
  </item>
  <item>
    <name>Baltic International Bank</name>
    <full_name>AS "Baltic International Bank"</full_name>
    <swift>BLIBLV22</swift>
    <country_id>LV</country_id>
    <status>0</status>
    <address>Kalēju iela 43, Rīga, LV-1050</address>
    <country_name>Latvia</country_name>
    <localized_country_name>Latvija</localized_country_name>
  </item>
</xml>

JSON paraugs

http://apis.lv/banks.json?key=APIKEY&lang=lv
[
  {
    "name": "Valsts kase",
    "full_name": "Valsts kase",
    "swift": "TRELLV22",
    "country_id": "LV",
    "status": 0,
    "address": "Smilšu iela 1,
     Rīga,
     LV-1919",
    "country_name": "Latvia",
    "localized_country_name": "Latvija"
  },
  {
    "name": "Baltic International Bank",
    "full_name": "AS \"Baltic International Bank\"",
    "swift": "BLIBLV22",
    "country_id": "LV",
    "status": 0,
    "address": "Kalēju iela 43,
     Rīga,
     LV-1050",
    "country_name": "Latvia",
    "localized_country_name": "Latvija"
  }
]