Charter Captain Dashboard API
The Dashboard API from Charter Captain — 1 operation(s) for dashboard.
The Dashboard API from Charter Captain — 1 operation(s) for dashboard.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/chartercaptain-com:chartercaptain-com-dashboard-api"
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.
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: 3.2.0
info:
title: Charter Captain Dashboard API
version: 1.0.0
description: REST API for the Charter Captain iOS apps
servers:
- url: http://localhost:3002
description: Development
security:
- bearerAuth: []
tags:
- name: Dashboard
paths:
/api/v1/dashboard:
get:
operationId: getDashboard
summary: Composite dashboard data
description: Returns today's charters, revenue stats, upcoming bookings, and optional weather in a single request.
tags:
- Dashboard
responses:
'200':
description: Dashboard data
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
todaysCharters:
type: array
items:
$ref: '#/components/schemas/Booking'
weather:
allOf:
- $ref: '#/components/schemas/WeatherForecast'
nullable: true
stats:
type: object
properties:
weeklyRevenue:
type: number
monthlyRevenue:
type: number
bookingsThisMonth:
type: integer
avgCharterValue:
type: number
upcoming:
type: array
items:
$ref: '#/components/schemas/BookingSummary'
'401':
$ref: '#/components/responses/Unauthorized'
components:
schemas:
Error:
type: object
properties:
error:
type: object
properties:
message:
type: string
code:
type: string
required:
- message
- code
required:
- error
WeatherCheck:
type: object
properties:
id:
type: string
bookingId:
type: string
checkedAt:
type: string
format: date-time
hasAdvisory:
type: boolean
advisoryType:
type: string
nullable: true
windSpeed:
type: number
nullable: true
waveHeight:
type: number
nullable: true
forecast:
type: string
nullable: true
Payment:
type: object
required:
- id
- amount
- type
- status
properties:
id:
type: string
bookingId:
type: string
amount:
type: number
type:
type: string
enum:
- DEPOSIT
- BALANCE
- TIP
- REFUND
status:
type: string
enum:
- PENDING
- SUCCEEDED
- FAILED
- REFUNDED
createdAt:
type: string
format: date-time
Notification:
type: object
properties:
id:
type: string
bookingId:
type: string
type:
type: string
sentAt:
type: string
format: date-time
status:
type: string
Booking:
type: object
required:
- id
- captainId
- date
- status
properties:
id:
type: string
captainId:
type: string
date:
type: string
format: date-time
startTime:
type: string
nullable: true
endTime:
type: string
nullable: true
status:
type: string
enum:
- PENDING_DEPOSIT
- DEPOSIT_PAID
- CONFIRMED
- COMPLETED
- CANCELLED
- WEATHER_CANCELLED
totalPrice:
type: number
nullable: true
notes:
type: string
nullable: true
createdAt:
type: string
format: date-time
customer:
$ref: '#/components/schemas/Customer'
harbor:
$ref: '#/components/schemas/Harbor'
duration:
$ref: '#/components/schemas/Duration'
payments:
type: array
items:
$ref: '#/components/schemas/Payment'
weatherChecks:
type: array
items:
$ref: '#/components/schemas/WeatherCheck'
notifications:
type: array
items:
$ref: '#/components/schemas/Notification'
Customer:
type: object
required:
- id
- firstName
- lastName
- email
properties:
id:
type: string
firstName:
type: string
lastName:
type: string
email:
type: string
format: email
phone:
type: string
nullable: true
notes:
type: string
nullable: true
createdAt:
type: string
format: date-time
Duration:
type: object
properties:
id:
type: string
hours:
type: integer
label:
type: string
isActive:
type: boolean
sortOrder:
type: integer
required:
- id
- hours
- label
Harbor:
type: object
properties:
id:
type: string
name:
type: string
city:
type:
- string
- 'null'
state:
type:
- string
- 'null'
lat:
type:
- number
- 'null'
lng:
type:
- number
- 'null'
sortOrder:
type: integer
isActive:
type: boolean
required:
- id
- name
- isActive
WeatherForecast:
type: object
properties:
forecast:
type: string
windSpeed:
type:
- number
- 'null'
waveHeight:
type:
- number
- 'null'
hasAdvisory:
type: boolean
advisoryType:
type:
- string
- 'null'
required:
- forecast
- hasAdvisory
BookingSummary:
type: object
required:
- id
- captainId
- date
- status
properties:
id:
type: string
captainId:
type: string
date:
type: string
format: date-time
status:
type: string
totalPrice:
type: number
nullable: true
customer:
$ref: '#/components/schemas/Customer'
harbor:
$ref: '#/components/schemas/Harbor'
responses:
Unauthorized:
description: Authentication required, or the bearer token is missing or invalid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Clerk JWT token