infinihash-com Closed Loop API

The ClosedLoop API from infinihash-com — 2 operation(s) for closedloop.

Operations 2

POST /closedloop/session Issue a ClosedLoop verify session #
GET /closedloop/session/{token} Resolve a ClosedLoop verify token #

Specifications

Schemas & Data

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/infinihash-com:infinihash-com-closedloop-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

infinihash-com-closedloop-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Infinihash KYC Closed Loop API
  version: 1.0.0
  description: 'Identity verification, KYB, sanctions screening, UBO orchestration and periodic review.


    Auth: send your key as `X-API-Key: ` (or `Authorization: Bearer `).


    Most endpoints are mounted twice — at the root (`/kyc/...`) and under `/api` (`/api/kyc/...`). Prefer the `/api` form; it is what the hosted portals and SDKs use.


    Python SDK: `pip install "git+https://github.com/Infinihash/kyc-python@v0.1.0"` (https://github.com/Infinihash/kyc-python; runnable examples in examples/).'
  contact:
    name: Infinihash
    url: https://kyc.infinihash.com
servers:
- url: https://kyc-api.infinihash.com
  description: Production
tags:
- name: ClosedLoop
paths:
  /closedloop/session:
    post:
      x-route-source:
        file: routes/closedloop-verify.js
        method: post
        path: /session
      summary: Issue a ClosedLoop verify session
      description: Issues a stateless, HMAC-signed, per-transaction verify token valid for 72 hours, plus the infinihash.com/verify URL to text to the end user. Mounted at the root only.
      tags:
      - ClosedLoop
      operationId: createClosedloopSession
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClosedloopSessionRequest'
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      responses:
        '201':
          description: Session issued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClosedloopSessionCreated'
        '401':
          description: Missing or invalid API key
        '429':
          description: Rate limited
        '503':
          description: verify sessions unavailable (signing key not configured)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /closedloop/session/{token}:
    get:
      x-route-source:
        file: routes/closedloop-verify.js
        method: get
        path: /session/:token
      summary: Resolve a ClosedLoop verify token
      description: 'Public landing-page lookup. Always 200: valid:true with a handoff_url, or valid:false with status expired / invalid and a support address. Responses are never cached. Mounted at the root only.'
      tags:
      - ClosedLoop
      operationId: getClosedloopSession
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
        description: token
      security: []
      responses:
        '200':
          description: Token state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClosedloopSessionState'
        '429':
          description: Rate limited
components:
  schemas:
    ClosedloopSessionState:
      type: object
      properties:
        valid:
          type: boolean
        status:
          type: string
          enum:
          - pending
          - expired
          - invalid
        expired:
          type: boolean
        handoff_url:
          type: string
          description: 'Only when valid: link into the KYC document + liveness flow.'
        expires_at:
          type: string
          format: date-time
          description: Only when valid.
        support_email:
          type: string
          description: Only when not valid.
      required:
      - valid
      - status
      - expired
    ClosedloopSessionCreated:
      type: object
      properties:
        token:
          type: string
        verify_url:
          type: string
          description: 'https://infinihash.com/verify/{token}: send this in the SMS.'
        expires_at:
          type: string
          format: date-time
          description: 72 hours after issue.
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
    ClosedloopSessionRequest:
      type: object
      properties:
        ref:
          type: string
          description: Optional opaque reference (e.g. transaction id) bound into the token.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer