> ## Documentation Index
> Fetch the complete documentation index at: https://docs.elestrals.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch a creature by ID.



## OpenAPI

````yaml /openapi.yaml get /v1/creatures/{id}
openapi: 3.1.0
info:
  title: Elestrals TCG API
  summary: Public read-only API for Elestrals TCG card data.
  description: >
    Semi-public REST API exposing Elestrals TCG card data to approved
    developers.

    Access is gated by application and controlled by per-key rate limits.


    This file is the source of truth for the API's public contract. Code and
    spec

    stay in sync via the CI consistency check (see `scripts/check-openapi.mjs`).
  version: 1.0.0
  contact:
    name: Elestrals Developer Support
    url: https://docs.elestrals.com
  license:
    name: Proprietary
    identifier: LicenseRef-Elestrals-Developer-Agreement
servers:
  - url: https://api.elestrals.com
    description: Production
  - url: http://127.0.0.1:8787
    description: Local wrangler dev
security:
  - bearerAuth: []
tags:
  - name: Meta
    description: Service metadata endpoints.
  - name: Series
    description: Groupings of sets (First Edition, Kickstarter, Organized Play, etc.).
  - name: Sets
    description: Product sets (booster, starter deck, specialty).
  - name: Creatures
    description: The master creature lineage for Elestrals cards.
  - name: Cards
    description: Game entities — the cards as gameplay pieces (stats, effects, legality).
  - name: Printings
    description: Physical printings — a specific printed card in a set.
paths:
  /v1/creatures/{id}:
    get:
      tags:
        - Creatures
      summary: Fetch a creature by ID.
      operationId: getCreature
      parameters:
        - $ref: '#/components/parameters/CreatureIdPath'
      responses:
        '200':
          description: The requested creature.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatureResponse'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    CreatureIdPath:
      name: id
      in: path
      required: true
      schema:
        type: string
      description: Creature ID (`el-...`).
  schemas:
    CreatureResponse:
      type: object
      required:
        - data
        - meta
      properties:
        data:
          $ref: '#/components/schemas/Creature'
        meta:
          $ref: '#/components/schemas/Meta'
    Creature:
      type: object
      required:
        - id
        - name
        - class
        - elements
        - blurb
        - constellation_number
        - element_number
        - level_number
        - images
        - updated_at
      properties:
        id:
          type: string
          example: el-159
        name:
          type: string
          example: Waspivy
        class:
          $ref: '#/components/schemas/Class'
        elements:
          type: array
          items:
            $ref: '#/components/schemas/ElementToken'
        blurb:
          type:
            - string
            - 'null'
          maxLength: 400
        constellation_number:
          type: string
          example: '17'
        element_number:
          type: string
          example: '02'
        level_number:
          type: string
          example: '03'
        images:
          $ref: '#/components/schemas/CreatureImages'
        updated_at:
          type: string
          format: date-time
    Meta:
      type: object
      required:
        - request_id
        - cached
        - attribution_required
      properties:
        request_id:
          type: string
          example: req_0123456789abcdef
        cached:
          type: boolean
        attribution_required:
          type: boolean
          const: true
    ApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              enum:
                - not_found
                - bad_request
                - invalid_cursor
                - unauthorized
                - forbidden
                - rate_limit_exceeded
                - quota_exceeded
                - internal_error
                - service_unavailable
            message:
              type: string
            request_id:
              type: string
            docs_url:
              type: string
              format: uri
    Class:
      type: string
      enum:
        - spirit
        - elestral
        - rune_divine
        - rune_artifact
        - rune_stadium
        - rune_invoke
        - rune_counter
    ElementToken:
      type: string
      enum:
        - earth
        - fire
        - water
        - thunder
        - wind
        - frost
        - solar
        - lunar
        - omni
    CreatureImages:
      type: object
      required:
        - render_thumbnail_url
      properties:
        render_thumbnail_url:
          type: string
          format: uri
  responses:
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    InternalError:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: elestrals_live_<32char>
      description: >
        API key supplied as `Authorization: Bearer <key>`. Keys are minted in
        the

        developer portal. Rejected in query strings. See the Authentication
        guide.

````