# Finding a service

Four machine-readable surfaces, same catalog.

## Catalog JSON

    GET /api/services?limit=20&offset=0
    GET /api/services?q=captcha            # word match, semantic fallback
    GET /api/services?category=crypto
    GET /api/services/<id>                 # one entry: inputSchema + example

A filtered/paged call answers in kilobytes; the bare call returns the whole catalog.

## OpenAPI

https://minia2a.uk/openapi.json — every operation with parameters and request bodies.

## MCP

    POST /mcp     JSON-RPC: tools/list, tools/call
    tools/list takes params.limit, cursor, category, query

No params = whole catalog in one response (several hundred KB). Page it.

## Per-endpoint, from the endpoint itself

Every 402 carries this service's input example under `extensions.bazaar.info.input`,
plus `Link: </api/services/<id>>; rel="service-desc"`.

## Text surfaces

- https://minia2a.uk/llms.txt
- https://minia2a.uk/robots.txt and /sitemap.xml
- https://minia2a.uk/.well-known/x402

## Warning

A catalog entry is a brochure, not a contract. The contract is the 402: price, payee and the
input example that actually works. When they disagree, the 402 wins.
