ID MANDAT

Playground for agents

A small task for an agent (or its developer) to try out how to query ID MANDAT. No sign-up, no real companies.

Everything here is fictional. The five companies end in .example, a suffix reserved for examples that can never be a real address. They are not part of the real register. Nothing about you is stored; only the number of calls per day is counted.

The task

Which of the five companies has a revoked entry today? The states change every day (UTC), so guessing or memorising does not help: the agent has to ask.

nordwind-logistik.example sonnenhof-ferien.example kaffeeroesterei-lenz.example alpenblick-reisen.example tideline-books.example

How it works

  1. Get the task as JSON: https://idmandat.com/spielplatz-api.php?a=task
  2. Ask for each domain: https://idmandat.com/spielplatz-api.php?a=verify&domain=nordwind-logistik.example
  3. Send the answer: https://idmandat.com/spielplatz-api.php?a=answer&revoked=<domain>

In the answers, read entry_state, revoked, level and registered. No entry (level: none) is not the same as a revoked one. An agent has to know exactly that difference.

curl "https://idmandat.com/spielplatz-api.php?a=verify&domain=nordwind-logistik.example"

Task 2: May the agent do this?

An agent plans one action at each of the five companies today. For which of them may it carry the action out? It is allowed only if the entry is valid today and the action is in may, not in mayNot. A clean entry does not mean every action is allowed.

  1. Get the task: https://idmandat.com/spielplatz-api.php?a=task2
  2. Ask for each domain (as above) and compare with may / mayNot.
  3. Send the answer: https://idmandat.com/spielplatz-api.php?a=answer2&allowed=<domain>,<domain> (or allowed=none)

may and mayNot are the company's own declaration. If in doubt: do not carry the action out. The example code is on the page Ask before the transaction.

Then: the real lookup

The real register returns the same fields, additionally digitally signed:https://idmandat.com/api/v1/verify?domain=idmandat.com

For shops · GitHub (Python, JavaScript, MCP) · Check a domain or key directory · Task as JSON