OpenAxia Replacements API

The Replacements API from OpenAxia — 1 operation(s) for replacements.

GitHub OpenAPI

Operations 1

GET /api/v1/replacements Replacement finder: resolve a motor model as typed on its label (e.g. #

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/openaxia-com:openaxia-com-replacements-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

openaxia-com-replacements-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenAxia Public Replacements API
  version: 1.0.0
  description: 'OpenAxia — Read-only access to the claim-sourced knowledge base of motors, smart motion/shading products, manufacturers and certifications. Every spec, company fact and certification carries its original source and observation date. Only published, reviewed records are exposed. Access: anonymous callers get 60 requests per hour per client IP; a free API key (sent as "Authorization: Bearer " or "X-API-Key: ") gets 5,000 requests per day per key. Over quota → 429 with Retry-After; an invalid or revoked key → 401. Every response reports the remaining quota in RateLimit-* headers. Attribution is required when data is reused (see x-attribution and GET /api/v1). Data may be quoted and reused with attribution: cite "OpenAxia" and link to the record page. Each value carries its original source; verify important facts there.'
  license:
    name: Attribution required — cite OpenAxia and link to the record page
    url: https://openaxia.com/agent
  x-attribution:
    required: true
    name: OpenAxia
    url: https://openaxia.com
    text: 'Attribution: OpenAxia (https://openaxia.com)'
    policyUrl: https://openaxia.com/agent
    notice: 'Data may be quoted and reused with attribution: cite "OpenAxia" and link to the record page. Each value carries its original source; verify important facts there.'
servers:
- url: https://openaxia.com
security:
- {}
- ApiKeyHeader: []
- BearerKey: []
tags:
- name: Replacements
paths:
  /api/v1/replacements:
    get:
      operationId: findReplacements
      summary: 'Replacement finder: resolve a motor model as typed on its label (e.g.'
      parameters:
      - name: model
        in: query
        required: true
        description: Model as printed on the motor (1–80 characters); brand name and words like 'replacement' may be included.
        schema:
          type: string
          minLength: 1
          maxLength: 80
      - name: brand
        in: query
        required: false
        description: Brand slug to restrict the lookup to (e.g. `becker`); an unknown slug gives status not_found.
        schema:
          type: string
          pattern: ^[a-z0-9-]{1,96}$
      - name: tiers
        in: query
        required: false
        description: 'Comma-separated tiers to return: a = manufacturer-stated replacement, b = same series, c = same brand (default a,b,c). Other brands (d) are not offered yet.'
        schema:
          type: array
          items:
            type: string
            enum:
            - a
            - b
            - c
        style: form
        explode: false
      - name: torque
        in: query
        required: false
        description: Rated torque in Nm from the motor label (0.5–300). Used only to complete or stand in for the target (a resolved product keeps its published values; a value read from the model name is replaced; with `brand`, torque, rpm and diameter an unknown model is compared on these values alone). Reported under `data.override`; values carry basis `user_override`.
        schema:
          type: number
          minimum: 0.5
          maximum: 300
      - name: rpm
        in: query
        required: false
        description: Rated speed in rpm from the motor label (5–60).
        schema:
          type: number
          minimum: 5
          maximum: 60
      - name: diameter
        in: query
        required: false
        description: Motor diameter class in mm.
        schema:
          type: number
          enum:
          - 22
          - 25
          - 28
          - 30
          - 35
          - 40
          - 45
          - 50
          - 58
          - 60
      - name: voltage
        in: query
        required: false
        description: 'Rated voltage: 12, 24, 100–127 or 208–240 V.'
        schema:
          type: number
          minimum: 12
          maximum: 240
      responses:
        '200':
          description: The resolution (resolved / resolved_edition / series_only / ambiguous / not_found) and, when a target exists, the replacement groups.
          headers:
            ETag:
              $ref: '#/components/headers/ETag'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            X-Quota-Scope:
              $ref: '#/components/headers/QuotaScope'
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/SuccessEnvelope'
                - type: object
                  properties:
                    data:
                      $ref: '#/components/schemas/ReplacementResult'
                    meta:
                      type: 'null'
        '304':
          description: Not modified.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      tags:
      - Replacements
components:
  responses:
    Unauthorized:
      description: The API key is malformed, unknown or revoked (omit it to use the anonymous quota).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
      headers:
        WWW-Authenticate:
          schema:
            type: string
    InternalError:
      description: Temporary failure; retry later.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    RateLimited:
      description: Quota exhausted; retry after Retry-After seconds, or use an API key for a higher quota.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
      headers:
        Retry-After:
          schema:
            type: integer
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimitPolicy'
        X-Quota-Scope:
          $ref: '#/components/headers/QuotaScope'
    NotFound:
      description: No publicly visible record matches this identifier.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    BadRequest:
      description: Invalid or unknown query parameter, or malformed cursor.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  headers:
    RateLimitPolicy:
      description: Quota policy, e.g. "60;w=3600" (anonymous) or "5000;w=86400" (free key).
      schema:
        type: string
    ETag:
      description: Weak entity tag; send as If-None-Match to get 304.
      schema:
        type: string
    QuotaScope:
      description: 'Which quota applied: anonymous, free or partner.'
      schema:
        type: string
        enum:
        - anonymous
        - free
        - partner
    CacheControl:
      schema:
        type: string
        example: public, max-age=60
    RateLimitLimit:
      description: Quota size of the window that applies to this caller.
      schema:
        type: integer
    RateLimitReset:
      description: Seconds until the current quota window resets.
      schema:
        type: integer
    RateLimitRemaining:
      schema:
        type: integer
      description: Requests left in the current quota window.
  schemas:
    ReplacementResult:
      type: object
      required:
      - query
      - resolution
      - target
      - specMatching
      - groups
      - statedParts
      - insufficient
      - unchecked
      - override
      - excludedCounts
      - disclaimer
      - generatedAt
      - provenance
      properties:
        query:
          type:
          - object
          - 'null'
          description: Null for /api/v1/products/{slug}/replacements.
          properties:
            raw:
              type: string
            brand:
              type:
              - object
              - 'null'
              properties:
                slug:
                  type: string
                name:
                  type: string
            modelKey:
              type: string
            torqueSpeedHint:
              type:
              - object
              - 'null'
              properties:
                torqueNm:
                  type: number
                rpm:
                  type: number
                ruleId:
                  type: string
        resolution:
          type: object
          properties:
            status:
              type: string
              enum:
              - resolved
              - resolved_edition
              - series_only
              - ambiguous
              - not_found
            resolvedVia:
              type:
              - string
              - 'null'
              enum:
              - product_key
              - exact
              - model_group
              - edition
              - series_token
              - duplicate
              - index
              - null
            candidates:
              type: array
              items:
                $ref: '#/components/schemas/ReplacementProductSummary'
              description: 'ambiguous: choose one (max 10); series_only: current sizes of the series.'
            groupMembers:
              type: array
              items:
                $ref: '#/components/schemas/ReplacementProductSummary'
            note:
              type:
              - string
              - 'null'
            truncated:
              type: boolean
              description: 'The named series has more sizes than the listed cap (60): series_only candidates are the first page. The exact size was still looked up across the whole series.'
            truncatedText:
              type:
              - string
              - 'null'
            suggestions:
              type: array
              items:
                $ref: '#/components/schemas/ReplacementProductSummary'
              description: 'status not_found or ambiguous only: up to 10 fuzzy search hits that were not resolved to a product ("did you mean" links, never a target). Empty otherwise. id is null while public URLs are on; use slug / path / url.'
            suggestionsText:
              type:
              - string
              - 'null'
              description: '"Did you mean one of these?" when suggestions is non-empty, else null.'
        target:
          type:
          - object
          - 'null'
          properties:
            kind:
              type: string
              enum:
              - product
              - virtual
            product:
              oneOf:
              - $ref: '#/components/schemas/ReplacementProductSummary'
              - type: 'null'
            series:
              type:
              - object
              - 'null'
              description: Series of a model query (series_token / series_only). `id` is null while public URLs are on.
              properties:
                id:
                  type:
                  - string
                  - 'null'
                name:
                  type: string
                slug:
                  type: string
                brand:
                  type: object
                  properties:
                    slug:
                      type: string
                    name:
                      type: string
            assumption:
              type:
              - string
              - 'null'
              description: Virtual target sentence, or which values came from the requester (torque/rpm/diameter/voltage params).
            lifecycle:
              type: string
            speedBasis:
              type: string
              enum:
              - load
              - no_load
              - unknown
            specs:
              type: object
              additionalProperties:
                $ref: '#/components/schemas/ReplacementSpecValue'
        specMatching:
          type: string
          enum:
          - ok
          - insufficient_data
          - not_tubular
          - no_target
        groups:
          type: array
          items:
            type: object
            properties:
              tier:
                type: string
                enum:
                - a
                - b
                - c
                - d
              label:
                type: string
              matches:
                type: array
                items:
                  $ref: '#/components/schemas/ReplacementMatch'
        statedParts:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              partNumber:
                type:
                - string
                - 'null'
              brand:
                type:
                - object
                - 'null'
                properties:
                  slug:
                    type: string
                  name:
                    type: string
              requiredChanges:
                type: array
                items:
                  type: object
                  properties:
                    kind:
                      type: string
                      enum:
                      - crown
                      - drive
                      - bracket
                      - adapter
                      - controller
                      - wiring
                      - other
                    text:
                      type: string
                    partNumber:
                      type: string
              evidence:
                $ref: '#/components/schemas/ReplacementEvidence'
              label:
                type: string
        insufficient:
          type:
          - object
          - 'null'
          properties:
            heading:
              type: string
            missing:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                    enum:
                    - torque
                    - speed
                    - diameter
                    - supply
                  reason:
                    type: string
                    enum:
                    - not_published
                    - not_yet_collected
                    - conflict
                    - limit_only
                  text:
                    type: string
        unchecked:
          type: array
          items:
            type: object
            properties:
              tier:
                type: string
                enum:
                - a
                - b
                - c
                - d
              count:
                type: integer
              missing:
                type: array
                items:
                  type: string
              productIds:
                type:
                - array
                - 'null'
                items:
                  type: string
                description: Deprecated numeric ids; null while public URLs are on. Use productKeys.
              productKeys:
                type: array
                items:
                  type: string
                description: API identifiers of the unchecked products (ReplacementProductSummary.slug rule).
              text:
                type: string
              catalogPath:
                type:
                - string
                - 'null'
                description: 'Catalogue listing of the tier''s scope: `/products?product_line=…&brand=…[&series=…]` (b = same series, c = same brand, d = product line). The catalogue has no missing-field filter; this is the closest filtered view.'
              catalogUrl:
                type:
                - string
                - 'null'
                description: Absolute catalogPath; null while public URLs are disabled.
        override:
          type:
          - object
          - 'null'
          description: 'Requester values (torque/rpm/diameter/voltage params): requested, applied to the target, ignored with a reason. Null when none were given.'
          properties:
            requested:
              type: object
              properties:
                torque:
                  type:
                  - number
                  - 'null'
                rpm:
                  type:
                  - number
                  - 'null'
                diameter:
                  type:
                  - number
                  - 'null'
                voltage:
                  type:
                  - number
                  - 'null'
            applied:
              type: array
              items:
                type: string
                enum:
                - torque
                - rpm
                - diameter
                - voltage
            ignored:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                    enum:
                    - torque
                    - rpm
                    - diameter
                    - voltage
                  reason:
                    type: string
                    enum:
                    - product_value
                    - no_target
                    description: product_value = the resolved product publishes this value (never replaced); no_target = no brand, or torque/rpm/diameter incomplete, so nothing could be compared.
            text:
              type:
              - string
              - 'null'
        excludedCounts:
          type: object
          additionalProperties:
            type: integer
        disclaimer:
          type: string
        generatedAt:
          type: string
          format: date-time
        provenance:
          type: object
          properties:
            method:
              type: string
            tolerances:
              type: string
            tiersRequested:
              type: array
              items:
                type: string
                enum:
                - a
                - b
                - c
                - d
            candidatePool:
              type: object
              properties:
                recalled:
                  type: integer
                truncated:
                  type: boolean
    SuccessEnvelope:
      type: object
      properties:
        ok:
          const: true
        data: {}
        error:
          type: 'null'
        meta: {}
      required:
      - ok
      - data
      - error
      - meta
    ReplacementMatch:
      type: object
      properties:
        product:
          $ref: '#/components/schemas/ReplacementProductSummary'
        tier:
          type: string
          enum:
          - a
          - b
          - c
          - d
        grade:
          type:
          - string
          - 'null'
          enum:
          - direct
          - with_changes
          - null
        label:
          type: string
        matched:
          type: array
          items:
            $ref: '#/components/schemas/ReplacementMatchLine'
        differences:
          type: array
          items:
            allOf:
            - $ref: '#/components/schemas/ReplacementMatchLine'
            - type: object
              properties:
                severity:
                  type: string
                  enum:
                  - consequence
        notes:
          type: array
          items:
            type: string
        requiredChanges:
          type: array
          items:
            type: object
            properties:
              kind:
                type: string
                enum:
                - crown
                - drive
                - bracket
                - adapter
                - controller
                - wiring
                - other
              text:
                type: string
              partNumber:
                type: string
        notChecked:
          type: array
          items:
            type: object
            properties:
              item:
                type: string
                enum:
                - head_and_adapters
                - brackets
                - remote_pairing
                - wiring
              text:
                type: string
        weakEvidence:
          type: boolean
        evidence:
          type: array
          items:
            $ref: '#/components/schemas/ReplacementEvidence'
    ReplacementProductSummary:
      type: object
      required:
      - id
      - slug
      - publicId
      - path
      - url
      - displayName
      - label
      - modelCode
      - partNumber
      - aliases
      - brand
      - series
      - lifecycle
      - speedBasis
      - specs
      properties:
        id:
          type:
          - string
          - 'null'
          description: Deprecated numeric id; null while MOTOBASE_PUBLIC_URLS_ENABLED is on (the API never outputs numeric ids then). Use slug or publicId.
        slug:
          type: string
          description: 'API identifier, same rule as GET /api/v1/products/{slug}: the canonical URL segment with public URLs on, else (or while not backfilled) the numeric id.'
        publicId:
          type:
          - string
          - 'null'
        path:
          type:
          - string
          - 'null'
        url:
          type:
          - string
          - 'null'
        displayName:
          type: string
        label:
          type: string
          description: 'What to show: displayName, or — when another product in the same result shares the display name — `displayName (<model code | part number | alias | publicId>)`, the first that tells them apart. Deterministic.'
        modelCode:
          type: string
          description: The raw model string as published (e.g. `R8/17C PLUS`).
        partNumber:
          type:
          - string
          - 'null'
          description: Manufacturer part number / SKU as published.
        aliases:
          type: array
          items:
            type: string
          description: Part-number aliases (superseded, regional, vendor alternatives), sorted.
        brand:
          type:
          - object
          - 'null'
          properties:
            slug:
              type: string
            name:
              type: string
        series:
          type:
          - object
          - 'null'
          properties:
            name:
              type: string
            slug:
              type: string
        lifecycle:
          type: string
          enum:
          - active
          - discontinued
          - replaced
          - unknown
        speedBasis:
          type: string
          enum:
          - load
          - no_load
          - unknown
        specs:
          type: object
          description: 'Key specs from the product''s published values: torque_nm, rpm, diameter_mm when known.'
          additionalProperties:
            $ref: '#/components/schemas/ReplacementSpecValue'
    ReplacementMatchLine:
      type: object
      properties:
        key:
          type: string
        targetValue:
          description: Number, text or list of values.
          oneOf:
          - type: number
          - type: string
          - type: array
            items:
              type:
              - string
              - number
          - type: 'null'
        candidateValue:
          description: Number, text or list of values.
          oneOf:
          - type: number
          - type: string
          - type: array
            items:
              type:
              - string
              - number
          - type: 'null'
        delta:
          type:
          - number
          - 'null'
        basis:
          type: object
          properties:
            target:
              type:
              - string
              - 'null'
            candidate:
              type:
              - string
              - 'null'
        text:
          type: string
    ReplacementEvidence:
      type: object
      properties:
        kind:
          type: string
          enum:
          - claim
          - certification_match
          - human_review
          - spec_comparison
        claimId:
          type:
          - string
          - 'null'
        verifiedAt:
          type:
          - string
          - 'null'
        referenceUrl:
          type:
          - string
          - 'null'
        rationale:
          type:
          - string
          - 'null'
    ReplacementSpecValue:
      type: object
      properties:
        value:
          description: Number, text or list of values.
          oneOf:
          - type: number
          - type: string
          - type: array
            items:
              type:
              - string
              - number
          - type: 'null'
        display:
          type: string
          description: Display text with unit; enum values as vocabulary labels (e.g. `8 Nm`, `Roller shutter, Awning`, `io-homecontrol`).
        unit:
          type:
          - string
          - 'null'
        basis:
          type: string
          enum:
          - claim
          - derived_model_name
          - series_default
          - user_override
          description: claim = a product claim; derived_model_name = read from the model name (shown as 'from the model name'); series_default = a series-level value; user_override = a value the requester supplied (torque/rpm/diameter/voltage params, shown as 'your value').
        basisLabel:
          type:
          - string
          - 'null'
        claimId:
          type:
          - string
          - 'null'
        qualifier:
          type:
          - string
          - 'null'
        evidenceStrength:
          type:
          - string
          - 'null'
    ErrorEnvelope:
      type: object
      properties:
        ok:
          const: false
        data:
          type: 'null'
        error:
          type: object
          properties:
            code:
              type: string
              enum:
              - invalid_request
              - invalid_cursor
              - invalid_api_key
              - not_found
              - gone
              - rate_limited
              - internal_error
            message:
              type: string
          required:
          - code
          - message
        meta:
          type: 'null'
      required:
      - ok
      - data
      - error
      - meta
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key (oax_…). Optional: without a key the anonymous per-IP quota applies.'
    BearerKey:
      type: http
      scheme: bearer
      description: 'The same API key sent as "Authorization: Bearer <key>".'