# Wikipedia Most-Viewed Articles API

Get Wikipedia Most-Viewed Articles data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Wikimedia, configure supported query parameters and filters, and retrieve structured data including wikimedia project identifier, article title key, pageview rank, and requested day to build a readership ranking, compare daily snapshots, and choose research subjects.

Documentation: https://openany.si/market/apis/wikipedia/wikipedia-most-viewed-articles/
API ID: 4347c94d-72dc-4c55-9659-be02ba6fb632
Provider: wikimedia
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/wikimedia/analytics/top/{project}/{year}/{month}/{day}
Page update time: 2026-12-03T02:37:00.458Z
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:37:00.458Z. 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": "Wikipedia Most-Viewed Articles 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": {
        "project": {
          "type": "string",
          "description": "Wikipedia project domain, such as en.wikipedia.org."
        },
        "year": {
          "type": "string",
          "description": "Four-digit UTC year."
        },
        "month": {
          "type": "string",
          "description": "Two-digit UTC month."
        },
        "day": {
          "type": "string",
          "description": "Two-digit UTC day."
        }
      },
      "required": [
        "project",
        "year",
        "month",
        "day"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "access": {
            "type": "string"
          },
          "articles": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "article": {
                  "type": "string"
                },
                "rank": {
                  "type": "integer"
                },
                "views": {
                  "type": "integer"
                }
              }
            }
          },
          "day": {
            "type": "string"
          },
          "month": {
            "type": "string"
          },
          "project": {
            "type": "string"
          },
          "year": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/wikimedia/analytics/top/en.wikipedia.org/2026/10/01' \
  -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
{
  "items": [
    {
      "access": "all-access",
      "articles": [
        {
          "article": "Main_Page",
          "rank": 1,
          "views": 6672618
        },
        {
          "article": "Christa_Pike",
          "rank": 2,
          "views": 4309025
        },
        {
          "article": "Special:Search",
          "rank": 3,
          "views": 897019
        }
      ],
      "day": "01",
      "month": "10",
      "project": "en.wikipedia",
      "year": "2026"
    }
  ]
}
```

## 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.

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