Nibgate Platform API

Platform-wide stats and site indexes

GitHub OpenAPI

Operations 7

GET /api/nibgate/status Service status #
GET /hub/stats Platform stats #
GET /hub/sitemap/content All content URLs #
GET /hub/sitemap-sites Active subblog domains #
GET /hub/site/verify-status Cross-stack site verification status #
GET /hub/site/verified-identities Peer identity index (ops, secret-gated) #
POST /hub/site/sync-from-peer Mirror peer site identities (ops, secret-gated) #

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/nibgate-xyz:nibgate-xyz-platform-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

nibgate-xyz-platform-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nibgate Hub Platform API
  version: 0.2.15
  description: 'Public API for the Nibgate hub: verified content discovery, paid unlocks over x402 (Circle Gateway on Arc (chain ID 5042)), Nib Tips, public ledger, reputation, and platform stats. Nibgate is an open protocol for paid content on creator-owned domains. Agent guide: https://nibgate.xyz/discovery.md'
  contact:
    name: Nibgate
    url: https://nibgate.xyz
servers:
- url: https://api.nibgate.xyz
  description: Production hub API
tags:
- name: Platform
  description: Platform-wide stats and site indexes
paths:
  /api/nibgate/status:
    get:
      tags:
      - Platform
      summary: Service status
      description: Confirms the API is online and returns configured site/hub metadata.
      responses:
        '200':
          description: Status payload
          content:
            application/json:
              schema:
                type: object
                properties:
                  site:
                    type: object
                    properties:
                      name:
                        type: string
                      origin:
                        type: string
                  hub:
                    type: object
                  widgetUrl:
                    type: string
      operationId: getApiNibgateStatus
      x-operation-id-source: derived
  /hub/stats:
    get:
      tags:
      - Platform
      summary: Platform stats
      description: Real totals for creators, verified sites, content, views, unlocks, and revenue (unlocks + tips + nibshares).
      responses:
        '200':
          description: Platform totals
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  stats:
                    type: object
                    properties:
                      creators:
                        type: integer
                      sites:
                        type: integer
                      content:
                        type: integer
                      views:
                        type: integer
                      unlocks:
                        type: integer
                      revenue:
                        type: number
                      protocolFees:
                        type: number
                        description: Cumulative 1% protocol fees collected on hosted payments
                      tips:
                        type: integer
                      tipRevenue:
                        type: number
                      nibshareUnlocks:
                        type: integer
                      nibshareViews:
                        type: integer
                      nibshareRevenue:
                        type: number
      operationId: getHubStats
      x-operation-id-source: derived
  /hub/sitemap/content:
    get:
      tags:
      - Platform
      summary: All content URLs
      description: URLs of all content across verified sites, up to 50k. Used for sitemap generation and agent crawling.
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          maximum: 50000
          default: 50000
      responses:
        '200':
          description: Content URL list
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  urls:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        updatedAt:
                          type: string
                          format: date-time
      operationId: getHubSitemapContent
      x-operation-id-source: derived
  /hub/sitemap-sites:
    get:
      tags:
      - Platform
      summary: Active subblog domains
      description: Canonical sitemap domains for this hub's network. Hosted creators are checked against the matching creator backend; mirrored Hub identities without a local creator site are omitted. Real empty creator sites remain included. Reserved/API hosts and other-network aliases are excluded; known platform sitemap hosts remain supported. Availability is cached briefly. Transient lookup failures without a recent positive result return 503 rather than a successful empty list.
      responses:
        '200':
          description: Domain list
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  sites:
                    type: array
                    items:
                      type: string
        '503':
          description: Creator availability or website list temporarily unavailable; retry later. No authoritative empty list is implied.
      operationId: getHubSitemapSites
      x-operation-id-source: derived
  /hub/site/verify-status:
    get:
      tags:
      - Platform
      summary: Cross-stack site verification status
      description: 'Public verification status for a canonical site domain, including owner wallets and publisher profile for verified sites. Widget/account verification is network-agnostic: a domain verified on one hub (testnet or mainnet) is verified on both; only txs and ratings differ per stack. Nibgate-apex hosted sites (*.nibgate.xyz subblogs) are network-pinned and never adopted cross-stack.'
      parameters:
      - name: domain
        in: query
        required: true
        schema:
          type: string
        description: Canonical site domain, e.g. example.com.
      responses:
        '200':
          description: Verification status; verified payload includes verificationSource (widget | owner-link | cross-stack), ownerWallets, and publisher.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  verified:
                    type: boolean
                  verificationStatus:
                    type: string
                  domain:
                    type: string
                  name:
                    type: string
                  lastVerifiedAt:
                    type: string
                    format: date-time
                    nullable: true
                  verificationSource:
                    type: string
                  ownerWallets:
                    type: array
                    items:
                      type: string
                  publisher:
                    type: object
                    nullable: true
                  siteMeta:
                    type: object
                    description: Site display metadata (name, description, faviconUrl, ogImageUrl).
                  ownerProfile:
                    type: object
                    nullable: true
                    description: Creator profile (username, bio, avatarUrl, socials).
      operationId: getHubSiteVerifyStatus
      x-operation-id-source: derived
  /hub/site/verified-identities:
    get:
      tags:
      - Platform
      summary: Peer identity index (ops, secret-gated)
      description: Lists verified sites with owner wallets and publisher profile for hub-to-hub identity sync. Requires x-peer-secret equal to the shared BLOG_LINK_SECRET. No content, receipts, ratings, or metrics are ever included.
      responses:
        '200':
          description: Verified site identities.
        '403':
          description: Forbidden.
      operationId: getHubSiteVerifiedIdentities
      x-operation-id-source: derived
  /hub/site/sync-from-peer:
    post:
      tags:
      - Platform
      summary: Mirror peer site identities (ops, secret-gated)
      description: 'Provisions identity-only mirror rows for peer-verified sites (translated to local canonical domains, owner resolved by wallet) plus published editorial blog posts (author by wallet, newer-local-wins). Copies site identity, verification, publisher profile, and blog posts only — never content, receipts, ratings, or metrics. Requires x-peer-secret equal to the shared BLOG_LINK_SECRET. Body: { domains: string[] } or { all: true }.'
      responses:
        '200':
          description: Sync result with synced[] and skipped[].
        '403':
          description: Forbidden.
      operationId: postHubSiteSyncFromPeer
      x-operation-id-source: derived
components:
  securitySchemes:
    x402:
      type: apiKey
      in: header
      name: Payment
      description: x402 payment challenge-response header. Include the header on retry after settlement to unlock paid content.
x-discovery:
  ownershipProofs:
  - '0x7514Ff68BE453931ce1a8e752140E209Dd125A'