---
schema_version: "1"
id: 8bd0210f8a53fe97c6527ad2ed8577521fdbc3d9860347923104c9925b9046cf
title: UI Object Info API
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lightning-base-components/lightning-design-system/guides/lwc/components/lightning/uiObjectInfoApi/lightning-ui-object-info-api.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/lightning-ui-object-info-api.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2fd5f26d4fcd7e1d4f5cce8bca12a06462cc69b35f6d60eebae5d7244f581ba8
products:
  - Lightning Component Reference
---
# UI Object Info API

**`lightning/uiObjectInfoApi`**

Get object metadata and picklist values.

**For Use In**

Lightning Experience, Experience Builder Sites, Salesforce Mobile App

::::::tabset{tabs='[ "Develop", "Specifications" ]'}

:::::tab
The `lightning/uiObjectInfoApi` module includes wire adapters to get object metadata and picklist values. The wire adapters are:

- getObjectInfo
- getObjectInfos
- getPicklistValues
- getPicklistValuesByRecordType

For this module's specification and examples, see the [Lightning Web Components Developer Guide](https://developer.salesforce.com/docs/platform/lwc/guide/reference-lightning-ui-api-object-info).

## LWC Recipes

The [LWC Recipes GitHub repository](https://github.com/trailheadapps/lwc-recipes) contains code examples for Lightning Web Components that you can test in an org.

For a recipe that uses `lightning/uiObjectInfoApi`, see the following components in the LWC Recipes repo.

- `c-wire-get-object-info`
- `c-wire-get-picklist-values`
- `c-wire-get-picklist-values-by-record-type`

:::::

:::::tab
::component-specification{component="uiObjectInfoApi" model="lwc" namespace="lightning"}

:::::

::::::
