---
schema_version: "1"
id: 9ac7e7a6b2a2b041cb2c01266a83ac5a7522918b4657372eee2ce839e67a5c35
title: Use the GraphQL Wire Adapter
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/graphql-api/graphql/guides/wire/graphql-wire-lwc-use.md
canonical_url: https://developer.salesforce.com/docs/platform/graphql/guide/graphql-wire-lwc-use.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4ff696cde1705ff4a3b792088ca0888c57d6a23fb3e5ed4844540887ebd53a4e
products:
  - GraphQL API
---
# Use the GraphQL Wire Adapter

Retrieve specific records, fields, and object information in a single server call using the GraphQL wire adapter. With built-in shared caching, Lightning Data Service manages your data and you don’t need different wire adapters for each GraphQL query you define.

The GraphQL wire adapter provides access to the Salesforce GraphQL API, enabling you to work with UI API enabled objects with the object-level security and field-level security of the context user. The schema exposed by the GraphQL API dictates what you can do with the GraphQL wire adapter.

The GraphQL wire adapter supports the same capabilities as the GraphQL API, except as noted in [GraphQL API Wire Adapter Limitations](https://developer.salesforce.com/docs/platform/graphql/guide/graphql-wire-lwc-limitations.md).

To get started, you can view the schema for your org using the [Altair GraphQL Client](https://developer.salesforce.com/docs/platform/graphql/get-started-graphql.md). The client provides a query editor that includes field auto-completion, enabling you to add fields easily for a given type on any Salesforce object. We recommend that you use this client to help you build your queries quickly and accurately.

**tip:** The [lwc-recipes repo](https://github.com/trailheadapps/lwc-recipes) presents helpful examples to help you quickly get started on the GraphQL wire adapter.

This documentation assumes that you already have your [LWC development environment set up](https://developer.salesforce.com/docs/platform/lwc/guide/install-setup-develop.html).
