List Wikipedia page revisions
List a Wikipedia page's revisions with users, sizes and tags; a reversed date window is swapped for the chosen direction.
Headers
Get your API keyAPI key (`sfk_...`)
Page title on the chosen edition, e.g. `Albert Einstein`, `C++` or `Talk:Barack Obama`. URL-encode it in the path.
Wikimedia edition code, e.g. `en`, `de`, `ja`, `simple` or `zh-min-nan`. Default: `en`.
Rows per page, 1 to 500. Default: 50.
≥ 1 · ≤ 500
Cursor from `page.nextCursor` of the previous response. It only works with the same filters.
min 1 chars · max 2048 chars
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.
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.
Direction from `from`: `older` (default) or `newer`. A reversed `from`/`to` window is swapped for the chosen direction.
one of: older, newer
Endpoint-specific response payload.
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
Edition code.
The resolved title.
Page id.
Revisions in this page of the walk.
Revision id.
Parent revision id.
Whether the edit was minor.
Whether a bot made the edit.
Whether an IP editor made it.
Whether a temporary account made the edit.
User name.
User id; null when hidden.
When it was saved, ISO 8601.
Page size after the edit.
Content hash.
Content model.
Edit summary.
Change tags.
Revision flags, if any.
Pagination state. `nextCursor` is null on the last page.
Whether another page is available.
Cursor to pass in the next request when more pages exist; null on the last page.
Whether the answer is a valid empty result rather than missing.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/wikipedia/pages/Albert%20Einstein/revisions?limit=10" \
-H "x-api-key: YOUR_API_KEY"Responses
List Wikipedia page revisions