Textwerk
anki deck
Writes a real Anki package: an SQLite collection in the classic schema version 11 (collection.anki2, importable by Anki 2.1 desktop, AnkiDroid and AnkiMobile) with one note type (Basic or Basic and reversed card), one deck, notes with checksum (csum) and sort field, one new card per template, packed with an empty media map into a ZIP. Note GUIDs are derived from deck name and front text, so re-importing an updated deck updates notes instead of duplicating them. Text is HTML-escaped unless.
POST https://text.halowerk.com/v1/anki-deckInputs
| Field | Type | Required | Description |
|---|---|---|---|
| deck_name | string | Yes | Deck name; "::" creates a sub-deck. |
| cards | array | Yes | |
| note_type | string | No | |
| html | boolean | No | Treat card text as HTML (otherwise it is escaped). |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"deck_name",
"cards"
],
"properties": {
"deck_name": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\x00-\\x1f\"]+$",
"description": "Deck name; \"::\" creates a sub-deck."
},
"cards": {
"type": "array",
"minItems": 1,
"maxItems": 2000,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"front",
"back"
],
"properties": {
"front": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"back": {
"type": "string",
"minLength": 1,
"maxLength": 4000
},
"tags": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^\\s]+$"
}
}
}
}
},
"note_type": {
"type": "string",
"enum": [
"basic",
"basic_and_reversed"
],
"default": "basic"
},
"html": {
"type": "boolean",
"default": false,
"description": "Treat card text as HTML (otherwise it is escaped)."
}
}
}Published input example
{
"deck_name": "Deutsch::A1 Nomen",
"cards": [
{
"front": "das Haus",
"back": "the house",
"tags": [
"nouns"
]
},
{
"front": "der Tisch",
"back": "the table"
}
],
"note_type": "basic_and_reversed"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Textwerk0.002 USDC
acronym ideas
POSThttps://text.halowerk.com/v1/acronym-ideasSplits the title into words, marks German and English stop words (and, of, für, und ), and enumerates in word order every combination of the first 1-3 letters of each significant word (stop words contribute 0 or 1 letter when allowed), with
- Textwerk0.005 USDC
agg check
POSThttps://text.halowerk.com/v1/agg-checkApplies documented rules to the ad text and its first line or title: explicit age limits and age ranges, youth-related team wording and career-stage target groups (age); native-speaker, accent and origin requirements, nationality (ethnic or
- Textwerk0.002 USDC
anglicism replace
POSThttps://text.halowerk.com/v1/anglicism-replaceLooks up every word in about 1,050 entries that OpenThesaurus (export 2026-10-30, LGPL-2.1 or CC BY-SA 4.0) labels English, Anglicism or Denglisch, matching inflected forms from german-pos-dict 1.2.2 (CC BY-SA 4.0) and English heads of comp