App Details
A utility endpoint that retrieves detailed information about an application using its unique database ID.
appByDatabaseId
Takes an application's database ID as input and returns comprehensive information about the application. This endpoint is useful when you need to fetch application details using its unique identifier.
Example Use Case: Application Metadata
When you need to fetch application details, such as:
- Display name
- Category (DeFi, Social, Gaming, etc.)
- URL
- Logo image
Example Variables
{
"id": 427
}
Example Query
query AppByDatabaseId($appByDatabaseIdId: Int!) {
appByDatabaseId(id: $appByDatabaseIdId) {
databaseId
displayName
url
slug
imgUrl
category {
name
slug
}
}
}
Example Response
{
"data": {
"appByDatabaseId": {
"databaseId": 165,
"displayName": "Morpho",
"url": "https://morpho.org/",
"slug": "morpho",
"imgUrl": "https://storage.googleapis.com/zapper-fi-assets/apps/morpho.png",
"category": {
"name": "DeFi",
"slug": "defi"
}
}
}
}
Arguments
Argument | Description | Type |
---|---|---|
id | The unique ID of the application | Int! |
Fields
App Fields
Field | Description | Type |
---|---|---|
databaseId | Unique application ID | Int! |
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 | 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! |