TRMNL API

TRMNL API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-27); not the provider's own document.

GitHub OpenAPI

Operations 23

POST /api/async_callbacks/asdfqwerty1234 POST /api/async_callbacks/asdfqwerty1234 #
GET /api/bounties Open community bounties. Add ?completed=true for finished ones #
GET /api/categories Valid plugin categories ( guide ) #
POST /api/custom_plugins/asdfqwerty1234 POST /api/custom_plugins/asdfqwerty1234 #
GET /api/devices GET /api/devices #
GET /api/display GET /api/display #
GET /api/display/current Current screen #
GET /api/firmware/flash Every published firmware version per model, as used by our web flasher #
GET /api/firmware/latest Latest production firmware for TRMNL OG -- model , version + url to the binary #
GET /api/ips IPv4 + IPv6 addresses of our servers. Plugin poll requests only come from these, so allowlist them behind a firewall #
POST /api/markup Render a Liquid template with TRMNL's filters. Send markup (a string or an array of strings) + optional variables #
GET /api/models Supported device models -- dimensions, colors, bit depth, palettes + Framework CSS classes #
GET /api/palettes Color palettes referenced by each model's palette_ids #
GET /api/plugin_settings/{id}/merge_variables Plugin Data API #
GET /api/plugin_settings/{pluginsettingid}/data GET /api/plugin_settings/{pluginSettingId}/data #
GET /byod/install-trmnl-display.sh Install TRMNL display script #
GET /helix/streams Twitch.tv (Streamer Notifications) #
GET /helix/users/follows Twitch.tv (Streamer Notifications) #
POST /oidc/token Swap the code for a token #
GET /recipes.json List Recipes #
GET /recipes/{id}.json Get a single Recipe #
GET /reports/start Async Polling lets your server take its time. #
GET /some-endpoint.json Private Plugins #

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/trmnl-com:trmnl-com-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

trmnl-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: TRMNL API
  version: '2026-11-27'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-27: 23 operation(s) read from 15 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; TRMNL has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 4
    documentation: 19
    pages-with-code: 8
    pages-read: 15
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-27'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.trmnl.com/go/private-api/account
  - https://docs.trmnl.com/go/private-api/screens
  - https://docs.trmnl.com/go/public-api/recipes-api
  - https://docs.trmnl.com/go/private-api/plugin-data
  - https://docs.trmnl.com/go/public-api/introduction
  - https://docs.trmnl.com/go/private-api/introduction
  - https://trmnl.com/developers
  - https://help.trmnl.com/en/articles/17225165-developer-apps
  - https://help.trmnl.com/en/articles/11195228-account-api-keys
  - https://docs.trmnl.com/go/private-plugins/webhooks
  - https://help.trmnl.com/en/articles/11195228-user-level-api-keys
  - https://help.trmnl.com/en/articles/9510536-private-plugins
  - https://docs.trmnl.com/go/partners/introduction
  - https://docs.trmnl.com/go/private-plugins/async-polling
  - https://trmnl.com/roadmap
servers:
- url: https://trmnl.com
paths:
  /api/async_callbacks/asdfqwerty1234:
    post:
      operationId: post_api_async_callbacks_asdfqwerty1234
      tags:
      - Api
      summary: POST /api/async_callbacks/asdfqwerty1234
      x-source: https://docs.trmnl.com/go/private-plugins/async-polling
      parameters:
      - name: v
        in: query
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiAsyncCallbacksAsdfqwerty1234Request'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl "https://trmnl.com/api/async_callbacks/asdfqwerty1234?v=7"  -H "Content-Type: application/json"  -d ''{"merge_variables":
          {"revenue": "$12,400", "orders": 87}}''  -X POST'
  /api/bounties:
    get:
      operationId: get_api_bounties
      tags:
      - Api
      summary: Open community bounties. Add ?completed=true for finished ones
      x-source: https://docs.trmnl.com/go/public-api/introduction
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/categories:
    get:
      operationId: get_api_categories
      tags:
      - Api
      summary: Valid plugin categories ( guide )
      x-source: https://docs.trmnl.com/go/public-api/introduction
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/custom_plugins/asdfqwerty1234:
    post:
      operationId: post_api_custom_plugins_asdfqwerty1234
      tags:
      - Api
      summary: POST /api/custom_plugins/asdfqwerty1234
      x-source: https://docs.trmnl.com/go/private-plugins/webhooks
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiCustomPluginsAsdfqwerty1234Request'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl "https://trmnl.com/api/custom_plugins/asdfqwerty1234"  -H "Content-Type: application/json"  -d ''{"merge_variables": {"text":"You
          can do it!", "author": "Rob Schneider"}}''  -X POST Copy curl "https://trmnl.com/api/custom_plugins/asdfqwerty1234" Copy curl "https://trmnl.com/api/custom_plugins/asdfqwerty1234"  -H
          "Content-Type: application/json"  -d ''{"merge_variables": {"sensor": {"temperature"'
  /api/devices:
    get:
      operationId: get_api_devices
      tags:
      - Api
      summary: GET /api/devices
      description: Returns a list of devices belonging to the account.
      x-source: https://docs.trmnl.com/go/private-api/account
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiDevicesResponse'
      x-evidence:
        kind: documentation
  /api/display:
    get:
      operationId: get_api_display
      tags:
      - Api
      summary: GET /api/display
      x-source: https://docs.trmnl.com/go/private-api/screens
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://trmnl.com/api/display --header \"access-token:xxxxxx\" This will respond with several fields, for example: Copy\
          \ { \n \"status\": 0, # 202 if no user is attached to the device yet \n \"image_url\": \"https://.../plugin-2026-09-29T21:57:33Z-90f0f9.png\"\
          , \n \"filename\": \"plugin-2026-09-29T21:57:33Z-90f0f9\", \n \"refresh_rate\": 1800, # seconds until the next request \n \"reset_firmware\"\
          : false, \n \"updat"
  /api/display/current:
    get:
      operationId: get_api_display_current
      tags:
      - Api
      summary: Current screen
      x-source: https://docs.trmnl.com/go/private-api/screens
      parameters:
      - name: access-token
        in: header
        required: true
        schema:
          type: string
        description: Device API key
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiDisplayCurrentResponse'
      x-evidence:
        kind: documentation
  /api/firmware/flash:
    get:
      operationId: get_api_firmware_flash
      tags:
      - Api
      summary: Every published firmware version per model, as used by our web flasher
      x-source: https://docs.trmnl.com/go/public-api/introduction
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/firmware/latest:
    get:
      operationId: get_api_firmware_latest
      tags:
      - Api
      summary: Latest production firmware for TRMNL OG -- model , version + url to the binary
      x-source: https://docs.trmnl.com/go/public-api/introduction
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/ips:
    get:
      operationId: get_api_ips
      tags:
      - Api
      summary: IPv4 + IPv6 addresses of our servers. Plugin poll requests only come from these, so allowlist them behind a firewall
      x-source: https://docs.trmnl.com/go/public-api/introduction
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/markup:
    post:
      operationId: post_api_markup
      tags:
      - Api
      summary: Render a Liquid template with TRMNL's filters. Send markup (a string or an array of strings) + optional variables
      x-source: https://docs.trmnl.com/go/public-api/introduction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiMarkupRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/models:
    get:
      operationId: get_api_models
      tags:
      - Api
      summary: Supported device models -- dimensions, colors, bit depth, palettes + Framework CSS classes
      x-source: https://docs.trmnl.com/go/public-api/introduction
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/palettes:
    get:
      operationId: get_api_palettes
      tags:
      - Api
      summary: Color palettes referenced by each model's palette_ids
      x-source: https://docs.trmnl.com/go/public-api/introduction
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/plugin_settings/{id}/merge_variables:
    get:
      operationId: get_api_plugin_settings_id_merge_variables
      tags:
      - Api
      summary: Plugin Data API
      x-source: https://docs.trmnl.com/go/private-api/plugin-data
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/plugin_settings/{pluginsettingid}/data:
    get:
      operationId: get_api_plugin_settings_pluginsettingid_data
      tags:
      - Api
      summary: GET /api/plugin_settings/{pluginSettingId}/data
      x-source: https://docs.trmnl.com/go/private-api/plugin-data
      parameters:
      - name: pluginsettingid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl https://trmnl.com/api/plugin_settings/12345/data --header "Authorization: Bearer trmnl_xxxxxx"'
  /byod/install-trmnl-display.sh:
    get:
      operationId: get_byod_install_trmnl_display_sh
      tags:
      - Byod
      summary: Install TRMNL display script
      x-source: https://trmnl.com/developers
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /helix/streams:
    get:
      operationId: get_helix_streams
      tags:
      - Helix
      summary: Twitch.tv (Streamer Notifications)
      description: Checks the live status of channels by accepting broadcaster IDs. Returns details about streams that are currently live.
      x-source: https://trmnl.com/roadmap
      parameters:
      - name: user_id
        in: query
        required: false
        schema:
          type: string
        description: One or more broadcaster IDs to get live stream information for.
      - name: first
        in: query
        required: false
        schema:
          type: string
        description: Maximum number of results to return.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /helix/users/follows:
    get:
      operationId: get_helix_users_follows
      tags:
      - Helix
      summary: Twitch.tv (Streamer Notifications)
      description: Retrieves the list of channels a user follows. Requires a user access token with the `user:read:follows` scope.
      x-source: https://trmnl.com/roadmap
      parameters:
      - name: user_id
        in: query
        required: false
        schema:
          type: string
        description: ID of the user whose follows are being retrieved.
      - name: first
        in: query
        required: false
        schema:
          type: string
        description: Maximum number of results to return.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /oidc/token:
    post:
      operationId: post_oidc_token
      tags:
      - Oidc
      summary: Swap the code for a token
      description: POST to https://trmnl.com/oidc/token with form fields to exchange an authorization code for an access token (or refresh a token).
      x-source: https://help.trmnl.com/en/articles/17225165-developer-apps
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostOidcTokenRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOidcTokenResponse'
      x-evidence:
        kind: documentation
  /recipes.json:
    get:
      operationId: get_recipes_json
      tags:
      - Recipes
      summary: List Recipes
      x-source: https://docs.trmnl.com/go/public-api/recipes-api
      parameters:
      - name: search
        in: query
        required: false
        schema:
          type: string
        description: 'Full-text search. Partial words OK, plus small typos in the name. Ignored under 3 characters. Prefix with # to filter by
          category, URL‑encoded as %23calendar'
      - name: sort-by
        in: query
        required: false
        schema:
          type: string
        description: 'Option by which to rank results (default newest). Valid sort‑by options: oldest, newest, popularity (installs + forks),
          fork, install'
      - name: user_id
        in: query
        required: false
        schema:
          type: string
        description: ID of the author, e.g. 51
      - name: per_page
        in: query
        required: false
        schema:
          type: string
        description: Results count (maximum 100, default 25)
      - name: page
        in: query
        required: false
        schema:
          type: string
        description: Page number (default 1)
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRecipesJsonResponse'
      x-evidence:
        kind: documentation
  /recipes/{id}.json:
    get:
      operationId: get_recipes_id_json
      tags:
      - Recipes
      summary: Get a single Recipe
      x-source: https://docs.trmnl.com/go/public-api/recipes-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRecipesIdJsonResponse'
      x-evidence:
        kind: documentation
  /reports/start:
    get:
      operationId: get_reports_start
      tags:
      - Reports
      summary: Async Polling lets your server take its time.
      description: TRMNL sends a request to your Polling URL with a one‑time callback URL. Your server must answer 202 Accepted and later POST
        the data to the callback URL.
      x-source: https://docs.trmnl.com/go/private-plugins/async-polling
      parameters:
      - name: callback
        in: query
        required: true
        schema:
          type: string
        description: One‑time callback URL supplied by TRMNL.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /some-endpoint.json:
    get:
      operationId: get_some_endpoint_json
      tags:
      - Some Endpoint
      summary: Private Plugins
      x-source: https://help.trmnl.com/en/articles/9510536-private-plugins
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiAsyncCallbacksAsdfqwerty1234Request:
      type: object
      properties:
        merge_variables:
          type: object
          properties:
            revenue:
              type: string
            orders:
              type: integer
    PostApiCustomPluginsAsdfqwerty1234Request:
      type: object
      properties:
        merge_variables:
          type: object
          properties:
            text:
              type: string
            author:
              type: string
    GetApiDevicesResponse:
      type: object
      properties:
        data:
          type: array
          description: Array of device objects.
        id:
          type: integer
          description: Device identifier.
        name:
          type: string
          description: Device name.
        friendly_id:
          type: string
          description: Human‑readable identifier.
        mac_address:
          type: string
          description: Masked MAC address.
        firmware_version:
          type: string
          description: Current firmware version.
        battery_voltage:
          type: number
          description: Battery voltage.
        percent_charged:
          type: number
          description: Battery charge percentage.
        rssi:
          type: integer
          description: Signal strength indicator.
        wifi_strength:
          type: number
          description: Wi‑Fi signal strength.
        refresh_interval:
          type: integer
          description: Device refresh interval in seconds.
        last_ping_at:
          type: string
          description: Timestamp of the last ping.
    GetApiDisplayCurrentResponse:
      type: object
      properties:
        status:
          type: integer
          description: 200 on success
        refresh_rate:
          type: integer
          description: Seconds until the next request
        image_url:
          type: string
          description: URL to the current image
        filename:
          type: string
          description: Filename of the current image
    PostApiMarkupRequest:
      type: object
      properties:
        markup:
          type: string
        variables:
          type: object
      required:
      - markup
    PostOidcTokenRequest:
      type: object
      properties:
        grant_type:
          type: string
          description: authorization_code (or refresh_token for token refresh)
        code:
          type: string
          description: the code you received
        redirect_uri:
          type: string
          description: the same one from Step 2
        client_id:
          type: string
          description: your Client ID
        client_secret:
          type: string
          description: skip the secret if your app doesn't have one
        code_verifier:
          type: string
          description: the PKCE value you made the challenge from
      required:
      - grant_type
      - code
      - redirect_uri
      - client_id
      - code_verifier
    PostOidcTokenResponse:
      type: object
      properties:
        access_token:
          type: string
        token_type:
          type: string
        expires_in:
          type: integer
        refresh_token:
          type: string
        scope:
          type: string
        created_at:
          type: integer
        id_token:
          type: string
          description: present if openid scope was requested
    GetRecipesJsonResponse:
      type: object
      properties:
        data:
          type: array
          description: Array of recipe objects
        total:
          type: integer
          description: Total number of matching recipes
        from:
          type: integer
          description: Index of first item in current page
        to:
          type: integer
          description: Index of last item in current page
        per_page:
          type: integer
          description: Number of items per page
        current_page:
          type: integer
          description: Current page number
        prev_page_url:
          type: string
          description: URL for previous page (null if none)
        next_page_url:
          type: string
          description: URL for next page (null if none)
    GetRecipesIdJsonResponse:
      type: object
      properties:
        data:
          type: object
          description: Recipe object
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Byod
- name: Helix
- name: Oidc
- name: Recipes
- name: Reports
- name: Some Endpoint