Account and Transaction API Specification
openbanking · Government
Swagger for Account and Transaction API Specification
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
GET
Get Accounts
Get Accounts
https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/accounts
Hover any highlighted part to learn what it does
Headers — extra info sent with the request
| Authorization | example |
curl -X GET "https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/accounts" \ -H "Authorization: example"
import requests
headers = {
"Authorization": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/accounts",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/accounts';
const response = await fetch(url, {
headers: {
'Authorization': 'example'
},
});
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/account-info-openapi/3.1.7/accounts"
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("Authorization", "example")
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/account-info-openapi/3.1.7/accounts")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/accounts";
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"Authorization: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
Get Balances
Get Balances
https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/balances
Hover any highlighted part to learn what it does
Headers — extra info sent with the request
| Authorization | example |
curl -X GET "https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/balances" \ -H "Authorization: example"
import requests
headers = {
"Authorization": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/balances",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/balances';
const response = await fetch(url, {
headers: {
'Authorization': 'example'
},
});
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/account-info-openapi/3.1.7/balances"
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("Authorization", "example")
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/account-info-openapi/3.1.7/balances")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/balances";
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"Authorization: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
Get Beneficiaries
Get Beneficiaries
https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/beneficiaries
Hover any highlighted part to learn what it does
Headers — extra info sent with the request
| Authorization | example |
curl -X GET "https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/beneficiaries" \ -H "Authorization: example"
import requests
headers = {
"Authorization": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/beneficiaries",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/beneficiaries';
const response = await fetch(url, {
headers: {
'Authorization': 'example'
},
});
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/account-info-openapi/3.1.7/beneficiaries"
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("Authorization", "example")
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/account-info-openapi/3.1.7/beneficiaries")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/openbanking.org.uk/account-info-openapi/3.1.7/beneficiaries";
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"Authorization: example"
]),
]];
$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 Account and Transaction API Specification?
Account and Transaction API Specification 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. Account and Transaction API Specification is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide