--- title: appByKey - GraphQL Admin description: |- Fetches an app by its client ID. Returns null if the app doesn't exist. api_version: 2025-10 api_name: admin type: query api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/queries/appbykey md: https://shopify.dev/docs/api/admin-graphql/latest/queries/appbykey.md --- # app​By​Key query Fetches an app by its client ID. Returns null if the app doesn't exist. ## Arguments * api​Key [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) required Client ID of the app. *** ## Possible returns * App [App](https://shopify.dev/docs/api/admin-graphql/latest/objects/App) A Shopify application. *** ## Examples * ### appByKey reference ## Query Reference ```graphql { appByKey(apiKey) { # appByKey fields } } ```