# Chinese Wikipedia Article Search

Search Wikipedia Article via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Wikimedia, pass parameters such as limit, q, and retrieve structured data including article page identifier, article key, article title, search excerpt, and short description to build a reference search, find article identifiers, and separate language collections.

Documentation: https://openany.si/market/apis/wikipedia/wikipedia-article-search-capability/?offering=7eb21f84-9459-482a-854b-8c7ee496893e
API ID: 7eb21f84-9459-482a-854b-8c7ee496893e
Provider: wikimedia
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/wikimedia/zh/search
Page update time: 2026-12-03T02:36:59.682Z
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.733Z. 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 Search 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": {
        "q": {
          "type": "string",
          "description": "Search keywords."
        },
        "limit": {
          "type": "integer",
          "description": "Maximum number of search results.",
          "minimum": 1,
          "maximum": 20
        }
      },
      "required": [
        "q",
        "limit"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "pages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "anchor": {
            "type": "null"
          },
          "description": {
            "type": "string"
          },
          "excerpt": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "key": {
            "type": "string"
          },
          "matched_title": {
            "type": "null"
          },
          "thumbnail": {
            "type": "object",
            "properties": {
              "duration": {
                "type": "null"
              },
              "height": {
                "type": "integer"
              },
              "mimetype": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "width": {
                "type": "integer"
              }
            }
          },
          "title": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/wikimedia/zh/search?limit=1&q=%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
{
  "pages": [
    {
      "anchor": null,
      "description": "太陽系中距離太陽第三近的行星",
      "excerpt": "XL5），但仍有大量近地天体可能会受<span class=\"searchmatch\">地球</span>引力影响而靠近甚至穿越<span class=\"searchmatch\">地球</span>轨道。<span class=\"searchmatch\">地球</span>仅有一顆真正意义上的天然卫星——月球，在其形成后不久就已被潮汐锁定；另外还有七个已知的越地小行星因公转周期与<span class=\"searchmatch\">地球</span>相近而被视作准卫星。 <span class=\"searchmatch\">地球</span>形成于约45.4亿年前，在形成后不久曾遭到同轨道另一矮行星撞击（忒伊亚大碰撞），导致原始<span class=\"searchmatch\">地球</span>",
      "id": 5414300,
      "key": "地球",
      "matched_title": null,
      "thumbnail": {
        "duration": null,
        "height": 60,
        "mimetype": "image/png",
        "url": "//thumb.wikimedia.org/wikipedia/commons/thumb/5/57/Earth_in_True_Color_from_Himawari_9.png/60px-Earth_in_True_Color_from_Himawari_9.png?utm_source=zh.wikipedia.org&utm_campaign=rest&utm_content=thumbnail",
        "width": 60
      },
      "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-search-capability/?offering=68c55d6d-b6e5-4110-945c-54b2e17a2662
- wikimedia: https://openany.si/market/apis/wikipedia/wikipedia-article-search-capability/?offering=7eb21f84-9459-482a-854b-8c7ee496893e

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