Open Data API
openbanking · Government
Latest Swagger specification for OpenData
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
GET
GET /atms
Gets a list of all `ATM` objects.
https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/atms
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/atms"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/atms",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/atms'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/atms"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/atms")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/atms";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
GET /branches
Gets a list of all `Branch` objects.
https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/branches
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/branches"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/branches",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/branches'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/branches"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/branches")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/branches";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
GET /business-current-accounts
Gets a list of all `Branch Current Account` objects.
https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/business-current-accounts
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/business-current-accounts"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/business-current-accounts",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/business-current-accounts'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/business-current-accounts"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/business-current-accounts")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/openbanking.org.uk/v1.3/business-current-accounts";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Open Data API?
Open Data API is a Government API. Developers commonly use government APIs for:
- surfacing public datasets in citizen-facing apps
- building transparency and civic engagement tools
- accessing legislation, court records, and official data
- powering research and journalism tools
- creating compliance and regulatory monitoring dashboards
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Open Data API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide