Space Context Frames API

The Frames API from Space Context — 1 operation(s) for frames.

GitHub OpenAPI

Operations 1

POST /frames/check Check one frame while filming #

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/spacecontext-app:spacecontext-app-frames-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spacecontext-app-frames-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Space Context Frames API
  version: v1
servers:
- url: https://api.spacecontext.app/v1
tags:
- name: Frames
paths:
  /frames/check:
    post:
      operationId: checkFrame
      summary: Check one frame while filming
      description: 'For apps that capture a space and guide the person filming: is this frame usable, which key locations does it show and, with `space_type`, which area. With `space_type` the key locations are those of that type of space (`GET /capture-profiles`: a car is checked for its VIN plate and dashboard, a boat for its seacocks), and `area` says where the frame was taken; without it, a home''s: electrical_panel, water_shutoff, water_heater, smoke_detector, fire_extinguisher, router, heating_control, gas_meter, and no area. A key location is `seen` from a probability of 0.7. The raw image as the body: JPEG, PNG or WebP, at most 2 MB. About half a second; nothing is stored. Free within a daily allowance per account (429 when used up). Test keys get a fixed answer. Needs `scans:write`; a live check needs a card on file, like a live scan. Errors: 400 `VALIDATION_ERROR` (unknown `space_type`), 402 `PAYMENT_METHOD_REQUIRED` (live, no card on file: added in the console, nothing charged), 415 `INVALID_CONTENT_TYPE`, 503 `FRAME_CHECK_UNAVAILABLE`, 503 `PAYMENTS_UNAVAILABLE` (live, where payments are not configured).'
      security:
      - apiKey: []
      parameters:
      - name: space_type
        in: query
        required: false
        description: 'The type of space being filmed: its key locations, and the area question.'
        schema:
          type: string
          enum:
          - apartment
          - house
          - office
          - warehouse
          - vehicle
          - boat
          - camper
          - shop
          - garage
          - appliance
          - other
      requestBody:
        required: true
        content:
          image/jpeg:
            schema:
              type: string
              format: binary
          image/png:
            schema:
              type: string
              format: binary
          image/webp:
            schema:
              type: string
              format: binary
      responses:
        '200':
          description: What the frame shows
          headers:
            Cache-Control:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FrameCheck'
        '400':
          $ref: '#/components/responses/ErrorResponse'
        '401':
          $ref: '#/components/responses/ErrorResponse'
        '402':
          $ref: '#/components/responses/ErrorResponse'
        '403':
          $ref: '#/components/responses/ErrorResponse'
        '413':
          $ref: '#/components/responses/ErrorResponse'
        '415':
          $ref: '#/components/responses/ErrorResponse'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/ErrorResponse'
      tags:
      - Frames
components:
  schemas:
    KeyLocationKind:
      type: string
      enum:
      - electrical_panel
      - water_shutoff
      - gas_shutoff
      - water_heater
      - heating_control
      - air_conditioning_control
      - router
      - fire_extinguisher
      - smoke_detector
      - first_aid
      - emergency_exit
      - keys
      - waste_recycling
      - electricity_meter
      - gas_meter
      - water_meter
      - alarm_panel
      - spare_supplies
      - identification_plate
      - instrument_panel
      - engine_bay
      - spare_wheel
      - safety_equipment
      - battery_isolator
      - bilge_pump
      - seacock
      - fuel_shutoff
      - water_tank
      - sprinkler_valve
      - control_panel
      - filter
      - utility_connections
      - other
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - request_id
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
            retry_after:
              type: integer
              description: 'On a 429: seconds to wait, as in `Retry-After`.'
            daily_limit:
              type: integer
              description: 'On a 429 for a daily allowance: the allowance (it resets at midnight UTC).'
            max_streams:
              type: integer
              description: 'On a 429 from `GET /scans/{id}/events`: the streams an account may hold open at once.'
            max_open_scans:
              type: integer
              description: 'On a 429 from `POST /spaces/{id}/scans`: the scans an account may hold created and not started.'
          additionalProperties: true
    FrameCheck:
      type: object
      required:
      - object
      - livemode
      - space_type
      - usable
      - quality
      - shows_space
      - area
      - key_locations
      properties:
        object:
          type: string
          enum:
          - frame_check
        livemode:
          type: boolean
        space_type:
          type:
          - string
          - 'null'
          enum:
          - apartment
          - house
          - office
          - warehouse
          - vehicle
          - boat
          - camper
          - shop
          - garage
          - appliance
          - other
          - null
          description: The `space_type` asked, or null.
        usable:
          type: boolean
          description: 'Sharp, lit and showing the space: worth keeping in a scan.'
        quality:
          type: object
          required:
          - score
          - level
          properties:
            score:
              type: number
              minimum: 0
              maximum: 3
              description: Expected level, 0 (unusable) to 3 (excellent).
            level:
              type: string
              enum:
              - unusable
              - poor
              - good
              - excellent
        shows_space:
          type: number
          minimum: 0
          maximum: 1
          description: Probability that the frame shows the real thing being filmed (a place, a vehicle, a boat, an appliance), not a drawing, document or screen.
        area:
          type:
          - object
          - 'null'
          description: 'The most likely area of the space (`GET /capture-profiles`), with its probability: show it from about 0.6. Null without `space_type`, for a type with no areas (appliance), or when the frame shows none of them.'
          required:
          - value
          - probability
          properties:
            value:
              type: string
              enum:
              - entrance
              - hallway
              - living_room
              - kitchen
              - dining_room
              - bedroom
              - bathroom
              - laundry
              - storage
              - balcony
              - garden
              - garage
              - stairs
              - exterior
              - reception
              - open_space
              - office_room
              - meeting_room
              - server_room
              - sales_floor
              - checkout
              - fitting_room
              - stockroom
              - loading_dock
              - storage_area
              - mezzanine
              - cab
              - living_area
              - deck
              - cockpit
              - cabin
              - galley
              - engine_room
              - exterior_front
              - exterior_rear
              - exterior_side
              - interior_front
              - interior_rear
              - trunk
              - engine_compartment
            probability:
              type: number
              minimum: 0
              maximum: 1
        key_locations:
          type: array
          description: Every key location of the type of space, in its order.
          items:
            type: object
            required:
            - kind
            - probability
            - seen
            properties:
              kind:
                $ref: '#/components/schemas/KeyLocationKind'
              probability:
                type: number
                minimum: 0
                maximum: 1
              seen:
                type: boolean
                description: Probability of at least 0.7.
  responses:
    RateLimited:
      description: Too many requests. Retry after the number of seconds in `Retry-After`.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ErrorResponse:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: sc_live or sc_test