API:Categorymembers

List of pages that belong to a given category, ordered by page sort title.

Parameters

 * : The category to enumerate
 * : Only list pages in these namespaces
 * : Start listing at this timestamp. Can only be used with
 * : End listing at this timestamp. Can only be used with
 * : Start listing at this hexadecimal sortkey. Can only be used with
 * : End listing at this hexadecimal sortkey. Can only be used with
 * : Start listing at this sortkey prefix. Can only be used with . Overrides
 * : End listing before (not at) this sortkey prefix (if this value occurs it will not be included). Can only be used with . Overrides
 * : Property to sort by
 * : The article's sort key (default)
 * : The time the article was added to the category
 * : Direction to sort in
 * : From A to Z or from 2002 to 2024. Note: cmstart has to be before cmend
 * : From Z to A or from 2024 to 2002 Note: cmstart has to be later than cmend
 * : Maximum amount of pages to list (10 by default, "max" provides all members (up to 500 for normal accounts, 5000 for bot accounts))
 * : Which properties to get
 * : page ID (default)
 * : page title (default)
 * : the sortkey used for sorting in the category (hexadecimal string)
 * : the sortkey prefix used for sorting in the category (human-readable part of the sortkey)
 * : time and date the article was added to the category
 * : Used to continue a previous request. Format of cmcontinue is "type|hexsortkey|pageid". When used to continue query then new cmstartsortkey value is decoded value of hexsortkey.

Error Codes

 * code: cmnotitle
 * info: The cmtitle parameter is required
 * code: cminvalidcategory
 * info: The category name you entered is not valid
 * code: cmbadcontinue
 * info: Invalid continue param. You should pass the original value returned by the previous query