Get Started with GraphQL API

REQUIRED EDITIONS
Available in: Enterprise, Performance, Unlimited, and Developer Editions

GraphQL API is a new paradigm of sending and receiving data, offering developers a single endpoint to call for all data needed in one request. This API allows developers to interact with the Salesforce Platform through GraphQL, a standard query language for APIs and a runtime for fulfilling those queries with your data.

Apps that call GraphQL APIs are often much more performant than those that use traditional REST APIs. They are able to reduce round trips to the server through retrieval of all necessary data in just a single invocation.

To make your first call, use a Quick Start.

To see the GraphQL API endpoint, see API Reference.

Learn more about GraphQL at graphql.org. You can also quickly get started with GraphQL API here and make calls to a Salesforce org.

GraphQL API is available with Lightning Web Components (LWC). Using the GraphQL wire adapter, LWC developers can work with Salesforce data using GraphQL API while taking advantage of its extensive benefits to build web components and mobile offline apps.