Wikipedia

List Wikipedia user contributions

List a Wikipedia user's contributions with sizes, comments, tags and flags.

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

API key (`sfk_...`)

Parameters
7
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`.

namespaceintegeroptionalquery

Namespace id, e.g. `0` for articles or `14` for categories.

≥ -2 · ≤ 999

fromstringoptionalquery

Start of the window as a real `YYYY-MM-DD` day (read as midnight UTC) or a full ISO 8601 date-time with a zone.

tostringoptionalquery

End of the window as a real `YYYY-MM-DD` day (read as midnight UTC) or a full ISO 8601 date-time with a zone.

limitintegeroptionalquery

Rows per page, 1 to 500. Default: 50.

≥ 1 · ≤ 500

cursorstringoptionalquery

Cursor from `page.nextCursor` of the previous response. It only works with the same filters.

min 1 chars · max 2048 chars

Response fields
30

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.

dataname
string

User name.

Contributions in this page of the walk.

datacontributions[]userId
integernullable

User id.

datacontributions[]user
stringnullable

User name.

datacontributions[]temp
boolean

Whether a temporary account made the edit.

datacontributions[]pageId
integernullable

Page id.

datacontributions[]revId
integernullable

Revision id.

datacontributions[]parentId
integernullable

Parent revision id.

datacontributions[]ns
integernullable

Namespace id.

datacontributions[]title
string

Title.

datacontributions[]timestamp
stringnullable

When it was saved.

datacontributions[]new
booleannullable

Whether it created the page.

datacontributions[]minor
booleannullable

Whether it was minor.

datacontributions[]top
booleannullable

Whether it is the latest revision.

datacontributions[]comment
stringnullable

Edit summary.

datacontributions[]size
integernullable

Page size after.

datacontributions[]sizeDiff
integernullable

Bytes changed.

Change tags.

datacontributions[]tags[]
stringoptional

Pagination state. `nextCursor` is null on the last page.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Cursor to pass in the next request when more pages exist; null on the last page.

dataempty
boolean

Whether the answer is a valid empty result rather than missing.

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/contributions" \
  -H "x-api-key: YOUR_API_KEY"

Responses

List Wikipedia user contributions