RavenPack · Schema

AftermarketResponse

Company aftermarket trades & quotes response model.

CompanyFinanceArtificial IntelligenceData AnalyticsMarket Insights

Properties

Name Type Description
results array The main data result
errors object
metadata object
sources array The content catalog sources the response was built from, one entry per source. Empty when no catalog source contributed.
usage object Tokens the request consumed, per content tier. Present only for API keys billed in tokens.
View JSON Schema on GitHub

JSON Schema

bigdata-aftermarket-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bigdata/json-schema/bigdata-aftermarket-response-schema.json",
  "title": "AftermarketResponse",
  "description": "Company aftermarket trades & quotes response model.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigdata-market-data-api-openapi.yml#/components/schemas/AftermarketResponse",
  "properties": {
    "results": {
      "items": {
        "$ref": "#/$defs/AftermarketRecord"
      },
      "type": "array",
      "title": "Results",
      "description": "The main data result"
    },
    "errors": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/ErrorDetail"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Errors"
    },
    "metadata": {
      "anyOf": [
        {
          "$ref": "#/$defs/Metadata"
        },
        {
          "type": "null"
        }
      ]
    },
    "sources": {
      "items": {
        "$ref": "#/$defs/Source"
      },
      "type": "array",
      "title": "Sources",
      "description": "The content catalog sources the response was built from, one entry per source. Empty when no catalog source contributed."
    },
    "usage": {
      "anyOf": [
        {
          "$ref": "#/$defs/Usage"
        },
        {
          "type": "null"
        }
      ],
      "description": "Tokens the request consumed, per content tier. Present only for API keys billed in tokens."
    }
  },
  "type": "object",
  "required": [
    "results"
  ],
  "$defs": {
    "AftermarketQuote": {
      "properties": {
        "bid_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bid Price",
          "description": "The best extended-hours bid price."
        },
        "bid_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bid Size",
          "description": "The size available at the best bid."
        },
        "ask_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ask Price",
          "description": "The best extended-hours ask price."
        },
        "ask_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ask Size",
          "description": "The size available at the best ask."
        },
        "volume": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Volume",
          "description": "The cumulative extended-hours volume."
        },
        "timestamp": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Timestamp",
          "description": "The time of the last extended-hours quote (UTC)."
        }
      },
      "type": "object",
      "title": "AftermarketQuote",
      "description": "Latest extended-hours (aftermarket) quote."
    },
    "AftermarketRecord": {
      "properties": {
        "rp_entity_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Rp Entity Id",
          "description": "RavenPack internal entity identifier."
        },
        "target_identifier_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Target Identifier Id",
          "description": "The target identifier provided in the request, e.g., stock symbol."
        },
        "trade": {
          "anyOf": [
            {
              "$ref": "#/$defs/AftermarketTrade"
            },
            {
              "type": "null"
            }
          ],
          "description": "The latest extended-hours trade."
        },
        "quote": {
          "anyOf": [
            {
              "$ref": "#/$defs/AftermarketQuote"
            },
            {
              "type": "null"
            }
          ],
          "description": "The latest extended-hours quote."
        }
      },
      "type": "object",
      "required": [
        "rp_entity_id",
        "target_identifier_id"
      ],
      "title": "AftermarketRecord",
      "description": "Latest extended-hours trade and quote for a single entity."
    },
    "AftermarketTrade": {
      "properties": {
        "price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Price",
          "description": "The last extended-hours trade price."
        },
        "trade_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Trade Size",
          "description": "The size (number of shares) of the last extended-hours trade."
        },
        "timestamp": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Timestamp",
          "description": "The time of the last extended-hours trade (UTC)."
        }
      },
      "type": "object",
      "title": "AftermarketTrade",
      "description": "Latest extended-hours (aftermarket) trade."
    },
    "ErrorDetail": {
      "properties": {
        "message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Message"
        }
      },
      "type": "object",
      "title": "ErrorDetail"
    },
    "Metadata": {
      "properties": {
        "request_id": {
          "type": "string",
          "title": "Request Id"
        },
        "timestamp": {
          "type": "string",
          "title": "Timestamp"
        }
      },
      "type": "object",
      "required": [
        "request_id"
      ],
      "title": "Metadata"
    },
    "Source": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id",
          "description": "Content catalog identifier of the source."
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "Catalog name of the dataset the data came from."
        }
      },
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "title": "Source",
      "description": "A content catalog source that contributed data to a structured-data response."
    },
    "Usage": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "Usage",
      "description": "Public structured-data usage for a request, aggregated per content tier.\n\nA flat object keyed per content tier, where each key is derived from the\ncontent tier identifier by dropping the ``content-`` prefix and appending\n``_tokens`` (e.g. ``corporate-fundamentals`` ->\n``corporate_fundamentals_tokens``). It is sparse: only tiers with non-zero\ntokens appear, and an absent key means zero tokens for that tier."
    }
  }
}

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/bigdata-aftermarket-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. See our Privacy Policy and Terms.

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