# Does QuickBooks Desktop have an API?

Not a web API you can call from anywhere. Intuit's QuickBooks Desktop SDK lets programs on the same PC or network send qbXML requests to QuickBooks, and Intuit's Web Connector lets a web service do the same over HTTPS. A hosted service such as Desktop Books turns that into a REST API.

## Why there's no web API

QuickBooks Online is a web service, so Intuit gives it a REST API with OAuth sign-in. QuickBooks Desktop keeps the books in a company file on a Windows PC or office server, and the only way in is through QuickBooks itself, running on that machine. Intuit's QuickBooks Online API can't read a Desktop company file, and there is no Intuit-hosted endpoint for Desktop data.

What Intuit does provide is the [QuickBooks Desktop SDK](/guides/quickbooks-desktop-sdk): the [qbXML](/guides/qbxml-explained) message format, libraries that build those messages, and the [Web Connector](/guides/what-is-the-quickbooks-web-connector), which lets a web service exchange qbXML with the file. Every way of getting data out is built on those pieces, and [our comparisons](/alternatives) cover the products built on them.

## The four ways in, by what you want to do

| You want to | Use | What it needs |
| --- | --- | --- |
| Build Windows software that runs next to QuickBooks | The SDK directly (qbXML or QBFC) | Your program installed on the QuickBooks PC or network |
| Query the file with SQL from Excel or Access on the office network | An ODBC driver such as [QODBC](/alternatives/qodbc) or Devart's | The driver on the QuickBooks PC; QuickBooks open |
| Build a product that reads and writes your customers' files | A hosted API over the Web Connector, such as [Conductor](/alternatives/conductor), or a unified accounting API | Intuit's Web Connector on each customer's PC |
| Get your own or your clients' numbers into Sheets, Excel or an assistant | A hosted, read-only service over the Web Connector, such as ours | Intuit's Web Connector on the office PC |

QuickBooks Desktop Enterprise also includes a read-only ODBC driver from FLEXquarters; Intuit's [setup article](https://quickbooks.intuit.com/learn-support/en-us/help-article/import-export-data-files/install-set-quickbooks-enterprise-odbc-driver/L1Am8lpxa_US_en_US) covers it for Enterprise 8.0 and later.

## What every route has in common

- **Windows.** The SDK, the ODBC drivers and the Web Connector are Windows software. QuickBooks for Mac has none of them.
- **A running PC.** The computer with QuickBooks has to be on. A hosted service can keep a copy so reads answer while it's off, but nothing new arrives until it's back.
- **The admin says yes once.** QuickBooks asks the company file's admin to allow each new app, and whether it may open the file when QuickBooks isn't running.

## What a hosted API adds on top

The Web Connector speaks SOAP and qbXML and only checks in on a schedule. A hosted API does that part for you and gives you JSON over HTTPS:

```http
GET /v1/files/{file_id}/invoices?status=open&limit=100
Authorization: Bearer dbk_...
```

Behind that one request, the service has already asked QuickBooks for invoices changed since the last check-in, stored them, and kept track of deletes. The [getting started guide](/docs/getting-started) goes from nothing to a first request, and the [API reference](/docs/api) lists every resource.

## Is QuickBooks Desktop going away?

Not for existing users, but new sales are narrowing. Intuit's [subscription article](https://quickbooks.intuit.com/learn-support/en-us/help-article/new-subscriptions/us-quickbooks-desktop-sold-july-2024/L5lkQNq7L_US_en_US) says new US subscriptions to Pro Plus, Premier Plus and Mac Plus ended on September 30, 2024, that Enterprise is still sold, and that existing subscribers keep getting updates and support. Intuit's [release process article](https://quickbooks.intuit.com/learn-support/en-us/help-article/update-products/understand-quickbooks-desktop-release-process/L2tnnGnFE_US_en_US) says the 2024 releases were the last yearly versions, with new features arriving as updates. Plenty of firms, contractors and inventory businesses will keep a Desktop file for years, which is why these routes exist.

## Sources

- [Intuit Developer, QuickBooks Desktop SDK](https://developer.intuit.com/app/developer/qbdesktop/docs/get-started)
- [Intuit, QuickBooks Web Connector Programmer's Guide](https://static.developer.intuit.com/resources/QBWC_proguide.pdf)

- [What is the QuickBooks Web Connector?](/guides/what-is-the-quickbooks-web-connector): What Intuit's QuickBooks Web Connector is, how it lets a web service read a company file without open ports, and what it needs on the PC.
- [The QuickBooks Desktop SDK: what's in it and when you need it](/guides/quickbooks-desktop-sdk): What the QuickBooks Desktop SDK includes (qbXML, QBFC, the request processor), where to get it, and when a web service is simpler than writing SDK code.
- [qbXML explained: QuickBooks Desktop's request format](/guides/qbxml-explained): What qbXML is, what a request and its answer look like, versions, iterators for large lists, and the On-Screen Reference that documents every field.

[Start a trial](https://desktop-app.greatwork.company/signin). 14-day trial with one company file. Read-only: nothing is ever written to your books.
