# Mission for HIRE - API surface

> The REST surface only. Keyless, open CORS, JSON. Every price comes from the same resolver as the pages and the MCP tools. An agent on an API task should not pay for the rest of the site.

## Endpoints

- [Quote](https://missionforhire.aplusz.app/api/quote?mission=grave-visit&city=lyon): GET /api/quote?mission={slug}&city={slug}, both required, one priced answer
- [Missions](https://missionforhire.aplusz.app/api/missions): the mission list, each phrased as the question it answers
- [Cities](https://missionforhire.aplusz.app/api/cities): the cities already priced
- [Pricing formula](https://missionforhire.aplusz.app/api/pricing): day rate, premiums, travel bands, and the live base
- [Estimate](https://missionforhire.aplusz.app/api/estimate?city=lyon&days=1&intensity=none&arrangement=some): any mission shape for a listed city or exact lat/lng
- [Search](https://missionforhire.aplusz.app/api/search?q=grave%20lyon): which missions and cities match a phrase, with from-prices
- [oEmbed](https://missionforhire.aplusz.app/api/oembed?url=https%3A%2F%2Fmissionforhire.aplusz.app%2Fen%2Fgrave-visit%2Flyon): an embeddable answer for any city page
- [OpenAPI](https://missionforhire.aplusz.app/openapi.json): the spec
- [Status](https://missionforhire.aplusz.app/status.json): distinguishes down from does-not-exist

## Rules

- Quote: mission and city are both required, neither alone is a valid answer; every price carries basis indicative, and flights, lodging and local transport are client-funded on top
- Prices move with the operator's live base (Dumaguete, Philippines); read priced_from and distance_km_from_base, never assume a fixed origin
