# Math API

> Math API skill. Use when working with Math for media. Covers 3 endpoints.

- Skill: `lap-platform/math-api` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add lap-platform/math-api`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lap-platform/math-api/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: Lap-Platform (https://skillmd.com/u/lap-platform)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/lap-platform/math-api

---


# Math API
API version: 1.0.0

## Auth
ApiKey cookie in header

## Base URL
https://wikimedia.org/api/rest_v1

## Setup
1. Set your API key in the appropriate header
2. GET /media/math/formula/{hash} -- verify access
3. POST /media/math/check/{type} -- create first check

## Endpoints

3 endpoints across 1 groups. See references/api-spec.lap for full details.

### media
| Method | Path | Description |
|--------|------|-------------|
| POST | /media/math/check/{type} | Check and normalize a TeX formula. |
| GET | /media/math/formula/{hash} | Get a previously-stored formula |
| GET | /media/math/render/{format}/{hash} | Get rendered formula in the given format. |

## Common Questions

Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "Get formula details?" -> GET /media/math/formula/{hash}
- "Get render details?" -> GET /media/math/render/{format}/{hash}
- "How to authenticate?" -> See Auth section

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints typically return the created/updated object

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)

