Base Operations Analytics API

The Analytics API from Base Operations — 2 operation(s) for analytics.

Operations 2

GET /v1/public/analytics/forecast Get forecast for threats in a given location #
GET /v1/public/analytics/radius/forecast Get forecast for threats within a radius #

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/base-operations-analytics-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

base-operations-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Customer API - Base Operations Analytics API
  description: Welcome to the Base Operations Customer API!
  version: '1.0'
  contact: {}
servers:
- url: https://api.baseoperationsenterprise.com/
tags:
- name: Analytics
paths:
  /v1/public/analytics/forecast:
    get:
      description: This endpoint forecasts the trendline of threats in a given location. Powered by BaseEngine.
      operationId: PublicAnalyticsController_getForecast_v1
      parameters:
      - name: locationId
        required: true
        in: query
        schema:
          type: number
      - name: types
        required: false
        in: query
        schema:
          default:
          - crime
          - unrest
          type: array
          items:
            type: string
            enum:
            - crime
            - unrest
            - customer
            - uas_sighting
      - name: categories
        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: number
      - name: isGTM
        required: false
        in: query
        schema:
          default: false
          type: boolean
      - name: forecastMonths
        required: true
        in: query
        description: Number of forecast months (between 3 and 12).
        schema:
          minimum: 3
          maximum: 12
          example: 6
          type: number
      responses:
        '200':
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ChartDto'
                - properties:
                    chartData:
                      type: array
                      items:
                        $ref: '#/components/schemas/ForecastData'
            text/csv:
              schema:
                type: string
                example: 'date,forecastedValue,trendValue,estimateValue,actualValue,confidenceInterval

                  2023-01-01,77,77,77,77,{"upper90":77,"upper75":77,"lower75":77,"lower90":77}'
          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 forecast for threats in a given location
      tags:
      - Analytics
  /v1/public/analytics/radius/forecast:
    get:
      description: This endpoint forecasts the trendline of threats within a specified radius. Powered by BaseEngine.
      operationId: PublicAnalyticsController_getRadiusForecast_v1
      parameters:
      - name: latitude
        required: true
        in: query
        schema:
          type: number
      - name: longitude
        required: true
        in: query
        schema:
          type: number
      - name: radius
        required: true
        in: query
        schema:
          type: number
      - name: units
        required: true
        in: query
        schema:
          type: string
          enum:
          - mi
          - km
          - m
      - name: types
        required: false
        in: query
        schema:
          default:
          - crime
          - unrest
          type: array
          items:
            type: string
            enum:
            - crime
            - unrest
            - customer
            - uas_sighting
      - name: categories
        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: number
      - name: isGTM
        required: false
        in: query
        schema:
          default: false
          type: boolean
      - name: savedLocationId
        required: false
        in: query
        schema:
          type: number
      - name: forecastMonths
        required: true
        in: query
        description: Number of forecast months (between 3 and 12).
        schema:
          minimum: 3
          maximum: 12
          example: 6
          type: number
      responses:
        '200':
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ChartDto'
                - properties:
                    chartData:
                      type: array
                      items:
                        $ref: '#/components/schemas/ForecastData'
            text/csv:
              schema:
                type: string
                example: 'date,forecastedValue,trendValue,estimateValue,actualValue,confidenceInterval

                  2023-01-01,77,77,77,77,{"upper90":77,"upper75":77,"lower75":77,"lower90":77}'
          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 forecast for threats within a radius
      tags:
      - Analytics
components:
  schemas:
    ForecastData:
      type: object
      properties:
        date:
          type: string
        trendValue:
          type: number
        estimatedValue:
          type: number
        actualValue:
          type: number
        forecastedValue:
          type: number
        confidenceInterval:
          $ref: '#/components/schemas/ConfidenceInterval'
      required:
      - date
      - trendValue
      - estimatedValue
      - actualValue
      - forecastedValue
      - confidenceInterval
    ChartDto:
      type: object
      properties:
        chartData:
          type: object
        metadata:
          type: object
      required:
      - chartData
    ConfidenceInterval:
      type: object
      properties:
        upper90:
          type: number
        upper75:
          type: number
        lower75:
          type: number
        lower90:
          type: number
      required:
      - upper90
      - upper75
      - lower75
      - lower90
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-KEY