# Chinese Wikipedia Article Introduction

Get Wikipedia Article Content data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Wikimedia, pass parameters such as action, exchars, exintro, and retrieve structured data including action API batch-completion indicator, article page identifier, article namespace, resolved article title, and introductory plain-text extract to build an english article reader, show a chinese introduction, and retain source context.

Documentation: https://openany.si/market/apis/wikipedia/wikipedia-article-content-capability/?offering=f52bd4aa-11e7-44f8-9e76-0a7fcd83cdf7
API ID: f52bd4aa-11e7-44f8-9e76-0a7fcd83cdf7
Provider: wikimedia
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/wikimedia/zh/article-intro
Page update time: 2026-12-03T02:36:59.702Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:36:39.917Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Chinese Wikipedia Article Introduction request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "action": {
          "type": "string",
          "description": "Select the read-only query action.",
          "enum": [
            "query"
          ]
        },
        "prop": {
          "type": "string",
          "description": "Request article text extracts.",
          "enum": [
            "extracts"
          ]
        },
        "exintro": {
          "type": "string",
          "description": "Return the lead section only.",
          "enum": [
            "1"
          ]
        },
        "explaintext": {
          "type": "string",
          "description": "Return plain text in the extract field.",
          "enum": [
            "1"
          ]
        },
        "format": {
          "type": "string",
          "description": "Return a JSON response.",
          "enum": [
            "json"
          ]
        },
        "formatversion": {
          "type": "string",
          "description": "Use JSON format version 2.",
          "enum": [
            "2"
          ]
        },
        "redirects": {
          "type": "string",
          "description": "Resolve Wikipedia title redirects.",
          "enum": [
            "1"
          ]
        },
        "titles": {
          "type": "string",
          "description": "One Chinese Wikipedia article title. Do not use the pipe character to combine titles.",
          "minLength": 1,
          "maxLength": 255
        },
        "exchars": {
          "type": "integer",
          "description": "Requested extract length in characters, from 1 to 500. MediaWiki may return a few extra characters.",
          "minimum": 1,
          "maximum": 500
        }
      },
      "required": [
        "action",
        "prop",
        "exintro",
        "explaintext",
        "format",
        "formatversion",
        "redirects",
        "titles",
        "exchars"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "batchcomplete": {
      "type": "boolean"
    },
    "query": {
      "type": "object",
      "properties": {
        "pages": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "extract": {
                "type": "string"
              },
              "ns": {
                "type": "integer"
              },
              "pageid": {
                "type": "integer"
              },
              "title": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/wikimedia/zh/article-intro?action=query&exchars=180&exintro=1&explaintext=1&format=json&formatversion=2&prop=extracts&redirects=1&titles=%E5%9C%B0%E7%90%83' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "batchcomplete": true,
  "query": {
    "pages": [
      {
        "extract": "地球是太阳系中由內向外的第三顆行星，与太阳平均距离149,597,870公里（1天文單位），位于太阳系宜居带正中位置。地球质量约为5.972×1024公斤，平均半径约6,371公里，平均密度5.52g/cm3，是太阳系最大的一个岩石行星，也是太阳系所有天体中密度最高的。地球同时进行自转和公转运动，每自转一次为一太阳日（即一昼夜），每公转一周为一太阳年；地球自转的轨道面称为赤道面…",
        "ns": 0,
        "pageid": 5414300,
        "title": "地球"
      }
    ]
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- wikimedia: https://openany.si/market/apis/wikipedia/wikipedia-article-content-capability/?offering=cae19924-d293-4b05-bdb4-88f569baa210
- wikimedia: https://openany.si/market/apis/wikipedia/wikipedia-article-content-capability/?offering=f52bd4aa-11e7-44f8-9e76-0a7fcd83cdf7

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
