API & MCP
Everything a person can do on Pinball Flipper Shot Map, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://pinquestshotmap.usefulweb.app/api/v1/calculate– run Pinball Flipper Shot MapGET https://pinquestshotmap.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Pinball Flipper Shot Map
Places a resting ball at evenly spaced spots along a flipper of a Pinquest table (built-in or your own JSON), fires the flipper with the game physics and shows where each shot goes: launch speed and angle, the path over 2.5 seconds and the first switches it hits. Table designers use it to check that ramps, orbits and targets are makeable.
| Field | Type | Default | Description |
|---|---|---|---|
table | select (witch-castle, zombie-night, pirate-treasure, space-station, dragon-lair, haunted-circus, deep-sea, jungle-temple, steampunk-airship, ninja-dojo, wild-west-heist, alien-invasion, dinosaur-islan | "witch-castle" | Table |
tableJson | textarea | — | Your own table (Pinquest table JSON, optional — replaces the table above). The format is described in the Pinquest table spec: elements (walls, flippers, bumpers, ramps …) in table units (20 × 40), lights and rules with missions. |
flipper | text | — | Flipper id (empty = the main left flipper) |
spots | integer | 8 | Spots along the flipper |
Example request
Left flipper of the castle table
curl -X POST https://pinquestshotmap.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"table":"witch-castle","tableJson":"","flipper":"","spots":8}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://pinquestshotmap.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
pinquest_shot_map - Local stdio connector:
node src/mcp-stdio.ts --tool=pinquest-shot-map
{
"mcpServers": {
"pinquest-shot-map": { "type": "http", "url": "https://pinquestshotmap.usefulweb.app/mcp" }
}
}