Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Boring Merchant API
description: 'Small, deterministic analysis APIs for business tables: supplier price list comparison, PDF table extraction, product feed validation and product data mapping into import files. Open with a rate limit; an optional X-API-Key raises it. Answers carry source locations and a quality level. Responses are English with language-neutral codes; input headers are recognised in many languages. For agents also as MCP at /mcp; overview at /llms.txt.'
version: 0.10.0
servers:
- url: https://api.relaex-engineers.de
tags:
- name: Merchant
description: 'Validates product feeds against Google Merchant Center, Shopify product CSV and Meta Commerce Catalog: required fields, allowed values with a hint for localized synonyms, GTIN check digit, price format, URLs, lengths, duplicate IDs, Shopify variants. Each issue names row, column, rule code and a fix hint; nothing is changed automatically.'
paths:
/v1/merchant/validate:
post:
tags:
- Merchant
summary: Validate a product feed for Google, Shopify or Meta
description: 'Validates a product feed against a platform profile.
**Input:** multipart `file` (CSV, TSV or XLSX up to 20 MiB, 250,000 rows) and optional `options`
as a JSON string following `/v1/schemas/merchant-validate-options`: `profile`
(`google_merchant`, `shopify_products_csv`, `meta_catalog`; default Google), `sheet`,
`column_overrides` (target field → column header), `max_issues` (default 5,000),
`include_info`. The profile may also be sent as its own form field `profile`.
**Behaviour:** the header row and columns are recognised via versioned alias lists; the
profile''s rules run per row: required fields, allowed values (with the target value as hint
for synonyms such as `auf Lager` or `en stock`), price format (`12.99 EUR`; Shopify without
currency), GTIN check digit, URLs and https, lengths, unique IDs, Shopify variant options,
Google identifiers. Each issue carries rule code, severity (`error`, `warning`, `info`), row,
column, message, `fix_hint` and a value excerpt. Nothing is changed or guessed.
**Output:** `ApiResponse` with `ValidateResult`: profile, file with column mapping and unchecked
columns, `issues[]`, `issues_truncated`, `summary` (rows, valid rows, rows with
errors/warnings, counts per severity and code, `human_review_required`).
**Errors:** 400 invalid file, 413 too large, 422 no header row, ambiguous column, unknown
profile or invalid options, 429 rate limit, 504 timeout.
**Languages:** responses are in English. Error, warning and rule codes are stable and
language-neutral; agents may translate messages for the user. Column headers and common cell words are recognised in English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Czech, Turkish, Swedish, Danish, Norwegian, Finnish, Korean, Japanese and Chinese; numbers in both 1.234,56 and 1,234.56 style; any ISO 4217 currency (no conversion).
**Access:** open, rate-limited per IP and per MCP session; an `X-API-Key` header raises the
limit. Uploaded files are processed in memory and never stored. Also available as MCP tool
`merchant_validate` at `/mcp` (Streamable HTTP).'
operationId: merchant_validate_v1_merchant_validate_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_merchant_validate_v1_merchant_validate_post'
responses:
'200':
description: ApiResponse with ValidateResult
content:
application/json:
schema: {}
'400':
description: INVALID_FILE, EMPTY_FILE, UNSUPPORTED_FORMAT, INVALID_ENCODING
'413':
description: FILE_TOO_LARGE, ROW_LIMIT_EXCEEDED
'422':
description: HEADER_NOT_FOUND, COLUMN_AMBIGUOUS, SHEET_NOT_FOUND, PROFILE_NOT_FOUND, INVALID_OPTIONS
'429':
description: RATE_LIMITED
'504':
description: ANALYSIS_TIMEOUT
components:
schemas:
Body_merchant_validate_v1_merchant_validate_post:
properties:
file:
anyOf:
- type: string
contentMediaType: application/octet-stream
- type: 'null'
title: File
options:
anyOf:
- type: string
- type: 'null'
title: Options
profile:
anyOf:
- type: string
- type: 'null'
title: Profile
file_url:
anyOf:
- type: string
- type: 'null'
title: File Url
type: object
title: Body_merchant_validate_v1_merchant_validate_post