animux Privacy Terms
// DEVELOPERS · API

Assistant API

For AI assistants acting for one animux user

This API lets an AI assistant read a user's Seen list in animux and mark anime as seen in bulk. A typical job: read the user's watch history on Crunchyroll, Netflix or another service, find each show in animux, and mark them all as seen. It can't do anything else on the account.

Authentication

The user creates a personal token in the animux app: Profile → AI assistant → Create token. It looks like anx_ followed by 16 letters and digits. Send it on every request:

Authorization: Bearer anx_XXXXXXXXXXXXXXXX

Base URL: https://animux.app/api/assistant. Request and response bodies are JSON. Each user has one token at a time. Creating a new one replaces the old one, and the user can revoke it from the app whenever they want. Treat it as a password: don't log it or show it back to the user.

1. Resolve titles to animux ids

POST /api/assistant/resolve, with up to 50 titles per request. Each item is a string, or an object with the title and its release year. The year helps pick the right season or remake.

curl -s https://animux.app/api/assistant/resolve \
  -H "Authorization: Bearer anx_XXXXXXXXXXXXXXXX" \
  -H "Content-Type: application/json" \
  -d '{"items": ["Attack on Titan", {"title": "Frieren", "year": 2023}]}'

You get one result per item, in the same order:

{"results": [
  {"query": "Attack on Titan",
   "match": {"anime_id": "16498", "title": "Attack on Titan",
             "title_native": "進撃の巨人", "year": 2013, "type": "TV",
             "episodes": 25, "confidence": 1, "seen": false},
   "confidence": 1, "level": "high",
   "alternatives": [{"anime_id": "20958", "title": "Attack on Titan Season 2", "confidence": 0.84, ...}]},
  ...
]}
  • match is the best guess, or null when nothing fits. alternatives lists up to 4 runners-up.
  • confidence goes from 0 to 1, where 1 means the title matched exactly.
  • level is one of high, medium, low or none:
    • high: safe to mark without asking.
    • medium: check the alternatives (often another season of the same show).
    • low: ask the user before marking.
  • seen says whether the user already has that title in their list.

Tips:

  • Send the show's title, not the episode name.
  • Titles are matched against the English and the Japanese (native) title. Prefer the English title, as Crunchyroll or Netflix show it: a romaji name like "Shingeki no Kyojin" only matches when it is part of the English title.
  • Leave out text like "Season 1", "(Dub)" or "Episode 4". Keep "Season 2" when the history has it.
  • Each season or movie is a separate entry in animux. If the history shows several seasons were watched, resolve and mark each one.

2. Mark as seen

POST /api/assistant/seen, with up to 200 ids per request. Ids can be strings or integers, and duplicates are ignored.

curl -s https://animux.app/api/assistant/seen \
  -H "Authorization: Bearer anx_XXXXXXXXXXXXXXXX" \
  -H "Content-Type: application/json" \
  -d '{"anime_ids": ["16498", "154587"]}'
{"results": [
  {"anime_id": "16498", "result": "marked", "title": "Attack on Titan"},
  {"anime_id": "154587", "result": "already_seen", "title": "Frieren: Beyond Journey’s End"}
 ],
 "summary": {"marked": 1, "already_seen": 1, "not_found": 0}}

Each id gets one of these results:

  • marked: the title is now seen.
  • already_seen: it was seen already, and nothing changed.
  • not_found: no anime has that id.

The call is idempotent, so retrying it is safe. Marking a title as seen keeps the user's rating and doesn't stop the new-episode alerts for shows they follow.

3. List the seen anime (optional)

GET /api/assistant/seen?limit=100&offset=0 returns the most recently marked titles first. limit can be at most 500.

curl -s "https://animux.app/api/assistant/seen?limit=100&offset=0" \
  -H "Authorization: Bearer anx_XXXXXXXXXXXXXXXX"
{"total": 2, "limit": 100, "offset": 0,
 "items": [{"anime_id": "154587", "title": "Frieren: Beyond Journey’s End",
            "year": 2023,
            "type": "TV", "seen_at": "2026-11-29T21:40:00Z"}, ...]}

Limits and errors

  • 60 requests per minute per token. Over that limit you get 429 with Retry-After: 60. Too many bad tokens from one address also get a 429.
  • Bodies can be up to 64 KB.
  • Errors look like {"error": "…"}:
    • 400: bad input, or too many items.
    • 401: the token is missing, wrong or revoked. Ask the user to create a new one in the app.
    • 413: the body is too large.

A full run

  1. Collect the show titles from the user's history, with years when you have them.
  2. Resolve them in batches of 50.
  3. Mark the high matches that aren't seen yet, in batches of up to 200.
  4. Show the user the medium and low ones with their alternatives, and mark the ones they confirm.
  5. Tell the user how many titles were marked.
animux · Almería · 2026 home · privacy