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. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Datanem Templates API
summary: Turn PDFs, scans and photos of documents into structured tables and databases.
description: 'Submit invoices, CVs, receipts, delivery notes, bank statements or any other repeating document type and get back typed columns and rows, or a runnable SQL schema. Extraction runs in the background: POST /v1/extract returns a job id straight away, then poll the job until it is complete.
AI agents should prefer the MCP server at https://datanem.com/mcp, which is included on every plan and needs no API key.'
version: 1.0.0
contact:
name: Datanem
email: hello@datanem.com
url: https://datanem.com
termsOfService: https://datanem.com/terms
license:
name: Proprietary
url: https://datanem.com/terms
servers:
- url: https://datanem.com
description: Production
security:
- bearerAuth: []
tags:
- name: Templates
description: Built-in document types and saved column designs.
paths:
/v1/templates:
get:
tags:
- Templates
operationId: listTemplates
summary: List document types and saved designs
description: The built-in templates plus any column designs saved on this account. Pass an id back as templateId or schemaId. Omit both and the columns are inferred from the documents themselves.
responses:
'200':
description: Templates and saved designs.
content:
application/json:
schema:
type: object
properties:
templates:
type: array
items:
$ref: '#/components/schemas/NamedId'
schemas:
type: array
items:
$ref: '#/components/schemas/NamedId'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
components:
responses:
PaymentRequired:
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
Unauthorized:
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
schemas:
NamedId:
type: object
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'An API key from https://datanem.com/app/api, sent as `Authorization: Bearer <key>`. Available on ...'
externalDocs:
description: API keys and usage
url: https://datanem.com/app/api