Danny Keane Npc Chat API

The Npc Chat API from Danny Keane — 1 operation(s) for npc chat.

Operations 2

GET /api/v1/npc-chat NPC chat health check #
POST /api/v1/npc-chat Chat with a Habbo room NPC #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dannykeane-com:dannykeane-com-npc-chat-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dannykeane-com-npc-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Danny Keane API (dannykeane.com) Npc Chat API
  version: 1.0.0
  description: 'Public HTTP endpoints on dannykeane.com, the personal site of Danny Keane. No authentication on any endpoint.


    Pagination: list endpoints (/api/v1/work) are cursor-paginated. Pass limit for the page size; each page returns next_cursor, null on the last page -- send it back as cursor for the next one. Cursors are opaque tokens.


    Async jobs: send Prefer: respond-async to POST /api/v1/batch for a 202 whose Location (and body status_url) is /api/v1/jobs/{id}; GET it for the result. Jobs are stateless -- the id carries the request, the work runs when you poll, nothing is stored -- and ids expire an hour after creation.


    Versioning: the stable surface is /api/v1/. Breaking changes ship as a new version prefix; a deprecated endpoint answers with Deprecation and Sunset headers (RFC 9745 / RFC 8594) at least six months before removal.


    Deprecation policy: every /api response carries `Link: ; rel="sunset"` (RFC 8594 section 6), pointing at this policy before any Sunset date is set. Nothing is deprecated today.


    Rate limits: every response carries advisory RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, and RateLimit-Policy headers (60 requests per 60-second window per endpoint); a 429 carries Retry-After.


    Errors: every 4xx/5xx body is the ErrorResponse object -- a machine-readable `code`, a human-readable `error`, and an optional `hint`.


    The site also runs a Model Context Protocol server at https://dannykeane.com/mcp (Streamable HTTP, JSON-RPC -- not modeled here; see the server card at /.well-known/mcp/server-card.json), a docs MCP server at https://dannykeane.com/docs/mcp for searching and reading the site''s documents, and publishes llms.txt at https://dannykeane.com/llms.txt.'
  contact:
    name: Danny Keane
    url: https://dannykeane.com/contact
    email: me@dannykeane.co.uk
servers:
- url: https://dannykeane.com
security: []
tags:
- name: Npc Chat
paths:
  /api/v1/npc-chat:
    get:
      operationId: npcChatHealth
      summary: NPC chat health check
      description: Liveness probe for the NPC chat service.
      responses:
        '200':
          description: Service status
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                required:
                - status
      tags:
      - Npc Chat
    post:
      operationId: npcChat
      summary: Chat with a Habbo room NPC
      description: Dialogue endpoint for the NPCs in the Habbo prototype at /habbo. Takes a visitor message and an NPC id, returns the NPC's reply as chat-bubble messages plus any triggered action.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                message:
                  type: string
                  maxLength: 500
                npcId:
                  type: string
                context:
                  type: object
              required:
              - message
              - npcId
      responses:
        '200':
          description: The NPC's reply
          content:
            application/json:
              schema:
                type: object
                properties:
                  messages:
                    type: array
                    items:
                      type: string
                  action:
                    type:
                    - string
                    - 'null'
                  itemKey:
                    type:
                    - string
                    - 'null'
                  isGift:
                    type: boolean
                  clipboardText:
                    type:
                    - string
                    - 'null'
                  openUrl:
                    type:
                    - string
                    - 'null'
                  session:
                    type: object
                    properties:
                      messagesRemaining:
                        type: integer
                required:
                - messages
        '400':
          description: Missing, empty, or over-long message
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limited; Retry-After says when to retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Service not configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Npc Chat
components:
  schemas:
    ErrorResponse:
      type: object
      description: Every 4xx/5xx response body. `code` is stable and machine-readable; `error` is the human-readable message; `hint` says how to fix the request when that is knowable.
      properties:
        code:
          type: string
          enum:
          - invalid_body
          - unknown_event
          - missing_message
          - empty_message
          - message_too_long
          - missing_parameters
          - invalid_parameter
          - rate_limited
          - not_configured
          - upstream_error
          - method_not_allowed
          - not_found
          - internal_error
          - job_expired
        error:
          type: string
        hint:
          type: string
      required:
      - code
      - error
      additionalProperties: true
externalDocs:
  description: 'Danny Keane Developer Docs: API and MCP Server'
  url: https://dannykeane.com/developers