MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

list=checkuser (cu)

(main | query | checkuser)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: CheckUser
  • License: GPL-2.0-or-later

Check which IP addresses are used by a given username or which usernames are used by a given IP address.

Parameters:
curequest

Type of CheckUser request:

userips
Get IP address of target user.
edits
Get changes from target IP address or range.
ipusers
Get users from target IP address or range.
This parameter is required.
One of the following values: userips, edits, ipusers
cutarget

Username, IP address, or CIDR range to check.

This parameter is required.
cureason

Reason to check.

culimit

Limit of rows.

No more than 500 (5,000 for bots) allowed.
Type: integer or max
Default: 1000
cutimecond

Time limit of user data (like "-2 weeks" or "2 weeks ago").

Default: -2 weeks
cuxff

Use XFF data instead of IP address.

cutoken

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.