# Wikipedia Chinese-to-English Link API

Get Wikipedia Chinese-to-English Link data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Wikimedia, pass parameters such as action, format, formatversion, and retrieve structured data including chinese source article title, linked language code, linked English article title, and english article URL to build bilingual navigation, align reference records, and continue reading in english.

Documentation: https://openany.si/wikipedia/wikipedia-chinese-to-english-article-link/
API ID: d4081181-c4c9-41da-9c0a-429dfa4af091
Provider: wikimedia
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/wikimedia/zh/article-en
Page update time: 2026-12-03T02:37:02.182Z
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
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:37:02.182Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Wikipedia Chinese-to-English Link API

Request prop=langlinks from the Chinese endpoint with lllang=en and llprop=url. English link records appear under query.pages\[\].langlinks when a corresponding language link exists.

## What You Can Build

- **Build bilingual navigation**: Offer the corresponding English article when linked.
- **Align reference records**: Retain Chinese and English article identities together.
- **Continue reading in English**: Pass the returned title into a separate English content lookup.

## Returned Data

| Field | Meaning |
| --- | --- |
| `query.pages[].title` | Chinese source article title |
| `query.pages[].langlinks[].lang` | Linked language code |
| `query.pages[].langlinks[].title` | Linked English article title |
| `query.pages[].langlinks[].url` | English article URL |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Wikipedia Chinese-to-English Link API 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": "Set this parameter to query.",
          "enum": [
            "query"
          ]
        },
        "prop": {
          "type": "string",
          "description": "Set this parameter to langlinks.",
          "enum": [
            "langlinks"
          ]
        },
        "lllang": {
          "type": "string",
          "description": "Set this parameter to en.",
          "enum": [
            "en"
          ]
        },
        "llprop": {
          "type": "string",
          "description": "Set this parameter to url.",
          "enum": [
            "url"
          ]
        },
        "format": {
          "type": "string",
          "description": "Set this parameter to json.",
          "enum": [
            "json"
          ]
        },
        "formatversion": {
          "type": "string",
          "description": "Set this parameter to 2.",
          "enum": [
            "2"
          ]
        },
        "titles": {
          "type": "string",
          "description": "Chinese Wikipedia article title."
        }
      },
      "required": [
        "action",
        "prop",
        "lllang",
        "llprop",
        "format",
        "formatversion",
        "titles"
      ]
    },
    "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": {
              "langlinks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "lang": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "url": {
                      "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-en?action=query&format=json&formatversion=2&lllang=en&llprop=url&prop=langlinks&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": [
      {
        "langlinks": [
          {
            "lang": "en",
            "title": "Earth",
            "url": "https://en.wikipedia.org/wiki/Earth"
          }
        ],
        "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.

## Common questions
### Does this translate the Chinese article?
No. It returns an existing English language link; it does not translate article text.

### Can I choose a target language other than English?
No. lllang is fixed to en in this request contract.

### What should I send as titles?
Use a Chinese Wikipedia article title, such as 地球.

### Is an English counterpart guaranteed?
No. Handle a missing language link without inventing a corresponding page.

### Is the English article text included?
No. Follow the URL or request English article content separately.

### Are linked articles guaranteed to contain identical information?
No. Language editions can differ in scope and content; a link associates articles rather than asserting identical text.

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