# MIAPI > Grounded AI answers API. One call returns an AI-written answer, the sources it > came from, and a confidence score. Built for developers who need citations > rather than plausible-sounding text. Operated by Montrose & Co LTD (t/a MIAPI), registered in England & Wales, company number 09865836. VAT Reg No. GB486047859. ## What it does - `POST /v1/answer` - question in, grounded answer + sources + confidence out - Modes: `answer` (default), `search` (raw results for your own RAG), `knowledge` - Also: news search, image search, streaming, inline citations - OpenAI-compatible endpoint, so it drops into existing code ## Conversations Pass the same `conversation_id` on every call and the server remembers the last 10 messages, so follow-ups work without you sending the history: {"question": "How old is he?", "conversation_id": "chat-123"} Scoped to your API key, expires after an hour of inactivity, and nothing is written to disk. Omit it and the API stays completely stateless. ## Kids mode and time zones Add `"style": "kids"` for answers written the way you would talk to a child: short, simple, spoken, no lists or links. Add `"timezone": "America/New_York"` (any IANA zone) so dates and match times come back in your user's local time. Both work on /v1/answer and /v1/stream. {"question": "Why is the sky blue?", "style": "kids", "timezone": "Europe/London"} Parental controls (kids mode): add `"blocked_topics": ["death", "religion"]` (choose from sex, death, religion, politics, drugs_alcohol). A question on a blocked topic gets a gentle "ask a grown-up" reply and the response carries `parental_flag` so your app can tell the parent. ## Pricing (one-time credit packs, no subscription, credits never expire) - Starter: $9 for 2,500 queries ($3.60 per 1,000) - Developer: $33 for 10,000 queries ($3.30 per 1,000) - Pro: $90 for 30,000 queries ($3.00 per 1,000) - Scale: $250 for 100,000 queries ($2.50 per 1,000) - Free tier: 100 queries per month Prices include UK VAT where applicable. ## Install - Python: `pip install miapi-sdk` - Source: https://github.com/Doyukndr/miapi-python ## Use it from an AI assistant (no code required) MIAPI ships an MCP server, so Claude Desktop, Cursor and Windsurf can call it directly and get web-grounded answers with citations. - Server: https://github.com/Doyukndr/miapi-python/blob/main/miapi_mcp_server.py - Setup: `pip install "mcp[cli]" httpx`, set MIAPI_API_KEY, then add the server to your assistant's MCP config. ## Links - Home: https://miapi.uk - Docs: https://miapi.uk/#docs - Pricing: https://miapi.uk/#pricing - Contact: https://miapi.uk/contact.html