Skip to main content
Source OpenAPI: 0xArchive API 1.5.0; 140 paths; 119 component schemas. API response containing one HIP-4 question.

Required Fields

No required fields are declared on this component schema.

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ApiResponseHip4Question",
  "description": "API response containing one HIP-4 question.",
  "type": "object",
  "properties": {
    "data": {
      "description": "HIP-4 question grouping for one or more outcome markets.",
      "type": "object",
      "properties": {
        "class": {
          "description": "Question class.",
          "type": "string",
          "nullable": true,
          "example": "priceBinary"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "nullable": true
        },
        "display_title": {
          "description": "Display title for UIs and generated clients.",
          "type": "string",
          "nullable": true
        },
        "outcome_ids": {
          "description": "Outcome IDs grouped by this question.",
          "type": "array",
          "items": {
            "type": "integer",
            "format": "int64"
          }
        },
        "question_id": {
          "description": "Question identifier.",
          "type": "integer",
          "format": "int64",
          "example": 0
        },
        "slug": {
          "description": "Question slug when available.",
          "type": "string",
          "nullable": true,
          "example": "btc-above-78213-may-04-0600"
        },
        "title": {
          "description": "Human-readable question title.",
          "type": "string",
          "nullable": true,
          "example": "BTC above 78,213 on May 4 at 06:00 UTC?"
        },
        "underlying": {
          "description": "Underlying asset for price-binary questions.",
          "type": "string",
          "nullable": true,
          "example": "BTC"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "nullable": true
        }
      },
      "additionalProperties": true
    },
    "meta": {
      "description": "Response metadata",
      "type": "object",
      "properties": {
        "count": {
          "description": "Number of records returned",
          "type": "integer"
        },
        "next_cursor": {
          "description": "Cursor for pagination (timestamp). Use this value as the `cursor` parameter to fetch the next page of results.",
          "type": "string",
          "nullable": true
        },
        "request_id": {
          "description": "Unique request ID for support",
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "success": {
      "type": "boolean",
      "example": true
    }
  }
}

Referenced By

Last modified on June 19, 2026