wiki-apis

Guide REST vs Action API selection for Wikimedia data tasks.

7|6|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/wikimedia/ProtoWiki --skill wiki-apis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wiki-apis
Source: https://github.com/wikimedia/ProtoWiki/tree/main/.agents/skills/wiki-apis
Command: npx skills add https://github.com/wikimedia/ProtoWiki --skill wiki-apis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

Clarifies when to use Wikimedia REST vs Action API and provides safe, offline references to help frontend developers fetch live data or validate API behavior without direct experimentation.

Core Features & Use Cases

  • Clear guidance on REST vs Action API selection for common tasks (page HTML, summaries, edits, queries, typeahead, etc.).
  • Offline schema snapshots and a small script to refresh REST OpenAPI specs and Action paraminfo for offline development and reproducibility.
  • ProtoWiki integration notes that map endpoints to components and emphasize etiquette, authentication, and rate-limiting practices.

Quick Start

Run the snapshot script to generate offline REST and Action API schemas and review them in assets/snapshots.

Frequently Asked Questions about wiki-apis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
When should I use the Wikimedia REST API versus the Action API?

Use the Wikimedia REST API for reading page HTML and summaries, and the Action API for queries, edits, and typeahead. This Skill provides curated guidance to distinguish their scopes for frontend development and prototyping.

How do I get offline OpenAPI specs for Wikimedia API development?

Run the provided snapshot script to generate offline REST OpenAPI specs and Action paraminfo schemas. These snapshots allow you to validate API behavior and develop reproducibly without direct network experimentation.

Can I prototype Wikipedia and Wikidata integrations without making live API calls?

Yes, you can prototype across multiple Wikimedia deployments using offline schema snapshots. This Skill supplies safe, offline references for Wikipedia, Wikidata, and Commons to validate API behavior during development.

What's the best way to map Wikimedia API endpoints to frontend components?

Review the ProtoWiki integration notes to map REST and Action API endpoints to frontend components. This guidance emphasizes proper API etiquette, authentication, and rate-limiting practices for live data consumption.

Does this Skill provide OpenAPI references for Wikimedia Commons?

Yes, the Skill applies to multiple Wikimedia deployments including Wikipedia, Wikidata, and Commons. It enforces a curated scope and provides offline schema snapshots for validating API behavior across these platforms.