labelixa-com Text API

The Text API from labelixa-com — 1 operation(s) for text.

Operations 1

POST /v1/text/measure Measure text width #

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/labelixa-com:labelixa-com-text-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

labelixa-com-text-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Labelixa Com Text API
  version: 0.4.0
  description: 'Operations tagged Text across 2 of this provider''s published API definitions: labelixa-com-api-openapi.json, labelixa-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Text
paths:
  /v1/text/measure:
    post:
      summary: Measure text width
      description: 'Measures text width in dots for centring and `^FB`, using the preview engine itself. JSON body: `text`, `font`, `height`, `width`, `dpmm`, `block_width`, `label_width`. Returns `width_dots`, `height_dots`, `lines` (when `block_width` is given) and `center_x` (when `label_width` is given). A printer''s ROM font may differ by a few dots. Rate limit only; the text is not stored. 422 for unmeasurable input.'
      operationId: metin_olc_v1_text_measure_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetinOlcuIstegi'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Text
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    MetinOlcuIstegi:
      properties:
        text:
          type: string
          title: Text
        font:
          type: string
          title: Font
          default: '0'
        height:
          type: integer
          title: Height
          default: 30
        width:
          type: integer
          title: Width
          default: 0
        dpmm:
          type: integer
          title: Dpmm
          default: 8
        block_width:
          anyOf:
          - type: integer
          - type: 'null'
          title: Block Width
        label_width:
          anyOf:
          - type: integer
          - type: 'null'
          title: Label Width
      type: object
      required:
      - text
      title: MetinOlcuIstegi
x-refined-from:
- labelixa-com-api-openapi.json
- labelixa-com-openapi.json