Spot AI Embeds API

The Embeds API from Spot AI — 2 operation(s) for embeds.

Operations 2

POST /v1/embeds/live Generate an embeddable URL for a live camera feed #
POST /v1/embeds/vod Generate an embeddable URL for a VOD camera feed #

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/spot-ai-embeds-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

spot-ai-embeds-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spot AI — Spot Connect (beta) Analytics Embeds API
  version: 1.10.0
  description: Spot AI Developer API
  contact:
    name: Spot AI
    url: https://developers.spot.ai/
servers:
- url: https://dev-api.spot.ai/
tags:
- name: Embeds
paths:
  /v1/embeds/live:
    post:
      operationId: GenerateLiveEmbedUrl
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                properties:
                  url:
                    type: string
                required:
                - url
                type: object
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
              examples:
                Example 1:
                  value:
                    statusCode: 403
                    message: You do not have permission to create embed tokens for this camera
                    name: AuthorizationError
        '404':
          description: Camera not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
              examples:
                Example 1:
                  value:
                    statusCode: 404
                    message: Camera not found
                    name: NotFoundError
        '500':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
      description: 'Generates an embeddable URL for a live camera feed that can be used in an iframe.


        This endpoint requires the `camera_share_create` permission on the specified camera.'
      summary: Generate an embeddable URL for a live camera feed
      tags:
      - Embeds
      security:
      - bearer_security: []
      parameters: []
      requestBody:
        description: The request body
        required: true
        content:
          application/json:
            schema:
              properties:
                expires_in:
                  type: integer
                  format: int32
                  description: The number of seconds the token will be valid for. Defaults to 30 days (2592000 seconds).
                  example: 3600
                camera_id:
                  type: integer
                  format: int32
                  description: The ID of the camera to generate the embed URL for
              required:
              - camera_id
              type: object
              description: The request body
            examples:
              camera_id:
                value: 42
              expires_in:
                value: 3600
  /v1/embeds/vod:
    post:
      operationId: GenerateVodEmbedUrl
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                properties:
                  url:
                    type: string
                required:
                - url
                type: object
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
              examples:
                Example 1:
                  value:
                    statusCode: 403
                    message: You do not have permission to create embed tokens for this camera
                    name: AuthorizationError
        '404':
          description: Camera not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
              examples:
                Example 1:
                  value:
                    statusCode: 404
                    message: Camera not found
                    name: NotFoundError
      description: 'Generates an embeddable URL for a VOD (Video on Demand) camera feed

        that can be used in an iframe.


        This endpoint requires the `clip_share_create` permission on the specified camera.'
      summary: Generate an embeddable URL for a VOD camera feed
      tags:
      - Embeds
      security:
      - bearer_security: []
      parameters: []
      requestBody:
        description: The request body
        required: true
        content:
          application/json:
            schema:
              properties:
                expires_in:
                  type: integer
                  format: int32
                  description: The number of seconds the token will be valid for. Defaults to 30 days (2592000 seconds).
                  example: 3600
                end:
                  type: string
                  description: The end time of the recording in ISO 8601 format
                  example: '2023-01-01T01:00:00Z'
                start:
                  type: string
                  description: The start time of the recording in ISO 8601 format
                  example: '2023-01-01T00:00:00Z'
                camera_id:
                  type: integer
                  format: int32
                  description: The ID of the camera to generate the embed URL for
                  example: 42
              required:
              - end
              - start
              - camera_id
              type: object
              description: The request body
            examples:
              camera_id:
                value: 42
              start:
                value: '2023-01-01T00:00:00Z'
              end:
                value: '2023-01-01T01:00:00Z'
              expires_in:
                value: 3600
components:
  schemas:
    ApiErrorResponse:
      properties:
        data: {}
        statusCode:
          type: number
          format: double
        message:
          type: string
        name:
          type: string
      required:
      - message
      - name
      type: object
  securitySchemes:
    bearer_security:
      type: http
      scheme: bearer