App Details
A utility endpoint that retrieves detailed information about an application using its unique identifier (e.g.,morpho
).
appDetailsById
This endpoint is particularly useful when working with other queries such as app balances. For example, you can use the appId
returned in appBalances
to fetch additional details about any particular application.
Example Use Case: Application Metadata
When you need to fetch application details, such as:
- Display name
- Description
- Website URL
- Logo image
- Category information
- Social media links
Example Variables
{
"appId": "morpho"
}
Example Query
query AppDetailsById($appId: String!) {
appDetailsById(appId: $appId) {
displayName
description
url
slug
imgUrl
category {
name
slug
}
}
}
Example Response
{
"data": {
"appDetailsById": {
"displayName": "Morpho",
"description": "Earn yield, borrow assets, curate markets and vaults.",
"url": "https://morpho.org/",
"slug": "morpho",
"imgUrl": "https://storage.googleapis.com/zapper-fi-assets/apps%2Fmorpho.png",
"category": {
"name": "DeFi",
"slug": "defi"
}
}
}
Arguments
Argument | Description | Type |
---|---|---|
appId | The unique identifier of the application | String! |
Fields
App Fields
Field | Description | Type |
---|---|---|
displayName | The typical display name of the application | String! |
description | Description of the application | String! |
url | Application website | String |
imgUrl | Application image URL | String! |
slug | Unique application slug also known as appId | String! |
links | Application links | AppLinks |
categoryId | Category ID | Int |
category | Application category | AppCategoryObject |
twitterUrl | Twitter profile URL | String |
farcasterUrl | Farcaster profile URL | String |
createdAt | Creation timestamp | Timestamp! |