Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Mervext Roast API
description: Documents in. Structured fields out. Extract validated JSON from invoices, receipts, contracts and Danish leases. Per-field confidence. Zero-retention.
version: 0.7.15
security:
- X-API-Key: []
tags:
- name: Roast
paths:
/v1/roast:
post:
summary: Write a roast from pre-computed facts (Welp humor engine)
description: 'The server half of Welp''s humor engine. The app sends facts it computed on the device — never a
receipt image, never a history — and gets back the JSON its own contract parses.
Body: the app''s roast request (`request_meta.request_type` decides the tier and the shape).
Auth: the same `X-API-Key` the receipt import uses, resolved the same way `/v1/extract` does.
Failure policy: an answer that is not the shape the app can use is **502 with reasons**, never a
repaired one. The app throws a bad roast away and keeps the line it already shows, so this path
costs a roast — it must never cost a wrong number.'
operationId: roast_endpoint_v1_roast_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Roast
components:
securitySchemes:
X-API-Key:
type: apiKey
in: header
name: X-API-Key
description: 'Your Mervext API key. Free key: POST /v1/keys/free (when open) or your purchased master/key. Header: X-API-Key: <key>'