UnicodeKit Random API

The Random API from UnicodeKit, for random.

GitHub OpenAPI

Operations 1

GET /random A random assigned character, optionally filtered #

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/unicodekit-com:unicodekit-com-random-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

unicodekit-com-random-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UnicodeKit Random API
  version: 18.0.0
  license:
    name: MIT
    identifier: MIT
  description: Look up, search, and list every assigned Unicode 18.0.0 character. Free, no key, CORS enabled. Responses are cached; lists page with an opaque `cursor` (pass `page.nextCursor` back unchanged). Characters are also available as Markdown at https://unicodekit.com/char/.md, and as tools over MCP at https://unicodekit.com/mcp.
servers:
- url: https://unicodekit.com
security: []
tags:
- name: Random
paths:
  /random:
    get:
      operationId: randomCharacter
      summary: A random assigned character, optionally filtered
      parameters:
      - $ref: '#/components/parameters/block'
      - $ref: '#/components/parameters/script'
      - $ref: '#/components/parameters/category'
      - $ref: '#/components/parameters/emoji'
      responses:
        '200':
          description: A random character
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CharacterSummary'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Random
components:
  schemas:
    CharacterSummary:
      type: object
      properties:
        codepoint:
          type: string
          example: U+2192
        character:
          type: string
          example: →
        name:
          type: string
          example: RIGHTWARDS ARROW
        officialName:
          type: string
        block:
          type: string
          example: Arrows
        script:
          type: string
          example: Common
        scriptCode:
          type: string
          example: Zyyy
        category:
          type: string
          example: Sm
        age:
          type: string
          description: Unicode version that added it
          example: '1.1'
        isEmoji:
          type: boolean
        plane:
          type: string
          example: BMP
        htmlDecimal:
          type: string
          example: '→'
        htmlHex:
          type: string
          example: '→'
        css:
          type: string
          example: \2192
        utf8:
          type: array
          items:
            type: string
          example:
          - E2
          - '86'
          - '92'
        utf16:
          type: array
          items:
            type: string
          example:
          - '2192'
        utf32:
          type: string
          example: 00002192
        normalization:
          type: object
          description: NFC, NFD, NFKC, NFKD forms when they differ (codepoint labels), else null
        unicodeVersion:
          type: string
          example: 18.0.0
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
  parameters:
    category:
      name: category
      in: query
      schema:
        type: string
        pattern: ^[A-Z][a-z]?$
      description: 'General_Category: one letter for a major class (S), two for one category (Sm)'
      example: Sm
    emoji:
      name: emoji
      in: query
      schema:
        type: boolean
      description: Only emoji (true) or only non-emoji (false)
    block:
      name: block
      in: query
      schema:
        type: string
      description: Block name, as listed by /blocks
      example: Arrows
    script:
      name: script
      in: query
      schema:
        type: string
      description: Script name, label, or ISO 15924 code; matches Script_Extensions too
      example: Greek
  responses:
    NotFound:
      description: Nothing matches
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'