XHealthResponse

X/Twitter service health status - aligned with Reddit health response.

MarketsSentimentStocksCryptocurrencyFinanceTradingSocial DataNewsPrediction MarketsRedditX / TwitterPolymarketAI AgentsREST APIOpenAPIllms.txtAgent Skills

Properties

Name Type Description
status string Current health status (healthy/unhealthy)
service string Service identifier
version string Current API version
total_mentions integer Mentions observed in the most recent scrape cycle; returns 0 when scrape telemetry is unavailable.
tickers_tracked integer Distinct tickers observed in the most recent scrape cycle; returns 0 when scrape telemetry is unavailable.
scheduler object X Worker status (from worker_heartbeat table)
error object Error message if unhealthy
View JSON Schema on GitHub

JSON Schema

adanos-market-sentiment-api-xhealth-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adanos-market-sentiment-api/json-schema/adanos-market-sentiment-api-xhealth-response-schema.json",
  "title": "XHealthResponse",
  "description": "X/Twitter service health status - aligned with Reddit health response.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adanos-market-sentiment-api-health-check-api-openapi.yml#/components/schemas/XHealthResponse",
  "properties": {
    "status": {
      "type": "string",
      "title": "Status",
      "description": "Current health status (healthy/unhealthy)"
    },
    "service": {
      "type": "string",
      "title": "Service",
      "description": "Service identifier"
    },
    "version": {
      "type": "string",
      "title": "Version",
      "description": "Current API version"
    },
    "total_mentions": {
      "type": "integer",
      "title": "Total Mentions",
      "description": "Mentions observed in the most recent scrape cycle; returns 0 when scrape telemetry is unavailable."
    },
    "tickers_tracked": {
      "type": "integer",
      "title": "Tickers Tracked",
      "description": "Distinct tickers observed in the most recent scrape cycle; returns 0 when scrape telemetry is unavailable."
    },
    "scheduler": {
      "anyOf": [
        {
          "$ref": "#/$defs/XSchedulerStatus"
        },
        {
          "type": "null"
        }
      ],
      "description": "X Worker status (from worker_heartbeat table)"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error",
      "description": "Error message if unhealthy"
    }
  },
  "type": "object",
  "required": [
    "status",
    "service",
    "version",
    "total_mentions",
    "tickers_tracked"
  ],
  "$defs": {
    "XSchedulerStatus": {
      "properties": {
        "running": {
          "type": "boolean",
          "title": "Running",
          "description": "Whether worker is alive (heartbeat < 90 min old)"
        },
        "last_scrape": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Scrape",
          "description": "ISO timestamp of last completed scrape cycle"
        },
        "scrape_count": {
          "type": "integer",
          "title": "Scrape Count",
          "description": "Total completed scrape cycles since worker start",
          "default": 0
        },
        "error_count": {
          "type": "integer",
          "title": "Error Count",
          "description": "Total failed scrape cycles",
          "default": 0
        },
        "success_rate": {
          "type": "number",
          "title": "Success Rate",
          "description": "Success rate (success_count / scrape_count)",
          "default": 0.0
        },
        "note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Note",
          "description": "Additional status info (e.g., worker crash warning)"
        }
      },
      "type": "object",
      "required": [
        "running"
      ],
      "title": "XSchedulerStatus",
      "description": "X Worker scheduler/scraper status (from worker_heartbeat table)."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/adanos-market-sentiment-api-xhealth-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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