Rokha Marketplace API

Registry listings, search and publishing

GitHub OpenAPI

Operations 14

GET /api/marketplace/featured Featured listings #
GET /api/marketplace/listings Native Rokha Registry listings #
GET /api/marketplace/listings/{id} Get a single listing #
GET /api/marketplace/registry Third-party registry index #
GET /api/marketplace/registry/mine Your live published listings (JWT) #
POST /api/marketplace/registry/publish Publish one of your creations as a registry listing (JWT) #
DELETE /api/marketplace/registry/publish/{external_id} Unpublish one of your listings (JWT, owner-checked) #
GET /api/marketplace/registry/skill-md Ingest a listing's real SKILL.md — fetched from its source registry, parsed and… #
GET /api/marketplace/registry/stats Per-provider listing counts #
GET /api/marketplace/registry/{provider}/{id} Get one registry listing (a private one reads only for its owner) #
POST /api/marketplace/search Search listings #
GET /api/marketplace/skills.md Browsable third-party skills catalog (markdown) #
GET /api/marketplace/stats Marketplace stats #
POST /api/registry/servers/{slug}/call Call one tool on YOUR listed MCP server and see both halves (JWT). Free #

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/rokha-ai:rokha-ai-marketplace-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

rokha-ai-marketplace-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Rokha
    url: https://rokha.ai
  description: 'The public API of Rokha, the Agent Lab. Build a tool,

    run it for real with a trace, sell it or hire it out. Agents use the same

    doors over MCP at `/mcp/jsonrpc`. Versioning: `GET /api/schema/version`.'
  license:
    name: MIT
    url: https://github.com/rokha-ai/rokha-sdk/blob/main/LICENSE
  title: Rokha Public Marketplace API
  version: 1.0.0
servers:
- description: Local development (default Erebus port)
  url: http://localhost:3000
- description: Production (hosted Erebus)
  url: https://erebus.rokha.ai
security: []
tags:
- description: Registry listings, search and publishing
  name: Marketplace
paths:
  /api/marketplace/featured:
    get:
      operationId: featuredMarketplace
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MarketplaceListing'
                type: array
          description: Featured
      summary: Featured listings
      tags:
      - Marketplace
  /api/marketplace/listings:
    get:
      operationId: listMarketplaceListings
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MarketplaceListing'
                type: array
          description: Listings
      summary: Native Rokha Registry listings
      tags:
      - Marketplace
  /api/marketplace/listings/{id}:
    get:
      operationId: getMarketplaceListing
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketplaceListing'
          description: Listing
        '404':
          $ref: '#/components/responses/NotFound'
      summary: Get a single listing
      tags:
      - Marketplace
  /api/marketplace/registry:
    get:
      operationId: getRegistry
      parameters:
      - in: query
        name: search
        schema:
          type: string
      - description: Filter by source (a registry provider id)
        in: query
        name: provider
        schema:
          type: string
      - in: query
        name: listing_type
        schema:
          enum:
          - skill
          - server
          - harness
          - rig
          - agent
          type: string
      - in: query
        name: tag
        schema:
          type: string
      - in: query
        name: sort
        schema:
          enum:
          - downloads
          - stars
          - recent
          type: string
      - description: Filter by classified execution class
        in: query
        name: execution_class
        schema:
          enum:
          - prompt
          - scripted
          - mcp
          type: string
      - in: query
        name: limit
        schema:
          default: 50
          maximum: 500
          minimum: 1
          type: integer
      - in: query
        name: offset
        schema:
          minimum: 0
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryListResponse'
          description: Paged registry index
      summary: Third-party registry index
      tags:
      - Marketplace
  /api/marketplace/registry/mine:
    get:
      operationId: myRegistryListings
      responses:
        '200':
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/RegistryListResponse'
                description: 'Each item also carries `runs`: the number the Market and the Object Page show. Absent when unread, never zero.'
          description: Your provider='rokha' listings
      security:
      - bearerAuth: []
      summary: Your live published listings (JWT)
      tags:
      - Marketplace
  /api/marketplace/registry/publish:
    post:
      description: 'Logged-in users publish a creation (an authored skill, a harness, or a

        rig) into the registry as a `provider=''rokha''` listing — it surfaces in

        normal registry search immediately. Re-publishing the same `name`

        updates the listing; a name already published by another user is

        rejected (409). Payloads carrying secret material (keys/tokens) are

        rejected. The listing''s public `author` is your display identity —

        never a wallet or internal id.'
      operationId: publishRegistryListing
      requestBody:
        content:
          application/json:
            schema:
              properties:
                description:
                  maxLength: 4000
                  type: string
                homepage:
                  type: string
                listing_type:
                  description: skill = an authored SKILL.md; harness = a harness config; rig = a rig. (server is accepted as a legacy alias for a harness publish)
                  enum:
                  - skill
                  - harness
                  - rig
                  type: string
                metadata:
                  description: 'The artifact rides here — e.g. {skill_md} / {harness: <config>} / {rig: <content>} (≤200KB)'
                  type: object
                name:
                  description: Listing slug (kebab-case, ≤64) — the external_id
                  type: string
                tags:
                  items:
                    type: string
                  maxItems: 12
                  type: array
                title:
                  type: string
                version:
                  default: 0.1.0
                  type: string
              required:
              - name
              - listing_type
              - description
              type: object
        required: true
      responses:
        '200':
          description: Published — live in registry search
        '400':
          description: Invalid name/type/description
          or secret material detected: null
        '409':
          description: Name already published by another user
      security:
      - bearerAuth: []
      summary: Publish one of your creations as a registry listing (JWT)
      tags:
      - Marketplace
  /api/marketplace/registry/publish/{external_id}:
    delete:
      operationId: unpublishRegistryListing
      parameters:
      - in: path
        name: external_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Unpublished — removed from search
        '404':
          description: No live listing with that name under your account
      security:
      - bearerAuth: []
      summary: Unpublish one of your listings (JWT, owner-checked)
      tags:
      - Marketplace
  /api/marketplace/registry/skill-md:
    get:
      description: 'Returns the skill''s actual SKILL.md (frontmatter + body) plus a derived tool definition: an execution classification (prompt = a model can run it faithfully; scripted/mcp = needs a runtime), the binaries it requires, and the scripts it references. Provider-scoped — only known source registries are fetched. Cached server-side.'
      operationId: getSkillMd
      parameters:
      - in: query
        name: provider
        required: true
        schema:
          enum:
          - clawhub
          - rokha
          type: string
      - in: query
        name: slug
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillMdBundle'
          description: Parsed + classified SKILL.md bundle
        '400':
          description: Unsupported provider or unsafe slug
        '404':
          description: Not found — also a PRIVATE listing read by anyone but its owner (the same 404 as a missing one; send your token to read your own)
      security:
      - bearerAuth: []
      - {}
      summary: Ingest a listing's real SKILL.md — fetched from its source registry, parsed and…
      tags:
      - Marketplace
  /api/marketplace/registry/stats:
    get:
      operationId: registryStats
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
          description: Stats
      summary: Per-provider listing counts
      tags:
      - Marketplace
  /api/marketplace/registry/{provider}/{id}:
    get:
      operationId: getRegistryListing
      parameters:
      - in: path
        name: provider
        required: true
        schema:
          type: string
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryListing'
          description: Listing
        '404':
          description: Not found — also a PRIVATE listing read by anyone but its owner (the same 404 as a missing one); hidden and purged listings read the same
      security:
      - bearerAuth: []
      - {}
      summary: Get one registry listing (a private one reads only for its owner)
      tags:
      - Marketplace
  /api/marketplace/search:
    post:
      operationId: searchMarketplace
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MarketplaceSearchRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MarketplaceListing'
                type: array
          description: Search results
      summary: Search listings
      tags:
      - Marketplace
  /api/marketplace/skills.md:
    get:
      operationId: marketplaceSkillsMd
      responses:
        '200':
          content:
            text/markdown:
              schema:
                type: string
          description: Markdown
      summary: Browsable third-party skills catalog (markdown)
      tags:
      - Marketplace
  /api/marketplace/stats:
    get:
      operationId: marketplaceStats
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
          description: Stats
      summary: Marketplace stats
      tags:
      - Marketplace
  /api/registry/servers/{slug}/call:
    post:
      description: 'The owner''s debugger: the exact JSON-RPC `tools/call` sent and the exact body that came back, verbatim, with the round trip in `ms`. The slug must be a server listing of yours (404 otherwise); its endpoint is re-screened at call time. `key_alias` names one of your OWN vault keys (Profile → Keys), sent as `Authorization: Bearer` on this one call only — never logged, never in the answer; a name that is not yours answers 400.'
      operationId: registryServerCall
      parameters:
      - in: path
        name: slug
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                args:
                  additionalProperties: true
                  type: object
                key_alias:
                  description: A vault alias of your own, sent as the bearer on this one test call
                  type: string
                tool:
                  type: string
              required:
              - tool
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
          description: '`{ok, endpoint, tool, ms, request, response}` — or `{ok: false, …, error}` when the server did not answer'
        '400':
          description: Name a tool · the endpoint failed screening · no key of yours by that name
        '403':
          description: Not your listing
        '404':
          description: No listing named that
      security:
      - bearerAuth: []
      summary: Call one tool on YOUR listed MCP server and see both halves (JWT). Free
      tags:
      - Marketplace
components:
  schemas:
    MarketplaceSearchRequest:
      properties:
        limit:
          maximum: 500
          minimum: 1
          type: integer
        listing_type:
          type: string
        offset:
          minimum: 0
          type: integer
        query:
          type: string
        tags:
          items:
            type: string
          type: array
      type: object
    RegistryListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/RegistryListing'
          type: array
        limit:
          type: integer
        offset:
          type: integer
        total_count:
          type: integer
      required:
      - items
      - total_count
      type: object
    SkillMdBundle:
      properties:
        body:
          type: string
        body_chars:
          type: integer
        cached:
          type: boolean
        classification:
          description: prompt = a model can execute it faithfully; scripted/mcp = needs a runtime
          enum:
          - prompt
          - scripted
          - mcp
          type: string
        classification_basis:
          type: string
        description:
          type: string
        frontmatter_metadata:
          additionalProperties: true
          nullable: true
          type: object
        has_install_steps:
          type: boolean
        homepage:
          type: string
        name:
          type: string
        ok:
          type: boolean
        provider:
          type: string
        requires_bins:
          items:
            type: string
          type: array
        scripts_referenced:
          items:
            type: string
          type: array
        slug:
          type: string
        truncated:
          type: boolean
      required:
      - ok
      - provider
      - slug
      - name
      - classification
      - body
      type: object
    MarketplaceListing:
      properties:
        created_at:
          format: date-time
          type: string
        description:
          type: string
        id:
          type: string
        listing_type:
          enum:
          - tool
          - rig
          - agent
          - workflow
          - skill
          - server
          - harness
          type: string
        metadata:
          additionalProperties: true
          type: object
        name:
          type: string
        status:
          enum:
          - pending
          - approved
          - rejected
          - featured
          type: string
      required:
      - id
      - name
      - description
      type: object
    RegistryListing:
      additionalProperties: true
      properties:
        author:
          type: string
        description:
          type: string
        downloads:
          type: integer
        external_id:
          type: string
        external_updated_at:
          format: date-time
          type: string
        homepage:
          nullable: true
          type: string
        listing_type:
          enum:
          - skill
          - server
          - harness
          - rig
          type: string
        metadata:
          additionalProperties: true
          type: object
        name:
          type: string
        provider_id:
          type: string
        source:
          enum:
          - clawhub
          - smithery
          - smithery_skills
          type: string
        stars:
          type: integer
        tags:
          items:
            type: string
          type: array
        version:
          nullable: true
          type: string
      required:
      - name
      - description
      - source
      type: object
    ErrorResponse:
      properties:
        code:
          type: string
        error:
          description: Machine-readable error code
          type: string
        message:
          type: string
        name:
          type: string
      required:
      - error
      type: object
  responses:
    NotFound:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Not found
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: 'JWT issued by `/api/wallets/verify` (after `/api/wallets/challenge`),

        or `/api/auth/google/callback`. Send as

        `Authorization: Bearer <token>`. Refresh via `/api/auth/refresh`

        before expiry (24h default).

        '
      scheme: bearer
      type: http