Wix APIs are the programmatic interface to the Wix platform. They let your code do what site visitors and Wix users do through the Wix UI, from managing contacts and taking payments to querying site data and reacting to events on the site.
You can call Wix APIs from sites, headless projects, and from apps installed on sites. The same APIs work in each case. What changes between paths is how you authenticate and where your code runs, not the APIs themselves.
Wix APIs are designed to feel consistent across the platform. The same query language, the same identity model, and the same conventions for paging, errors, and field projection apply whether you're working with Stores, managing contacts, or processing a payment.
Wix APIs span the breadth of the platform. They reach Wix's business solutions, CMS and data, CRM data, media assets, site configuration, and more. The major API areas are:
You can call most Wix APIs either through the JavaScript SDK or as a REST call. For those APIs, both forms reach the same underlying functionality, so the choice is about your language and runtime, not about what you can do.
The SDK is a set of typed npm packages that handles token management for you. It's the recommended option for sites and Wix-managed projects, and for self-managed projects running in JavaScript or TypeScript. If you're working in another language, use REST.
To learn about the SDK and REST APIs, see the unified API Reference.
Some SDK functionality has no REST counterpart because it's specific to the Wix environment or the JavaScript runtime. This includes host modules for the Wix dashboard, editor, and site, frontend modules for browser-side code, and core modules that handle Wix client setup and authentication. You'll find these documented in the standalone SDK Reference rather than the unified API Reference.
Developers extending Wix sites and building Blocks apps also use the legacy Velo API for page element manipulation ($w) and a small number of APIs not yet migrated to the SDK. New platform functionality is added to the SDK only. The Velo API is no longer receiving new additions.
Wix also offers a GraphQL API for querying and modifying a subset of the same data through a GraphQL endpoint. It can help when you need to combine multiple operations in one request or retrieve only specific fields from a larger object. For most projects, the JavaScript SDK or REST APIs are the better starting point.
The development path determines how your code authenticates to Wix APIs and which APIs are most natural to use:
Last updated: 2 August 2026