Accounting API
apideck · Developer Tools
Welcome to the Accounting API. You can use this API to access all Accounting API endpoints. ## Base URL The base URL for all API requests is `https://unify.apideck.com` We also provide a [Mock API](https://developers.apideck.com/mock-api) that can be used for testing purposes: `https://mock-api.apideck.com` ## Headers Custom headers that are expected as part of the request. Note that [RFC7230](https://tools.ietf.org/html/rfc7230) states header names are case insensitive. | Name
Authentication
Sample Requests
Get BalanceSheet
Hover any highlighted part to learn what it does
| x-apideck-app-id | example |
| x-apideck-consumer-id | example |
curl -X GET "https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/balance-sheet?raw=false&filter=example&pass_through=example" \ -H "x-apideck-app-id: example" \ -H "x-apideck-consumer-id: example"
import requests
params = {
"raw": "false",
"filter": "example",
"pass_through": "example"
}
headers = {
"x-apideck-app-id": "example",
"x-apideck-consumer-id": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/balance-sheet",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/balance-sheet');
url.searchParams.set('raw', 'false');
url.searchParams.set('filter', 'example');
url.searchParams.set('pass_through', 'example');
const response = await fetch(url, {
headers: {
'x-apideck-app-id': 'example',
'x-apideck-consumer-id': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/balance-sheet")
q := baseURL.Query()
q.Set("raw", "false")
q.Set("filter", "example")
q.Set("pass_through", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("x-apideck-app-id", "example")
req.Header.Set("x-apideck-consumer-id", "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/apideck.com/accounting/9.3.0/accounting/balance-sheet")
uri.query = URI.encode_www_form({
"raw" => "false",
"filter" => "example",
"pass_through" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["x-apideck-app-id"] = "example"
req["x-apideck-consumer-id"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/balance-sheet?" . http_build_query([
"raw" => "false",
"filter" => "example",
"pass_through" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"x-apideck-app-id: example",
"x-apideck-consumer-id: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));List Bills
Hover any highlighted part to learn what it does
| x-apideck-app-id | example |
| x-apideck-consumer-id | example |
curl -X GET "https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/bills?raw=false&sort=desc&limit=20&cursor=example&fields=example&pass_through=example" \ -H "x-apideck-app-id: example" \ -H "x-apideck-consumer-id: example"
import requests
params = {
"raw": "false",
"sort": "desc",
"limit": "20",
"cursor": "example",
"fields": "example",
"pass_through": "example"
}
headers = {
"x-apideck-app-id": "example",
"x-apideck-consumer-id": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/bills",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/bills');
url.searchParams.set('raw', 'false');
url.searchParams.set('sort', 'desc');
url.searchParams.set('limit', '20');
url.searchParams.set('cursor', 'example');
url.searchParams.set('fields', 'example');
url.searchParams.set('pass_through', 'example');
const response = await fetch(url, {
headers: {
'x-apideck-app-id': 'example',
'x-apideck-consumer-id': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/bills")
q := baseURL.Query()
q.Set("raw", "false")
q.Set("sort", "desc")
q.Set("limit", "20")
q.Set("cursor", "example")
q.Set("fields", "example")
q.Set("pass_through", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("x-apideck-app-id", "example")
req.Header.Set("x-apideck-consumer-id", "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/apideck.com/accounting/9.3.0/accounting/bills")
uri.query = URI.encode_www_form({
"raw" => "false",
"sort" => "desc",
"limit" => "20",
"cursor" => "example",
"fields" => "example",
"pass_through" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["x-apideck-app-id"] = "example"
req["x-apideck-consumer-id"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/bills?" . http_build_query([
"raw" => "false",
"sort" => "desc",
"limit" => "20",
"cursor" => "example",
"fields" => "example",
"pass_through" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"x-apideck-app-id: example",
"x-apideck-consumer-id: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Get company info
Hover any highlighted part to learn what it does
| x-apideck-app-id | example |
| x-apideck-consumer-id | example |
curl -X GET "https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/company-info?raw=false&fields=example" \ -H "x-apideck-app-id: example" \ -H "x-apideck-consumer-id: example"
import requests
params = {
"raw": "false",
"fields": "example"
}
headers = {
"x-apideck-app-id": "example",
"x-apideck-consumer-id": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/company-info",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/company-info');
url.searchParams.set('raw', 'false');
url.searchParams.set('fields', 'example');
const response = await fetch(url, {
headers: {
'x-apideck-app-id': 'example',
'x-apideck-consumer-id': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/company-info")
q := baseURL.Query()
q.Set("raw", "false")
q.Set("fields", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("x-apideck-app-id", "example")
req.Header.Set("x-apideck-consumer-id", "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/apideck.com/accounting/9.3.0/accounting/company-info")
uri.query = URI.encode_www_form({
"raw" => "false",
"fields" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["x-apideck-app-id"] = "example"
req["x-apideck-consumer-id"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/apideck.com/accounting/9.3.0/accounting/company-info?" . http_build_query([
"raw" => "false",
"fields" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"x-apideck-app-id: example",
"x-apideck-consumer-id: 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 Accounting API?
Accounting API is a Developer Tools API. Developers commonly use developer tools APIs for:
- automating code review and quality checks
- integrating CI/CD pipelines and build systems
- managing feature flags and A/B tests
- monitoring errors and application performance
- generating and validating test data
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Accounting API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?