Wikipedia

Get Wikipedia user

Get a Wikipedia user's block, groups, edit count, registration date, gender and central ids.

GET/v1/wikipedia/users/{name}
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
namestringrequiredpath

User name on the edition, e.g. `Jimbo Wales` or `ClueBot NG`. A profile URL is not accepted. An IP address has no user record; use the contributions route for its edits.

min 1 chars · max 255 chars

langstringoptionalquery

Wikimedia edition code, e.g. `en`, `de`, `ja`, `simple` or `zh-min-nan`. Default: `en`.

Response fields
25

Endpoint-specific response payload.

datalookupStatus
string

Whether the entity, page or data set exists. A missing entity is `not_found`; an existing entity with no rows is `found` with `empty: true`.

one of: found, not_found

datalang
string

Edition code.

The user when found; otherwise null.

datauseruserId
integernullable

User id.

datausername
string

User name.

datausereditCount
integernullable

Edits.

≥ 0

datauserregistration
stringnullable

When the account registered.

Groups the user belongs to.

datausergroups[]
stringoptional

Group membership with expiry.

datausergroupMemberships[]group
string

Group name.

datausergroupMemberships[]expiry
stringnullable

When it expires.

datausergender
stringnullable

Gender the user set.

datausercentralIds
object

CentralAuth and local ids.

datauserblockId
integernullable

Block id, when blocked.

datauserblockReason
stringnullable

Why the user is blocked.

datauserblockExpiry
stringnullable

When the block expires.

datauserblockedBy
stringnullable

Who blocked the user.

datauserblockedById
integernullable

Id of the blocker.

datauserblockPartial
booleannullable

Whether the block is partial.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/wikipedia/users/Jimbo%20Wales" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Get Wikipedia user