Get Content Hub Json - Revadike/InternalSteamWebAPI GitHub Wiki

GET /contenthub/ajaxgetcontenthubjson

Returns the raw JSON definition of a Steam Content Hub: the localized artwork and labels, sale sections and section groups that describe how the hub page is laid out.

Rate limits

No known rate limit

Request

Authenticated: No

Method: GET

Host: store.steampowered.com

Path: /contenthub/ajaxgetcontenthubjson

Query Parameters:

Name Type Required Description
hubtype string No The content hub type (e.g. category)
category string No The content hub category (used when hubtype=category)

Response

200 OK

Name Type Description
success number Whether the request was successful
jsondata string The content hub definition as a JSON-encoded string. When parsed, it is an object whose keys include the per-language artwork and label arrays (localized_subtitle, localized_summary, localized_title_image, localized_capsule_image), bSaleEnabled, sale_show_creator, sale_sections[] (each with section_type, unique_id, default_label, capsules[], events[], links[]), sale_vanity_id, source_content_hub ({type, category}), contenthub_section_groups[], referenced_appids[], auto_item_tags[], bBroadcastEnabled, bScheduleEnabled, scheduleEntries[] and valve_access_log[].

Example

GET https://store.steampowered.com/contenthub/ajaxgetcontenthubjson
{
    "success": 1,
    "jsondata": "{\"bSaleEnabled\":true,\"sale_show_creator\":false,\"sale_vanity_id\":\"contenthubsalepage_default\",\"source_content_hub\":{\"type\":\"category\",\"category\":\"shmup\"},\"sale_sections\":[{\"section_type\":\"contenthubpartnertakeover\",\"unique_id\":84601,\"default_label\":\"#Sale_default_label\",\"capsules\":[],\"events\":[],\"links\":[]},{\"section_type\":\"contenthubtitle\",\"unique_id\":56339,\"default_label\":\"#Sale_default_label\",\"capsules\":[],\"events\":[],\"links\":[]}], ...}"
}