WhatFontIS API

Identify fonts from an image: submit an image URL or a Base64-encoded image and get back up to 20 of the most similar commercial and free fonts. Contract generated from the public documentation by API Evangelist (2026-11-25); not the provider's own document.

GitHub OpenAPI

Operations 1

POST /api2/ API 2.2 identify fonts from image #

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/whatfontis:whatfontis-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

whatfontis-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: WhatFontIS API
  version: '2026-11-25'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-25: 1 operation(s) read from 3 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; WhatFontIS has published no machine-readable contract that the
    pipeline could find. Engine: local. Corrected by hand on 2026-11-25 against the reference page (roadmap#1159): the documented minimal request
    sends its fields as a form-encoded POST body, so the duplicate query parameters were removed; value ranges, the array response, the X-WFI-*
    response headers and the documented error statuses were added from the same page.'
  x-evidence-tiers:
    code-example: 0
    documentation: 1
    pages-with-code: 3
    pages-read: 3
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-25'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://whatfontis.com/API-identify-fonts-from-image.html
  - https://www.whatfontis.com/API-identify-fonts-from-image.html
  - https://www.whatfontis.com/API1-identify-fonts-from-image.html
servers:
- url: https://www.whatfontis.com
paths:
  /api2/:
    post:
      operationId: post_api2
      tags:
      - Api2
      summary: API 2.2 identify fonts from image
      x-source: https://www.whatfontis.com/API-identify-fonts-from-image.html
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PostApi2Request'
            example:
              API_KEY: YOUR_KEY
              IMAGEBASE64: 0
              urlimage: https://d1ly52g9wjvbd2.cloudfront.net/img16/A/B/NMY_Abril-FatfaceA.png
              limit: 5
              mode: fast
      responses:
        '200':
          description: Fonts most similar to the image, best match first.
          headers:
            X-WFI-Mode:
              description: 'The mode that ran: fast or pro'
              schema:
                type: string
                enum:
                - fast
                - pro
            X-WFI-API:
              description: The API version, e.g. 2.2
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FontMatches'
              example:
              - title: Abril Fatface
                url: https://www.whatfontis.com/NMY_Abril-Fatface.font
                image: https://d1ly52g9wjvbd2.cloudfront.net/img16/A/B/NMY_Abril-FatfaceA.png
                image1: https://d1ly52g9wjvbd2.cloudfront.net/img16/A/B/NMY_Abril-Fatfacea.png
                image2: https://d1ly52g9wjvbd2.cloudfront.net/img16/A/B/NMY_Abril-Fatface0.png
                type: Commercial
                site: Myfonts.com
        '409':
          description: No API key - include the API key in the payload.
          content: &id001
            text/plain:
              schema:
                type: string
        '420':
          description: API error - the API is down.
          content: *id001
        '422':
          description: 'Image or server error: MySQL error, image cannot be saved, unsupported image type, image too large, no text box detected,
            no characters found, or unknown error.'
          content: *id001
        '429':
          description: Too Many Requests - over the daily limit ("API rate limit exceeded").
          content: *id001
      x-evidence:
        kind: documentation
      description: Submit an image (by URL, or Base64-encoded) and get back up to 20 of the most similar fonts. The API key travels in the request
        body. Free for personal use with a required link back to WhatFontIs.com; contact the provider for commercial use. Default limit is 200
        requests per day per API key.
components:
  schemas:
    PostApi2Request:
      type: object
      properties:
        API_KEY:
          type: string
          description: Your API key (shown on the WhatFontIs account page after login).
        IMAGEBASE64:
          type: integer
          enum:
          - 0
          - 1
          default: 0
          description: 0 - use urlimage; 1 - use urlimagebase64.
        urlimage:
          type: string
          format: uri
          description: URL of the image to identify (used when IMAGEBASE64=0).
        urlimagebase64:
          type: string
          description: The Base64-encoded image (used when IMAGEBASE64=1).
        limit:
          type: integer
          minimum: 1
          maximum: 20
          default: 2
          description: Number of results to return.
        mode:
          type: string
          enum:
          - fast
          - pro
          default: fast
          description: fast - one recognition pass (about 2 s); pro - several passes fused into one ranking (about 5-10 s). A missing or unknown
            value runs fast. New in 2.2.
        NOTTEXTBOXSDETECTION:
          type: integer
          enum:
          - 0
          - 1
          description: 0 - attempt to locate a text box; 1 - search for characters across the whole image.
        FREEFONTS:
          type: integer
          enum:
          - 0
          - 1
          description: 0 - all fonts in results; 1 - only free fonts.
      required:
      - API_KEY
    PostApi2Response:
      type: object
      properties:
        title:
          type: string
          description: Font title
        url:
          type: string
          description: Font page on WhatFontIs.com
        image:
          type: string
          description: Font image example from WhatFontIs.com
        image1:
          type: string
          description: Font image example from WhatFontIs.com
        image2:
          type: string
          description: Font image example from WhatFontIs.com
        type:
          type: string
          description: 'Font type: Commercial or Free.'
        site:
          type: string
          description: Font Domain
    FontMatches:
      type: array
      items:
        $ref: '#/components/schemas/PostApi2Response'
tags:
- name: Api2