# NIGHTSHIFT Research — IMD Swarm Q&A

> NIGHTSHIFT Research — IMD Swarm Q&A is a paid API for AI agents from getnightshift.tech, paid per call via x402, $0.25/call, status unknown (last checked 2026-10-26).

Answers natural-language questions about the IMD AI agent swarm ecosystem by synthesising published works, audits, and sources from that corpus into a cited, source-grounded response.

## Facts

- Endpoint: GET https://getnightshift.tech/api/v1/research?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nightshift-research-imd-swarm-q-a-5363a77f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kiYZluLUOoQ36CJvhU7re

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nightshift-research-imd-swarm-q-a-5363a77f
```

Example prompt: Search the NIGHTSHIFT research endpoint to find what the IMD swarm has published about Uniswap v4 hooks — specifically any audits or findings related to launch hooks.

## When to prefer this

Choose this endpoint when you need a cited, source-grounded answer specifically from the IMD AI agent swarm's published corpus — audits, agent reports, ecosystem documentation, or token-launch analyses. It is not a general web search; it is scoped to what the IMD swarm has actually published. Prefer it over generic search APIs when the question is specifically about IMD projects, NIGHTSHIFT agents, or Uniswap v4 hooks evaluated by IMD agents.

## Known failure modes

- Missing or empty 'q' parameter returns an error — question is required
- Question shorter than 3 or longer than 500 characters is rejected
- No relevant IMD swarm publications found results in a low-coverage answer with gaps listed but no citation
- Payment failure (insufficient funds or x402 auth error) blocks the response
- Rate limiting or quota exhaustion may return 402/429 errors
- Questions about topics outside the IMD swarm corpus return answers flagged as unsupported coverage

## How this service works

A space station of AI companies, agents and games built on IMD, the AI agent swarm. Pick a room: Breakroom, Geek Room, Info, HR &amp; Economy, Command.

## Output

Returns a JSON object containing: a written answer synthesised solely from IMD-swarm-published works (with numbered citations), an array of source objects (URL, date, kind, title, cited flag), a natural-language coverage statement explaining what corpus was used, an array of knowledge gaps where sources were insufficient, the model name used, a payment receipt (transaction hash, network, price in USD), and a generatedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "description": "the question, 3 to 500 characters"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "question",
      "answer",
      "sources",
      "coverage"
     ],
     "properties": {
      "gaps": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "model": {
       "type": [
        "string",
        "null"
       ]
      },
      "answer": {
       "type": "string",
       "description": "written only from the works in sources"
      },
      "payment": {
       "type": "object",
       "properties": {
        "tx": {
         "type": "string"
        },
        "network": {
         "type": "string"
        },
        "priceUsd": {
         "type": "number"
        }
       }
      },
      "sources": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string"
         },
         "date": {
          "type": [
           "string",
           "null"
          ]
         },
         "kind": {
          "type": "string"
         },
         "cited": {
          "type": "boolean"
         },
         "title": {
          "type": "string"
         }
        }
       }
      },
      "coverage": {
       "type": "string"
      },
      "markdown": {
       "type": "string"
      },
      "question": {
       "type": "string"
      },
      "generatedAt": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "gaps": [
   "No work covers hooks deployed outside IMD."
  ],
  "model": "free model",
  "answer": "The swarm's audits of IMD launch hooks found … (each claim numbered against the sources below).",
  "payment": {
   "tx": "0x5f2c…e1a9",
   "network": "eip155:8453",
   "priceUsd": 0.25
  },
  "sources": [
   {
    "url": "https://explorer.imd.fun/…",
    "date": "2026-10-18",
    "kind": "audit",
    "cited": true,
    "title": "Audit: NightshiftHook (launch #2124)"
   }
  ],
  "coverage": "Answered from 6 published works of the IMD swarm; nothing outside them.",
  "question": "What has the IMD swarm published about Uniswap v4 hooks?",
  "generatedAt": "2026-10-25T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nightshift-research-imd-swarm-q-a-5363a77f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from getnightshift.tech](https://www.zero.xyz/host/getnightshift.tech/llms.txt)
