Page

A MediaWiki page object.

Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen SourceNon-Profit

Properties

Name Type Description
id integer Page ID
key string Page DB key (URL form)
title string Display title
latest object
content_model string
license object
html_url string
source string Page wikitext source
html string Rendered HTML
View JSON Schema on GitHub

JSON Schema

mediawiki-core-rest-page-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikipedia/refs/heads/main/json-schema/mediawiki-core-rest-page-schema.json",
  "title": "Page",
  "description": "A MediaWiki page object.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "example": 9228,
      "description": "Page ID"
    },
    "key": {
      "type": "string",
      "example": "Earth",
      "description": "Page DB key (URL form)"
    },
    "title": {
      "type": "string",
      "example": "Earth",
      "description": "Display title"
    },
    "latest": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "example": 1356767710,
          "description": "Revision ID"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "example": "2026-05-29T18:21:47Z"
        }
      }
    },
    "content_model": {
      "type": "string",
      "example": "wikitext"
    },
    "license": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "example": "https://creativecommons.org/licenses/by-sa/4.0/"
        },
        "title": {
          "type": "string",
          "example": "Creative Commons Attribution-Share Alike 4.0"
        }
      }
    },
    "html_url": {
      "type": "string",
      "format": "uri"
    },
    "source": {
      "type": "string",
      "description": "Page wikitext source"
    },
    "html": {
      "type": "string",
      "description": "Rendered HTML"
    }
  }
}