Skip to content

Instantly share code, notes, and snippets.

@woctezuma
Last active November 7, 2023 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woctezuma/8ad7f2b51f0140556f0f610ddbc970a4 to your computer and use it in GitHub Desktop.
Save woctezuma/8ad7f2b51f0140556f0f610ddbc970a4 to your computer and use it in GitHub Desktop.
EGS getCatalogItem() and catalogItemQuery()
{
Catalog {
catalogItem(namespace: $namespace, id: $id, locale: $locale) {
id
namespace
title
keyImages {
type
url
}
categories {
path
}
releaseInfo {
appId
platform
compatibleApps
}
customAttributes {
key
value
}
dlcItemList {
id
}
mainGameItem {
id
}
offers {
urlSlug
}
}
}
}
@woctezuma
Copy link
Author

woctezuma commented Jul 18, 2023

https://store.epicgames.com/graphql?query={Catalog {catalogItem(namespace: "", id: "") {id namespace title keyImages {type url} categories {path} releaseInfo {appId platform compatibleApps} customAttributes {key value} dlcItemList {id} mainGameItem {id} offers {urlSlug}}}} 

where namespace and id are found in items:

"items": [
    {
        "id": "2e3da26cd0534a1da61eeaee2cfdfc74",
        "namespace": "80be39e522204fd0942916d73234d044"
    }
]

For instance, at https://store-site-backend-static-ipv4.ak.epicgames.com/freeGamesPromotions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment