Oil & Miles API

Oil & Miles API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-25); not the provider's own document.

GitHub OpenAPI

Operations 8

GET /api/v1/codes.json Every trouble code we cover, with its page #
GET /api/v1/codes/{CODE}.json One OBD-II code: what it means, what it doesn't prove, what gets checked. #
GET /api/v1/coolant.json Every car with a coolant record #
GET /api/v1/coolant/{make}/{model}/{year}.json The coolant the owner's manual names, with the manual. #
GET /api/v1/costs.json Repair jobs with cost ranges #
GET /api/v1/costs/{job}.json One job: the page's headline range and each car's own shop and dealer range #
GET /api/v1/coverage/{make}/{model}/{year}.json Warranty extensions and coverage programs for a car. #
GET /api/v1/openapi.json The OpenAPI 3.1 description #

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/oilandmiles:oilandmiles-api"
All apis
curl "https://apis.io/api/v1/apis?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

oilandmiles-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Oil & Miles API
  version: '2026-11-25'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-25: 8 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Oil & Miles has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 4
    documentation: 4
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-25'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://oilandmiles.com/developers
servers:
- url: https://oilandmiles.com
paths:
  /api/v1/codes.json:
    get:
      operationId: get_api_v1_codes_json
      tags:
      - Api
      summary: Every trouble code we cover, with its page
      x-source: https://oilandmiles.com/developers
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1CodesJsonResponse'
      x-evidence:
        kind: documentation
  /api/v1/codes/{CODE}.json:
    get:
      operationId: get_api_v1_codes_CODE_json
      tags:
      - Api
      summary: 'One OBD-II code: what it means, what it doesn''t prove, what gets checked.'
      x-source: https://oilandmiles.com/developers
      parameters:
      - name: CODE
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1CodesCodeJsonResponse'
      x-evidence:
        kind: documentation
  /api/v1/coolant.json:
    get:
      operationId: get_api_v1_coolant_json
      tags:
      - Api
      summary: Every car with a coolant record
      x-source: https://oilandmiles.com/developers
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1CoolantJsonResponse'
      x-evidence:
        kind: documentation
  /api/v1/coolant/{make}/{model}/{year}.json:
    get:
      operationId: get_api_v1_coolant_make_model_year_json
      tags:
      - Api
      summary: The coolant the owner's manual names, with the manual.
      x-source: https://oilandmiles.com/developers
      parameters:
      - name: make
        in: path
        required: true
        schema:
          type: string
      - name: model
        in: path
        required: true
        schema:
          type: string
      - name: year
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1CoolantMakeModelYearJsonResponse'
      x-evidence:
        kind: documentation
  /api/v1/costs.json:
    get:
      operationId: get_api_v1_costs_json
      tags:
      - Api
      summary: Repair jobs with cost ranges
      x-source: https://oilandmiles.com/developers
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1CostsJsonResponse'
      x-evidence:
        kind: documentation
  /api/v1/costs/{job}.json:
    get:
      operationId: get_api_v1_costs_job_json
      tags:
      - Api
      summary: 'One job: the page''s headline range and each car''s own shop and dealer range'
      x-source: https://oilandmiles.com/developers
      parameters:
      - name: job
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1CostsJobJsonResponse'
      x-evidence:
        kind: documentation
  /api/v1/coverage/{make}/{model}/{year}.json:
    get:
      operationId: get_api_v1_coverage_make_model_year_json
      tags:
      - Api
      summary: Warranty extensions and coverage programs for a car.
      x-source: https://oilandmiles.com/developers
      parameters:
      - name: make
        in: path
        required: true
        schema:
          type: string
      - name: model
        in: path
        required: true
        schema:
          type: string
      - name: year
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1CoverageMakeModelYearJsonResponse'
      x-evidence:
        kind: documentation
  /api/v1/openapi.json:
    get:
      operationId: get_api_v1_openapi_json
      tags:
      - Api
      summary: The OpenAPI 3.1 description
      x-source: https://oilandmiles.com/developers
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1OpenapiJsonResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiV1CodesJsonResponse:
      type: object
      properties:
        data:
          type: array
          description: List of all trouble codes
        source:
          type: string
          description: Data source
        license:
          type: object
          description: License information
        docs:
          type: string
          description: Link to developer docs
    GetApiV1CodesCodeJsonResponse:
      type: object
      properties:
        data:
          type: object
          description: Details of the specified OBD‑II code
        source:
          type: string
          description: Data source
        license:
          type: object
          description: License information
        docs:
          type: string
          description: Link to developer docs
    GetApiV1CoolantJsonResponse:
      type: object
      properties:
        data:
          type: array
          description: List of coolant records for all cars
        source:
          type: string
          description: Data source
        license:
          type: object
          description: License information
        docs:
          type: string
          description: Link to developer docs
    GetApiV1CoolantMakeModelYearJsonResponse:
      type: object
      properties:
        data:
          type: array
          description: Coolant specifications for the specified vehicle
        source:
          type: string
          description: Data source
        license:
          type: object
          description: License information
        docs:
          type: string
          description: Link to developer docs
    GetApiV1CostsJsonResponse:
      type: object
      properties:
        data:
          type: array
          description: List of repair jobs and their cost ranges
        source:
          type: string
          description: Data source
        license:
          type: object
          description: License information
        docs:
          type: string
          description: Link to developer docs
    GetApiV1CostsJobJsonResponse:
      type: object
      properties:
        data:
          type: object
          description: Cost details for the specified job
        source:
          type: string
          description: Data source
        license:
          type: object
          description: License information
        docs:
          type: string
          description: Link to developer docs
    GetApiV1CoverageMakeModelYearJsonResponse:
      type: object
      properties:
        data:
          type: array
          description: Coverage programs applicable to the specified vehicle
        source:
          type: string
          description: Data source
        license:
          type: object
          description: License information
        docs:
          type: string
          description: Link to developer docs
    GetApiV1OpenapiJsonResponse:
      type: object
      properties:
        openapi:
          type: string
          description: OpenAPI version
        info:
          type: object
          description: API metadata
        paths:
          type: object
          description: Endpoint definitions
tags:
- name: Api