> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fcontext.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get historical candlestick headers

> Returns response headers for the same Financial Context market-data request without a response body.



## OpenAPI

````yaml /api-reference/openapi.json head /api/market-data/quote/{symbol}/history_candlestick
openapi: 3.1.0
info:
  title: Financial Context
  version: 1.0.0
  description: >-
    Financial Context exposes authenticated, metered access to read-only US
    stock market data. Use `/api/market-data/*` endpoints for `.US` symbols and
    `US` market filters across quotes, candlesticks, market calendars,
    fundamentals, news, screeners, and related analytics.
servers:
  - url: https://openapi.fcontext.com
    description: Production
security:
  - ApiKeyHeader: []
  - BearerAuth: []
tags:
  - name: Quote
    description: >-
      Quotes, candlesticks, trading days, depth, broker queue, and other
      market-data endpoints.
  - name: Content
    description: 'Security content: news and topics.'
  - name: Market
    description: Market status, trading calendars, unusual activity, and rankings.
  - name: Calendar
    description: Financial event calendar.
  - name: Fundamental
    description: >-
      Fundamentals, analyst ratings, valuation, shareholders, and trading
      disclosures.
  - name: Screener
    description: Screening strategies, filters, and indicators.
paths:
  /api/market-data/quote/{symbol}/history_candlestick:
    head:
      tags:
        - Quote
      summary: Get historical candlestick headers
      description: >-
        Returns response headers for the same Financial Context market-data
        request without a response body.
      parameters:
        - name: symbol
          in: path
          required: true
          schema:
            type: string
          example: AAPL.US
        - name: period
          in: query
          required: false
          description: >-
            Candlestick period, default `day`. Supports `1m`, `5m`, `15m`,
            `30m`, `1h`, `day`, `week`, `month`, and `year`; SDK numeric enums
            are also accepted.
          schema:
            type: string
            default: day
          example: day
        - name: adjust
          in: query
          required: false
          description: >-
            Adjustment type: `none` for no adjustment (default), `forward` for
            forward-adjusted data; `adjust_type=0|1` is also accepted.
          schema:
            type: string
          example: none
        - $ref: '#/components/parameters/AdjustTypeQuery'
        - name: session
          in: query
          required: false
          description: >-
            Trading session: `intraday` for the regular session (default), `all`
            for all sessions; `trade_sessions=0|1` is also accepted.
          schema:
            type: string
          example: intraday
        - $ref: '#/components/parameters/TradeSessionsQuery'
        - name: start
          in: query
          required: false
          description: Start date `YYYY-MM-DD` for date-range mode.
          schema:
            type: string
            format: date
        - name: end
          in: query
          required: false
          description: End date `YYYY-MM-DD` for date-range mode.
          schema:
            type: string
            format: date
        - name: count
          in: query
          required: false
          description: Number of records to return for offset mode.
          schema:
            type: integer
            minimum: 1
          example: 100
        - name: forward
          in: query
          required: false
          description: 'Query forward: `true` (default) or `false`.'
          schema:
            type: boolean
            default: true
        - name: datetime
          in: query
          required: false
          description: Start time in `YYYY-MM-DD HH:MM:SS` format.
          schema:
            type: string
      responses:
        '200':
          description: Market-data response headers.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          description: >-
            A paid Financial Context plan or remaining data request allowance is
            required.
        '403':
          description: The credential does not allow Financial Context market-data access.
components:
  parameters:
    AdjustTypeQuery:
      name: adjust_type
      in: query
      required: false
      description: >-
        Compatibility alias for `adjust`; supports SDK numeric enums: `0` for no
        adjustment and `1` for forward-adjusted data.
      schema:
        type: integer
        enum:
          - 0
          - 1
      example: 0
    TradeSessionsQuery:
      name: trade_sessions
      in: query
      required: false
      description: >-
        Compatibility alias for `session`; supports SDK numeric enums: `0` for
        regular session and `1` for all sessions.
      schema:
        type: integer
        enum:
          - 0
          - 1
      example: 0
  responses:
    BadRequest:
      description: Invalid request parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid Financial Context credential.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: 'Unauthorized: missing API key'
  schemas:
    Error:
      type: object
      description: Standard error response.
      additionalProperties: true
      properties:
        error:
          type: string
          description: Human-readable error message.
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Financial Context key generated from account settings. Send it as
        `x-api-key: <key>`.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: OAuth access token
      description: >-
        OAuth bearer token for Financial Context CLI, MCP, or agent clients with
        the `market_data` scope.

````