licensy-ai Public API

The public API from licensy-ai — 4 operation(s) for public.

Operations 4

GET /api/v2/public/badge/{npi} Public NPI badge data — embed-friendly, no auth #
GET /api/v2/public/stats Public aggregate stats — no PII, embed-safe #
POST /api/v2/public/try-it/search-license/ Try It Search License #
POST /api/v2/public/try-it/npi/search-license/ Try It Npi Search License #

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/licensy-ai:licensy-ai-public-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

licensy-ai-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Public API
  version: 0.1.0
tags:
- name: Public
paths:
  /api/v2/public/badge/{npi}:
    get:
      tags:
      - Public
      summary: Public NPI badge data — embed-friendly, no auth
      description: 'Returns minimal license-status data for an NPI: full name + active states + last-checked date. Used by the /badge.js embed loader. Cached 10 minutes; rate-limited per IP. Returns tracked=false when the NPI is not in any Licensy report yet.'
      operationId: public_badge_api_v2_public_badge__npi__get
      parameters:
      - name: npi
        in: path
        required: true
        schema:
          type: string
          title: Npi
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadgeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v2/public/stats:
    get:
      tags:
      - Public
      summary: Public aggregate stats — no PII, embed-safe
      description: 'Aggregate transparency stats for the Licensy platform: total licenses being tracked, total reports run, states covered, and 30-day scraper uptime. Cached 5 minutes; no auth required. Powers the public /stats marketing page.'
      operationId: public_stats_api_v2_public_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicStats'
  /api/v2/public/try-it/search-license/:
    post:
      tags:
      - Public
      summary: Try It Search License
      description: 'Public, non-beta endpoint for the /try-it-free page.

        Returns results directly from Supabase `tbl_medical_license` (no scraping).'
      operationId: try_it_search_license_api_v2_public_try_it_search_license__post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_try_it_search_license_api_v2_public_try_it_search_license__post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/TryItFreeLicenseResponse'
                type: array
                title: Response Try It Search License Api V2 Public Try It Search License  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v2/public/try-it/npi/search-license/:
    post:
      tags:
      - Public
      summary: Try It Npi Search License
      description: 'Public NPI search for the /try-it-free page.

        Resolves NPI to provider name, then queries Supabase `tbl_medical_license`.'
      operationId: try_it_npi_search_license_api_v2_public_try_it_npi_search_license__post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_try_it_npi_search_license_api_v2_public_try_it_npi_search_license__post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/TryItFreeLicenseResponse'
                type: array
                title: Response Try It Npi Search License Api V2 Public Try It Npi Search License  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BadgeResponse:
      properties:
        npi:
          type: string
          title: Npi
        tracked:
          type: boolean
          title: Tracked
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        active_states:
          items:
            type: string
          type: array
          title: Active States
          default: []
        last_checked_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Checked At
        upgrade_url:
          type: string
          title: Upgrade Url
          default: https://licensy.ai/pricing
        hint:
          anyOf:
          - type: string
          - type: 'null'
          title: Hint
      type: object
      required:
      - npi
      - tracked
      title: BadgeResponse
    PublicStats:
      properties:
        total_licenses_tracked:
          type: integer
          title: Total Licenses Tracked
        total_reports_run:
          type: integer
          title: Total Reports Run
        states_covered:
          type: integer
          title: States Covered
        scraper_uptime_30d_pct:
          type: number
          title: Scraper Uptime 30D Pct
        mcp_calls_30d:
          type: integer
          title: Mcp Calls 30D
          default: 0
        pypi_downloads_30d:
          type: integer
          title: Pypi Downloads 30D
          default: 0
        npm_downloads_30d:
          type: integer
          title: Npm Downloads 30D
          default: 0
        generated_at:
          type: string
          title: Generated At
      type: object
      required:
      - total_licenses_tracked
      - total_reports_run
      - states_covered
      - scraper_uptime_30d_pct
      - generated_at
      title: PublicStats
    TryItFreeLicenseResponse:
      properties:
        Full_Name:
          anyOf:
          - type: string
          - type: 'null'
          title: Full Name
        License_Type:
          anyOf:
          - type: string
          - type: 'null'
          title: License Type
        License_Number:
          anyOf:
          - type: string
          - type: 'null'
          title: License Number
        Status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        Issued:
          anyOf:
          - type: string
          - type: 'null'
          title: Issued
        Expired:
          anyOf:
          - type: string
          - type: 'null'
          title: Expired
        State:
          anyOf:
          - type: string
          - type: 'null'
          title: State
      type: object
      title: TryItFreeLicenseResponse
    Body_try_it_search_license_api_v2_public_try_it_search_license__post:
      properties:
        First_Name:
          type: string
          title: First Name
        Last_Name:
          type: string
          title: Last Name
        Middle_Name:
          type: string
          title: Middle Name
          default: ''
        License_Type:
          type: string
          title: License Type
          default: MD
        State:
          type: string
          title: State
        recaptcha_token:
          type: string
          title: Recaptcha Token
        limit:
          type: integer
          title: Limit
          default: 50
      type: object
      required:
      - First_Name
      - Last_Name
      - State
      - recaptcha_token
      title: Body_try_it_search_license_api_v2_public_try_it_search_license__post
    Body_try_it_npi_search_license_api_v2_public_try_it_npi_search_license__post:
      properties:
        npi_number:
          type: string
          title: Npi Number
        License_Type:
          type: string
          title: License Type
          default: MD
        State:
          type: string
          title: State
        recaptcha_token:
          type: string
          title: Recaptcha Token
        limit:
          type: integer
          title: Limit
          default: 50
      type: object
      required:
      - npi_number
      - State
      - recaptcha_token
      title: Body_try_it_npi_search_license_api_v2_public_try_it_npi_search_license__post
    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
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer