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

# Airline schedule

> Inferred timetable for a route, both directions. Times are local at origin. Observation, not a published schedule.



## OpenAPI

````yaml /openapi.json get /v1/refdata/airlines/{icao}/schedule/{o}/{d}
openapi: 3.1.0
info:
  title: FlightPortrait network API
  description: |-
    No API key. Rate limits are per IP over a 600 second window. 429 means wait.

    Data is ODbL 1.0. Credit "FlightPortrait network feeders".
    Terms: https://flightportrait.com/network/terms
  version: 1.0.0
servers:
  - url: https://data.flightportrait.com
security: []
tags:
  - name: Live
    description: What the network hears now.
  - name: History
    description: Observed legs and routes.
  - name: Stations
    description: Feeder roster.
  - name: Reference
    description: Aircraft, airlines, airports, types.
  - name: Meta
    description: Index and health.
paths:
  /v1/refdata/airlines/{icao}/schedule/{o}/{d}:
    get:
      tags:
        - Reference
      summary: Airline schedule
      description: >-
        Inferred timetable for a route, both directions. Times are local at
        origin. Observation, not a published schedule.
      operationId: ref_airline_schedule
      parameters:
        - name: icao
          in: path
          required: true
          schema:
            type: string
            description: Airline ICAO code.
            title: Icao
          description: Airline ICAO code.
        - name: o
          in: path
          required: true
          schema:
            type: string
            description: Airport code. The pair is undirected; order does not matter.
            title: O
          description: Airport code. The pair is undirected; order does not matter.
        - name: d
          in: path
          required: true
          schema:
            type: string
            description: Airport code. The pair is undirected; order does not matter.
            title: D
          description: Airport code. The pair is undirected; order does not matter.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '404':
          description: Not found.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limited. Per IP, 600 second window.
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````