ModelMarket Security API

The security API from ModelMarket — 2 operation(s) for security.

GitHub OpenAPI

Operations 2

POST /x402/histor-check HISTOR pre-flight for an MCP server: its signed record in the HISTOR… #
POST /x402/warden-scan WARDEN verdict on an MCP server's tools/list: allow or block, a 0-1 score and… #

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/modelmarket-dev:modelmarket-dev-security-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

modelmarket-dev-security-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: modelmarket.dev — AIMarket Hub v3 Security API
  description: Lean federation hub for AI capability discovery and routing. Plugins extend functionality.
  version: 3.21.0
tags:
- name: Security
paths:
  /x402/histor-check:
    post:
      operationId: historCheck
      summary: 'HISTOR pre-flight for an MCP server: its signed record in the HISTOR…'
      description: 'HISTOR pre-flight for an MCP server: its signed record in the HISTOR transparency log — when the tool set was first seen, whether it changed, what the pattern scan found. Never contacts the server asked about.'
      tags:
      - Security
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.001'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: USDC
            payTo: '0x1218ff36C5d2e3B6A565CdB1A8B1AcCFc606Ad0a'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                endpoint:
                  type: string
                  description: https URL of the MCP server (send this or name)
                name:
                  type: string
                  description: registry name, e.g. io.github.owner/server (send this or endpoint)
            example:
              endpoint: https://mcp.redu.cloud/mcp
      responses:
        '200':
          description: The result (paid).
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: ok
                  service:
                    type: string
                    const: histor-check
                  source:
                    type: string
                    description: the HISTOR instance that answered
                  check:
                    type: object
                    description: HISTOR's signed answer, histor.check/v1 (https://github.com/alexar76/histor/blob/main/docs/api.md)
                    properties:
                      type:
                        type: string
                        const: histor.check/v1
                      checkedAt:
                        type: string
                        description: ISO 8601 UTC
                      issuer:
                        type: string
                        description: did:key of the log
                      query:
                        type: object
                      target:
                        type:
                        - object
                        - 'null'
                        description: the server HISTOR knows by this endpoint or name
                      observed:
                        type:
                        - object
                        - 'null'
                        description: HISTOR's latest observation of its tool set
                      match:
                        type: string
                        enum:
                        - same
                        - different
                        - previously-observed
                        - not-observed
                        - not-listed
                        - no-digest
                      note:
                        type: string
                      patternScan:
                        type: object
                        properties:
                          status:
                            type: string
                      log:
                        type: object
                        description: the signed tree head the answer was given under
                      signature:
                        type: object
                    required:
                    - type
                    - checkedAt
                    - match
                required:
                - status
                - service
                - source
                - check
              example:
                status: ok
                service: histor-check
                source: https://histor.modelmarket.dev
                check:
                  type: histor.check/v1
                  checkedAt: '2026-10-25T18:18:52Z'
                  match: no-digest
                  target:
                    name: cloud.redu/mcp
        '400':
          description: 'Missing or invalid input. Not settled: the buyer pays nothing.'
        '402':
          description: 'Payment required: the x402 V2 terms are in the PAYMENT-REQUIRED header.'
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: base64 JSON x402 payment terms
        '429':
          description: Per-caller rate limit.
        '502':
          description: The upstream service failed. Not settled.
  /x402/warden-scan:
    post:
      operationId: wardenScan
      summary: 'WARDEN verdict on an MCP server''s tools/list: allow or block, a 0-1 score and…'
      description: 'WARDEN verdict on an MCP server''s tools/list: allow or block, a 0-1 score and every finding with the matched text (prompt injection, secret requests, exfiltration, hidden Unicode). Deterministic published rules, no network.'
      tags:
      - Security
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.001'
        protocols:
        - x402:
            scheme: exact
            network: eip155:8453
            asset: USDC
            payTo: '0x1218ff36C5d2e3B6A565CdB1A8B1AcCFc606Ad0a'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tools:
                  type: array
                  description: the server's tools/list result, up to 500 definitions
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                      description:
                        type: string
                      inputSchema:
                        type: object
                    required:
                    - name
                server:
                  type: object
                  description: optional {name, url}, used only as a label
              required:
              - tools
            example:
              tools:
              - name: get_weather
                description: Returns the forecast for a city.
                inputSchema:
                  type: object
      responses:
        '200':
          description: The result (paid).
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: ok
                  service:
                    type: string
                    const: warden-scan
                  engine:
                    type: object
                    properties:
                      package:
                        type: string
                      ruleset:
                        type: object
                        properties:
                          version:
                            type: string
                          digest:
                            type: string
                    required:
                    - package
                  verdict:
                    type: object
                    properties:
                      allow:
                        type: boolean
                      score:
                        type: number
                        minimum: 0
                        maximum: 1
                      decidedBy:
                        type:
                        - string
                        - 'null'
                      blockedTools:
                        type: array
                        items:
                          type: string
                      allowedTools:
                        type: array
                        items:
                          type: string
                      findings:
                        type: array
                        items:
                          type: object
                          properties:
                            gate:
                              type: string
                            code:
                              type: string
                            severity:
                              type: string
                            tool:
                              type:
                              - string
                              - 'null'
                            advisory:
                              type: boolean
                            message:
                              type: string
                          required:
                          - gate
                          - code
                          - severity
                          - message
                    required:
                    - allow
                    - score
                    - findings
                  scope:
                    type: string
                required:
                - status
                - service
                - engine
                - verdict
              example:
                status: ok
                service: warden-scan
                engine:
                  package: '@aimarket/warden@0.31.0'
                  ruleset:
                    version: '23'
                verdict:
                  allow: true
                  score: 1
                  findings: []
        '400':
          description: 'Missing or invalid input. Not settled: the buyer pays nothing.'
        '402':
          description: 'Payment required: the x402 V2 terms are in the PAYMENT-REQUIRED header.'
          headers:
            PAYMENT-REQUIRED:
              schema:
                type: string
              description: base64 JSON x402 payment terms
        '429':
          description: Per-caller rate limit.
        '502':
          description: The upstream service failed. Not settled.