Public APIs

Public APIs / Finance / Xero APIs

Xero APIs

6 REST APIs from xero.com, each with an OpenAPI spec. These endpoints are specific to Xero Files API.

Open the Xero APIs documentation Build something with it

Key facts

Category
Finance
Authentication
See docs
HTTPS
Yes
CORS
Unknown
Listed in
APIs.guru

Authentication is described in the provider's OpenAPI spec and documentation. Most need a key or OAuth.

What you could build with Xero APIs

Finance APIs return stock prices, company filings, banking data and market news.

  • An investor dashboard
  • Automatic bookkeeping from bank data
  • Financial reports for a board pack

OpenAPI spec

Xero APIs has a machine-readable OpenAPI definition. Load it into Postman, Insomnia or a code generator to get every endpoint and a typed client in minutes.

Download the OpenAPI spec (JSON)

6 Xero APIs REST APIs

  • Xero Files API 2.9.4
    These endpoints are specific to Xero Files API spec
  • Xero Assets API 2.9.4
    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 spec
  • Xero Accounting API 2.9.4 spec
  • Xero Bank Feeds API 2.9.4
    The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero spec
  • Xero Payroll AU API 2.9.4
    This is the Xero Payroll API for orgs in Australia region spec
  • Xero OAuth 2 Identity Service API 2.9.4
    These endpoints are related to managing authentication tokens and identity for Xero API spec

How we would integrate Xero APIs

  1. Generate a typed client from the OpenAPI spec, so every endpoint and field is checked at build time.
  2. Sign up with the provider, get a key and store it on the server in an env.php or secret store.
  3. Put a small backend in front of it, so the browser talks to your server and your server talks to the API.
  4. Cache results in your own database, so pages stay fast and you stay inside rate limits.
  5. Add monitoring: if the API goes down or changes, you get an alert before your customers notice.

Questions about Xero APIs

Does the Xero APIs need an API key?

Authentication is described in the provider's OpenAPI spec and documentation. Most need a key or OAuth.

Is there an OpenAPI (Swagger) spec for Xero APIs?

Yes. The spec is linked on this page, so you can generate a client or import it into Postman.

Can I call Xero APIs from the browser?

It is not documented. Plan for a small server-side proxy to be safe.

Does Xero APIs support HTTPS?

Yes, it is served over HTTPS.

Can you build an app with Xero APIs for me?

Yes. FullStack Partner has developers who build and run products on APIs like this one. Send us a few lines and we reply with a plan and a fixed price.

Want a product built on Xero APIs?

We have the tech people: developers, designers and project managers who have shipped dozens of live products. Tell us what you want to build and we reply with a plan and a fixed price. Are you interested?

No sales spam. One reply from a real person, usually within a day.

More Finance APIs

See all 211 Finance APIs