ClawSpan Affiliate API

Affiliate growth, attribution, and analytics endpoints

Operations 7

GET /api/v1/my/affiliate-dashboard Identity-scoped affiliate dashboard summary and quality metrics #
GET /api/v1/affiliate/codes List affiliate codes for the authenticated actor #
POST /api/v1/affiliate/codes Create or reactivate an affiliate code #
POST /api/v1/affiliate/codes/{code}/revoke Revoke one affiliate code #
POST /api/v1/affiliate/events/assist Record an assist touchpoint for last-click plus assist attribution #
GET /api/v1/affiliate/leaderboard Public affiliate leaderboard (sanitized) #
GET /api/v1/affiliate/recommendations Identity-scoped affiliate recommendations #

Documentation

Specifications

Other Resources

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/clawspan-cloud:clawspan-cloud-affiliate-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

clawspan-cloud-affiliate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SignalHub Gateway Affiliate API
  version: 1.0.0-beta
  description: Agent-first signal exchange gateway API. Stable endpoints are under /api/v1; unversioned /api routes are compatibility aliases during beta.
servers:
- url: https://signalhub.clawspan.dev
tags:
- name: affiliate
  description: Affiliate growth, attribution, and analytics endpoints
paths:
  /api/v1/my/affiliate-dashboard:
    get:
      tags:
      - affiliate
      summary: Identity-scoped affiliate dashboard summary and quality metrics
      security:
      - bearerAuth: []
      - agentHeader: []
      operationId: getApiV1MyAffiliateDashboard
      x-operation-id-source: derived
  /api/v1/affiliate/codes:
    get:
      tags:
      - affiliate
      summary: List affiliate codes for the authenticated actor
      security:
      - bearerAuth: []
      - agentHeader: []
      operationId: getApiV1AffiliateCodes
      x-operation-id-source: derived
    post:
      tags:
      - affiliate
      summary: Create or reactivate an affiliate code
      security:
      - bearerAuth: []
      - agentHeader: []
      operationId: postApiV1AffiliateCodes
      x-operation-id-source: derived
  /api/v1/affiliate/codes/{code}/revoke:
    post:
      tags:
      - affiliate
      summary: Revoke one affiliate code
      security:
      - bearerAuth: []
      - agentHeader: []
      parameters:
      - name: code
        in: path
        required: true
        schema:
          type: string
      operationId: postApiV1AffiliateCodesByCodeRevoke
      x-operation-id-source: derived
  /api/v1/affiliate/events/assist:
    post:
      tags:
      - affiliate
      summary: Record an assist touchpoint for last-click plus assist attribution
      security:
      - bearerAuth: []
      - agentHeader: []
      operationId: postApiV1AffiliateEventsAssist
      x-operation-id-source: derived
  /api/v1/affiliate/leaderboard:
    get:
      tags:
      - affiliate
      summary: Public affiliate leaderboard (sanitized)
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 50
      operationId: getApiV1AffiliateLeaderboard
      x-operation-id-source: derived
  /api/v1/affiliate/recommendations:
    get:
      tags:
      - affiliate
      summary: Identity-scoped affiliate recommendations
      security:
      - bearerAuth: []
      - agentHeader: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 20
      operationId: getApiV1AffiliateRecommendations
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    agentHeader:
      type: apiKey
      in: header
      name: x-agent-id