summary

summary schema from Wikimedia REST API

Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen-SourceNon-Profit

Properties

Name Type Description
titles object
title string The page title. Deprecated: Use `titles.normalized` instead.
displaytitle string The page title how it should be shown to the user. Deprecated: Use `titles.display` instead.
pageid integer The page ID
extract string First several sentences of an article in plain text
extract_html string First several sentences of an article in simple HTML format
thumbnail object
originalimage object
lang string The page language code
dir string The page language direction code
timestamp string The time when the page was last edited in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
description string Wikidata description for the page
coordinates object The coordinates of the item
View JSON Schema on GitHub

JSON Schema

rest-v1-summary-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/rest-v1-summary-schema.json",
  "title": "summary",
  "description": "summary schema from Wikimedia REST API",
  "type": "object",
  "properties": {
    "titles": {
      "$ref": "#/components/schemas/titles_set"
    },
    "title": {
      "deprecated": true,
      "type": "string",
      "description": "The page title.\nDeprecated: Use `titles.normalized` instead.\n"
    },
    "displaytitle": {
      "deprecated": true,
      "type": "string",
      "description": "The page title how it should be shown to the user.\nDeprecated: Use `titles.display` instead.\n"
    },
    "pageid": {
      "type": "integer",
      "description": "The page ID"
    },
    "extract": {
      "type": "string",
      "description": "First several sentences of an article in plain text"
    },
    "extract_html": {
      "type": "string",
      "description": "First several sentences of an article in simple HTML format"
    },
    "thumbnail": {
      "$ref": "#/components/schemas/thumbnail"
    },
    "originalimage": {
      "$ref": "#/components/schemas/originalimage"
    },
    "lang": {
      "type": "string",
      "description": "The page language code",
      "example": "en"
    },
    "dir": {
      "type": "string",
      "description": "The page language direction code",
      "example": "ltr"
    },
    "timestamp": {
      "type": "string",
      "description": "The time when the page was last edited in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format",
      "example": {}
    },
    "description": {
      "type": "string",
      "description": "Wikidata description for the page",
      "example": "American poet"
    },
    "coordinates": {
      "type": "object",
      "description": "The coordinates of the item",
      "properties": {
        "lat": {
          "type": "number",
          "description": "The latitude"
        },
        "lon": {
          "type": "number",
          "description": "The longitude"
        }
      },
      "required": [
        "lat",
        "lon"
      ]
    }
  },
  "required": [
    "dir",
    "extract",
    "lang",
    "titles"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/rest-v1-summary"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.