{
  "name": "Corrupted Terminal API",
  "version": "0.1.0",
  "docs": {
    "agents": "https://terminal-api.corruptedpunks.app/llms.txt",
    "openapi": "https://terminal-api.corruptedpunks.app/openapi.json",
    "mcp": "https://terminal-api.corruptedpunks.app/mcp"
  },
  "endpoints": [
    {
      "method": "GET",
      "path": "/v1/status",
      "auth": "none",
      "summary": "What is live and what is not."
    },
    {
      "method": "GET",
      "path": "/v1/chain",
      "auth": "none",
      "summary": "Chain id, RPC, explorer, markets."
    },
    {
      "method": "GET",
      "path": "/v1/auth/nonce",
      "auth": "none",
      "summary": "Message for the wallet to sign (?address=0x...)."
    },
    {
      "method": "POST",
      "path": "/v1/auth/verify",
      "auth": "none",
      "summary": "Signed message in, API key out (shown once)."
    },
    {
      "method": "GET",
      "path": "/v1/me",
      "auth": "bearer (read)",
      "summary": "Who this key belongs to + holder check."
    },
    {
      "method": "GET",
      "path": "/v1/me/api-keys",
      "auth": "bearer (read)",
      "summary": "Active terminal keys of this wallet."
    },
    {
      "method": "DELETE",
      "path": "/v1/me/api-keys/:id",
      "auth": "bearer (read)",
      "summary": "Revoke a terminal key."
    },
    {
      "method": "GET",
      "path": "/v1/me/services",
      "auth": "bearer (read)",
      "summary": "Which third-party keys are saved (masked)."
    },
    {
      "method": "PUT",
      "path": "/v1/me/services/:service",
      "auth": "bearer (read)",
      "summary": "Save your OpenSea / Alchemy / Blockscout / Telegram key."
    },
    {
      "method": "DELETE",
      "path": "/v1/me/services/:service",
      "auth": "bearer (read)",
      "summary": "Remove a saved third-party key."
    },
    {
      "method": "GET",
      "path": "/v1/profile/:address",
      "auth": "none",
      "summary": "Agent profile: punx held, ETH on Mainnet + Robinhood, X handle, NFT overview (10 priciest or most active Robinhood NFTs)."
    },
    {
      "method": "PUT",
      "path": "/v1/me/profile",
      "auth": "bearer (read)",
      "summary": "Set or clear your X handle {x_handle}."
    },
    {
      "method": "GET",
      "path": "/v1/markets/:collection/floor",
      "auth": "bearer (read)",
      "summary": "Floor of a collection (?market=opensea|openvault)."
    },
    {
      "method": "GET",
      "path": "/v1/arbitrage",
      "auth": "bearer (read)",
      "summary": "Price gaps between OpenSea and OpenVault (not live)."
    },
    {
      "method": "GET",
      "path": "/v1/automations",
      "auth": "bearer (read)",
      "summary": "Your automations (not live)."
    },
    {
      "method": "POST",
      "path": "/v1/automations",
      "auth": "bearer (trade)",
      "summary": "Create an automation, dry_run by default (not live)."
    },
    {
      "method": "GET",
      "path": "/v1/stake/global",
      "auth": "none",
      "summary": "Every staked punx, longest locked first."
    }
  ]
}