Base Operations Public Charts API
The Public Charts API from Base Operations — 4 operation(s) for public charts.
The Public Charts API from Base Operations — 4 operation(s) for public charts.
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/base-operations-public-charts-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: Customer API - Base Operations Public Charts API
description: Welcome to the Base Operations Customer API!
version: '1.0'
contact: {}
servers:
- url: https://api.baseoperationsenterprise.com/
tags:
- name: Public Charts
paths:
/v1/public/charts/historical-analysis/day-of-week:
get:
operationId: PublicChartsController_getAverageDayOfWeek_v1
parameters:
- name: fromDate
required: true
in: query
schema:
format: date-time
type: string
- name: toDate
required: true
in: query
schema:
format: date-time
type: string
- name: types
required: false
in: query
schema:
type: array
items:
type: string
enum:
- crime
- unrest
- customer
- uas_sighting
- name: sourceIds
required: false
in: query
schema:
type: array
items:
type: number
- name: categoryIds
required: false
in: query
schema:
type: array
items:
type: number
- name: months
required: false
in: query
schema:
type: array
items:
type: number
- name: daytimes
required: false
in: query
schema:
type: array
items:
type: string
enum:
- morning
- midmorning
- afternoon
- evening
- night
- name: isGTM
required: false
in: query
schema:
default: true
type: boolean
- name: locationId
required: true
in: query
description: The ID of the location to retrieve chart data for
schema:
type: number
responses:
'200':
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/HistoricalMonthlyChartDto'
- properties:
chartData:
type: array
items:
$ref: '#/components/schemas/HistoricalDayOfWeekData'
text/csv:
schema:
type: string
example: 'day,threatCount,average,fromDate,toDate
1,621,12.94,2023-01-03,2023-01-09'
description: ''
'401':
description: Unauthorized. Your API Key may be invalid or expired.
'404':
description: Location not found | Boundary not found | Saved Location not found
'432':
description: Not enough data available
'500':
description: Internal Server Error
security:
- ApiKey: []
tags:
- Public Charts
summary: Public charts controller get average day of week v1
x-summary-source: derived
/v1/public/charts/historical-analysis/time-of-day:
get:
operationId: PublicChartsController_getAverageTimeOfDay_v1
parameters:
- name: fromDate
required: true
in: query
schema:
format: date-time
type: string
- name: toDate
required: true
in: query
schema:
format: date-time
type: string
- name: types
required: false
in: query
schema:
type: array
items:
type: string
enum:
- crime
- unrest
- customer
- uas_sighting
- name: sourceIds
required: false
in: query
schema:
type: array
items:
type: number
- name: categoryIds
required: false
in: query
schema:
type: array
items:
type: number
- name: months
required: false
in: query
schema:
type: array
items:
type: number
- name: daytimes
required: false
in: query
schema:
type: array
items:
type: string
enum:
- morning
- midmorning
- afternoon
- evening
- night
- name: isGTM
required: false
in: query
schema:
default: true
type: boolean
- name: locationId
required: true
in: query
description: The ID of the location to retrieve chart data for
schema:
type: number
responses:
'200':
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/HistoricalMonthlyChartDto'
- properties:
chartData:
type: array
items:
$ref: '#/components/schemas/HistoricalTimeOfDaysData'
text/csv:
schema:
type: string
example: 'timeOfDay,threatCount,average,fromDate,toDate
1,621,12.94,2022-01-02,2022-01-02 23:59:59'
description: ''
'401':
description: Unauthorized. Your API Key may be invalid or expired.
'404':
description: Location not found | Boundary not found | Saved Location not found
'432':
description: Not enough data available
'500':
description: Internal Server Error
security:
- ApiKey: []
tags:
- Public Charts
summary: Public charts controller get average time of day v1
x-summary-source: derived
/v1/public/charts/historical-analysis/monthly:
get:
operationId: PublicChartsController_getAverageMonthly_v1
parameters:
- name: fromDate
required: true
in: query
schema:
format: date-time
type: string
- name: toDate
required: true
in: query
schema:
format: date-time
type: string
- name: types
required: false
in: query
schema:
type: array
items:
type: string
enum:
- crime
- unrest
- customer
- uas_sighting
- name: sourceIds
required: false
in: query
schema:
type: array
items:
type: number
- name: categoryIds
required: false
in: query
schema:
type: array
items:
type: number
- name: months
required: false
in: query
schema:
type: array
items:
type: number
- name: daytimes
required: false
in: query
schema:
type: array
items:
type: string
enum:
- morning
- midmorning
- afternoon
- evening
- night
- name: isGTM
required: false
in: query
schema:
default: true
type: boolean
- name: locationId
required: true
in: query
description: The ID of the location to retrieve chart data for
schema:
type: number
responses:
'200':
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/HistoricalMonthlyChartDto'
- properties:
chartData:
type: array
items:
$ref: '#/components/schemas/HistoricalMonthlyData'
text/csv:
schema:
type: string
example: 'month,threatCount,average,fromDate,toDate
January,621,12.94,2022-01-01,2022-01-31'
description: ''
'401':
description: Unauthorized. Your API Key may be invalid or expired.
'404':
description: Location not found | Boundary not found | Saved Location not found
'432':
description: Not enough data available
'500':
description: Internal Server Error
security:
- ApiKey: []
tags:
- Public Charts
summary: Public charts controller get average monthly v1
x-summary-source: derived
/v1/public/charts/event-breakdown:
get:
description: Calculates relationships between categories, subcategories, and time of day.
operationId: PublicChartsController_getEventBreakdown_v1
parameters:
- name: fromDate
required: true
in: query
schema:
format: date-time
type: string
- name: toDate
required: true
in: query
schema:
format: date-time
type: string
- name: types
required: false
in: query
schema:
type: array
items:
type: string
enum:
- crime
- unrest
- customer
- uas_sighting
- name: sourceIds
required: false
in: query
schema:
type: array
items:
type: number
- name: categoryIds
required: false
in: query
schema:
type: array
items:
type: number
- name: months
required: false
in: query
schema:
type: array
items:
type: number
- name: daytimes
required: false
in: query
schema:
type: array
items:
type: string
enum:
- morning
- midmorning
- afternoon
- evening
- night
- name: isGTM
required: false
in: query
schema:
default: true
type: boolean
- name: locationId
required: true
in: query
description: The ID of the location to retrieve chart data for
schema:
type: number
responses:
'200':
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ChartDto'
- properties:
chartData:
type: array
items:
$ref: '#/components/schemas/SankeyData'
text/csv:
schema:
type: string
example: 'source,target,value
Theft,morning,16'
description: ''
'401':
description: Unauthorized. Your API Key may be invalid or expired.
'404':
description: Location not found | Boundary not found | Saved Location not found
'432':
description: Not enough data available
'500':
description: Internal Server Error
security:
- ApiKey: []
summary: Get Event Breakdown
tags:
- Public Charts
components:
schemas:
HistoricalMonthlyChartDto:
type: object
properties:
chartData:
type: object
metadata:
type: object
fromDate:
type: string
toDate:
type: string
required:
- chartData
SankeyData:
type: object
properties:
nodes:
type: array
items:
$ref: '#/components/schemas/SankeyNode'
links:
type: array
items:
$ref: '#/components/schemas/SankeyLink'
required:
- nodes
- links
SankeyLink:
type: object
properties:
source:
type: string
target:
type: string
value:
type: number
required:
- source
- target
- value
HistoricalDayOfWeekData:
type: object
properties:
day:
type: number
average:
type: number
threatType:
type: string
required:
- day
- average
SankeyNode:
type: object
properties:
id:
oneOf:
- type: number
- type: string
name:
type: string
type:
type: string
value:
type: number
required:
- id
- name
- type
- value
HistoricalTimeOfDaysData:
type: object
properties:
timeOfDay:
type: number
average:
type: number
threatType:
type: string
required:
- timeOfDay
- average
ChartDto:
type: object
properties:
chartData:
type: object
metadata:
type: object
required:
- chartData
HistoricalMonthlyData:
type: object
properties:
monthNumber:
type: number
month:
type: string
average:
type: number
threatType:
type: string
required:
- monthNumber
- month
- average
securitySchemes:
ApiKey:
type: apiKey
in: header
name: X-API-KEY