Optibus Vehicles (Deprecated) API

These API endpoints are deprecated and could be removed in a future version. Please use the corresponding new API endpoints instead, which should offer improved usability and extra functionality.

Operations 2

GET /vehicles Fetch vehicles (deprecated) #
GET /v1/vehicle-attributes Fetch vehicle attributes (deprecated) #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/optibus-vehicles-deprecated-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.

OpenAPI Specification

optibus-vehicles-deprecated-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Optibus Operations Driver Absences Vehicles (Deprecated) Vehicles (Deprecated) API
  version: 2.8.17
  description: '**Welcome to the Optibus Operations API documentation!**


    Optibus Operations is a cloud-based software solution that enables public transport providers to optimize their operations, planning, and scheduling. Our API provides programmatic access to Optibus Operations'' functionality, allowing you to integrate it with your own applications and systems.



    '
  license:
    name: Optibus Ltd, All rights reserved
  contact: {}
servers:
- url: https://YOUR-OPTIBUS-ACCOUNT.api.ops.optibus.co
  description: Contact your Optibus Customer Success Manager for the actual baseURL and API credentials to use.
tags:
- name: Vehicles (Deprecated)
  description: These API endpoints are deprecated and could be removed in a future version. Please use the corresponding new API endpoints instead, which should offer improved usability and extra functionality.
paths:
  /vehicles:
    get:
      operationId: GetVehiclesInfo
      responses:
        '200':
          description: Vehicles information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetVehiclesResponse'
      description: '**WARNING: This API endpoint is deprecated - you should use `GET /v1/vehicles` instead.**


        Returns the information for vehicles, with filters.'
      summary: Fetch vehicles (deprecated)
      tags:
      - Vehicles (Deprecated)
      deprecated: true
      security:
      - api_key: []
      parameters:
      - description: '- Returns the information for the given vehicles by vehicle ID'
        in: query
        name: vehicleIds
        required: false
        schema:
          type: array
          items:
            $ref: '#/components/schemas/UUID'
      - description: '- Returns the information for vehicles that are that are loaned or assigned to the given depot IDs, on the given date or today if date is not provided'
        in: query
        name: depotIds
        required: false
        schema:
          type: array
          items:
            $ref: '#/components/schemas/UUID'
      - description: '- Returns the attributes information for the given date'
        in: query
        name: date
        required: false
        schema:
          $ref: '#/components/schemas/StringifyDate'
  /v1/vehicle-attributes:
    get:
      operationId: GetVehicleAttributes
      responses:
        '200':
          description: Vehicle attributes
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetVehicleAttributesResponse'
      description: '**WARNING: This API endpoint is deprecated - you should use `GET /v1/vehicles/custom-attributes` instead.**


        Returns the vehicle attributes.'
      summary: Fetch vehicle attributes (deprecated)
      tags:
      - Vehicles (Deprecated)
      deprecated: true
      security:
      - api_key: []
      parameters:
      - description: '- Returns the vehicle attributes by vehicle ID'
        in: query
        name: vehicleIds
        required: false
        schema:
          type: array
          items:
            $ref: '#/components/schemas/VehicleId'
      - description: '- Returns the attributes for a specified date range (both from and to are required)'
        in: query
        name: from
        required: false
        schema:
          type: string
      - description: '- Returns the attributes for a specified date range (both from and to are required)'
        in: query
        name: to
        required: false
        schema:
          type: string
components:
  schemas:
    AttributeValue:
      anyOf:
      - items:
          anyOf:
          - type: number
            format: double
          - type: string
        type: array
      - type: string
      - type: boolean
      - type: number
        format: double
    GetVehicleAttributesResponse:
      properties:
        attributes:
          properties: {}
          additionalProperties:
            $ref: '#/components/schemas/Attributes'
          type: object
        attributeMap:
          properties: {}
          additionalProperties:
            $ref: '#/components/schemas/Pick_AttributeTypeDefinition.id-or-type-or-displayName_'
          type: object
      required:
      - attributes
      - attributeMap
      type: object
    AttributeType:
      enum:
      - STRING
      - BOOLEAN
      - SINGLE_SELECT
      - MULTI_SELECT
      - DATE
      - NUMBER
      - DURATION
      type: string
    AttributeEntry:
      properties:
        value:
          $ref: '#/components/schemas/AttributeValue'
        date:
          $ref: '#/components/schemas/StringifyDate'
        attributeId:
          $ref: '#/components/schemas/AttributeId'
      required:
      - value
      - date
      - attributeId
      type: object
    Attributes:
      properties: {}
      additionalProperties:
        items:
          $ref: '#/components/schemas/AttributeEntry'
        type: array
      type: object
      description: 'Dictionary mapping attribute ID to an array of values by date.

        Correct usage: array sorted by date, only one value per date.'
    Pick_AttributeTypeDefinition.id-or-type-or-displayName_:
      properties:
        id:
          type: string
        type:
          $ref: '#/components/schemas/AttributeType'
        displayName:
          type: string
      required:
      - id
      - type
      type: object
      description: From T, pick a set of properties whose keys are in the union K
    GetVehiclesResponse:
      items:
        $ref: '#/components/schemas/vehicleWithAttributes'
      type: array
    VehicleId:
      type: string
    UUID:
      type: string
      description: Stringified ID for a resource. Cannot exceed 36 characters.
    AttributeId:
      type: string
    vehicleWithAttributes:
      properties:
        id:
          type: string
        licensePlate:
          type: string
        parkingLocation:
          type: string
        depot:
          type: string
          deprecated: true
        opUnitId:
          type: string
        description:
          type: string
        type:
          type: string
          deprecated: true
        nextDowntime:
          type: number
          format: double
        model:
          type: string
        archived:
          type: boolean
        archivedOn:
          type: string
      required:
      - id
      - depot
      type: object
      additionalProperties:
        $ref: '#/components/schemas/AttributeValue'
    StringifyDate:
      type: string
      format: date
      description: Stringified ISO8601 date in the form of `YYYY-MM-dd`, for example `2017-07-21`
  securitySchemes:
    api_key:
      type: apiKey
      name: Authorization
      in: header
x-tagGroups:
- name: General API Info
  tags:
  - Authentication
  - Versioning
- name: Use case guides
  tags:
  - HR System Integration Guides
  - Fleet Management System Integration Guides
  - Operational Plan Query Guides
  - Custom Driver App Notification Action Guide
- name: Client preferences
  tags:
  - Preferences
- name: Resource Management
  tags:
  - Regions
  - Drivers
  - Driver Absences
  - Driver Employment Periods
  - Driver Custom Attributes
  - Driver Groups
  - Vehicles
  - Vehicle Downtimes
  - Vehicle Custom Attributes
- name: Operations Management
  tags:
  - Roster
  - Operational Plan
  - Tasks
  - Stops
  - Signing Times
- name: Work & Payroll
  tags:
  - Work Entities
  - Payroll
  - Statistics
- name: Private Hires
  tags:
  - Private Hires
- name: Driver App Integration
  tags:
  - Driver App Notifications
- name: Event Webhooks
  tags:
  - Event Webhooks
- name: Data Ingestion
  tags:
  - Tacho Ingestion
- name: Deprecated API Endpoints
  tags:
  - Drivers (Deprecated)
  - Vehicles (Deprecated)
  - Operational Plan (Deprecated)
- name: Changelog
  tags:
  - Changelog