Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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.
openapi: 3.2.0
info:
title: Wenmar Labor Estimate API
version: 0.1.0
security:
- bearer: []
tags:
- name: Estimate
paths:
/v1/estimate:
get:
operationId: estimate
parameters:
- description: The vehicle's VIN
in: query
name: vin
required: false
schema:
type: string
- description: The vehicle's year
in: query
name: year
required: false
schema:
type: string
- description: The vehicle's make
in: query
name: make
required: false
schema:
type: string
- description: The vehicle's model
in: query
name: model
required: false
schema:
type: string
- description: The vehicle's engine (optional)
in: query
name: engine
required: false
schema:
type: string
- description: 'One job''s figure: the job''s id (optional)'
in: query
name: job
required: false
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/EstimateAnswer'
description: The figures for the vehicle, an estimate not a quote
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorAnswer'
description: 'unauthenticated: No Wenmar token, or Wenmar refused it'
'402':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorAnswer'
description: 'labor_allowance_reached: Today''s free vehicles are used'
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorAnswer'
description: 'not_found: Wenmar found no such vehicle or job'
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorAnswer'
description: 'validation_failed: The query names no vehicle'
'503':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorAnswer'
description: 'unavailable: Wenmar did not answer; try again in a minute'
summary: The labor estimates for one vehicle, as Wenmar answers them now
tags:
- Estimate
components:
schemas:
EstimateAnswer:
description: The estimate answer.
properties:
attribution:
items:
type: string
type: array
available:
type: boolean
disclaimer:
type: string
estimates:
items:
$ref: '#/components/schemas/EstimateRow'
type: array
note:
type: string
vehicle:
$ref: '#/components/schemas/VehicleAnswer'
required:
- vehicle
- available
- estimates
- note
- attribution
- disclaimer
type: object
ErrorAnswer:
description: 'The API''s error body: `{"error": {"code", "message", "details"}}`.'
properties:
error:
$ref: '#/components/schemas/Error'
required:
- error
type: object
Error:
properties:
code:
type: string
details:
description: '`labor_allowance_reached` carries `{limit, used, period, resets_at, unlimited_url}`.'
message:
type: string
required:
- code
- message
type: object
EstimateRow:
type: object
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
VehicleAnswer:
type: object
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
securitySchemes:
bearer:
scheme: bearer
type: http