Find an API

Search public APIs with auth details & Postman guides

← All APIs

Xero Assets API

xero · Finance

Finance No Auth Free & Open financial

The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET searches fixed asset

By passing in the appropriate options, you can search for available fixed asset in the system

https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/Assets?page=1&status=example&orderBy=AssetName&filterBy=Company Car&pageSize=5&sortDirection=ASC

Hover any highlighted part to learn what it does

Headers — extra info sent with the request
xero-tenant-id example
curl -X GET "https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/Assets?page=1&status=example&orderBy=AssetName&filterBy=Company%20Car&pageSize=5&sortDirection=ASC" \
  -H "xero-tenant-id: example"
import requests
params = {
    "page": "1",
    "status": "example",
    "orderBy": "AssetName",
    "filterBy": "Company Car",
    "pageSize": "5",
    "sortDirection": "ASC"
}
headers = {
    "xero-tenant-id": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/Assets",
    params=params,
    headers=headers,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/Assets');
url.searchParams.set('page', '1');
url.searchParams.set('status', 'example');
url.searchParams.set('orderBy', 'AssetName');
url.searchParams.set('filterBy', 'Company Car');
url.searchParams.set('pageSize', '5');
url.searchParams.set('sortDirection', 'ASC');

const response = await fetch(url, {
  headers: {
    'xero-tenant-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/xero.com/xero_assets/2.9.4/Assets")
	q := baseURL.Query()
	q.Set("page", "1")
	q.Set("status", "example")
	q.Set("orderBy", "AssetName")
	q.Set("filterBy", "Company Car")
	q.Set("pageSize", "5")
	q.Set("sortDirection", "ASC")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)
	req.Header.Set("xero-tenant-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/xero.com/xero_assets/2.9.4/Assets")
uri.query = URI.encode_www_form({
  "page" => "1",
  "status" => "example",
  "orderBy" => "AssetName",
  "filterBy" => "Company Car",
  "pageSize" => "5",
  "sortDirection" => "ASC"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)
req["xero-tenant-id"] = "example"

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/Assets?" . http_build_query([
    "page" => "1",
    "status" => "example",
    "orderBy" => "AssetName",
    "filterBy" => "Company Car",
    "pageSize" => "5",
    "sortDirection" => "ASC"
]);
$opts = ["http" => [
    "method" => "GET",
    "header" => implode("\r\n", [
        "xero-tenant-id: example"
    ]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET searches fixed asset types

By passing in the appropriate options, you can search for available fixed asset types in the system

https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/AssetTypes

Hover any highlighted part to learn what it does

Headers — extra info sent with the request
xero-tenant-id example
curl -X GET "https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/AssetTypes" \
  -H "xero-tenant-id: example"
import requests
headers = {
    "xero-tenant-id": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/AssetTypes",
    headers=headers,
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/AssetTypes';

const response = await fetch(url, {
  headers: {
    'xero-tenant-id': '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/xero.com/xero_assets/2.9.4/AssetTypes"
	req, _ := http.NewRequest("GET", targetURL, nil)
	req.Header.Set("xero-tenant-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/xero.com/xero_assets/2.9.4/AssetTypes")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)
req["xero-tenant-id"] = "example"

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/AssetTypes";
$opts = ["http" => [
    "method" => "GET",
    "header" => implode("\r\n", [
        "xero-tenant-id: example"
    ]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET searches fixed asset settings

By passing in the appropriate options, you can search for available fixed asset types in the system

https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/Settings

Hover any highlighted part to learn what it does

Headers — extra info sent with the request
xero-tenant-id example
curl -X GET "https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/Settings" \
  -H "xero-tenant-id: example"
import requests
headers = {
    "xero-tenant-id": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/Settings",
    headers=headers,
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/Settings';

const response = await fetch(url, {
  headers: {
    'xero-tenant-id': '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/xero.com/xero_assets/2.9.4/Settings"
	req, _ := http.NewRequest("GET", targetURL, nil)
	req.Header.Set("xero-tenant-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/xero.com/xero_assets/2.9.4/Settings")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)
req["xero-tenant-id"] = "example"

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/xero.com/xero_assets/2.9.4/Settings";
$opts = ["http" => [
    "method" => "GET",
    "header" => implode("\r\n", [
        "xero-tenant-id: example"
    ]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Xero Assets API?

Xero Assets API is a Finance API. Developers commonly use finance APIs for:

  • processing payments and handling transactions
  • building subscription and billing systems
  • automating invoicing and financial reporting
  • fraud detection and risk scoring
  • connecting to banking and accounting software

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Xero Assets API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗