AgentPay Labs Agent Rank API

Trust scoring (0-1000) for AI agents

Operations 2

GET /api/agentrank/{agentId} Get AgentRank score #
GET /api/agentrank/leaderboard AgentRank leaderboard #

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/agentpay-so:agentpay-so-agentrank-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

agentpay-so-agentrank-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AgentPay Agent Rank API
  description: '**AgentPay public API for Bro and train-first agent commerce.**

    This OpenAPI document is limited to the Cloudflare Workers production surface.

    Legacy Node-only routes are intentionally excluded until they are migrated.


    ## Authentication

    All protected endpoints require an API key via:

    - `Authorization: Bearer ` header, or

    - `X-Api-Key: ` header


    ## Protocols Supported

    - **x402** — HTTP 402 paywall standard

    - **ACP** — Agent Communication Protocol

    - **AP2** — Agent Payment Protocol v2

    - **Solana Pay** — Solana USDC native

    - **Stripe** — Fiat card / bank payments


    Get your API key: `POST /api/merchants/register`'
  version: 1.0.0
  contact:
    name: AgentPay Support
    url: https://docs.agentpay.gg
    email: support@agentpay.gg
  license:
    name: BSL-1.1; AGPL-3.0 after 2029-01-01
    url: https://github.com/Rumblingb/Agentpay/blob/main/LICENSE
servers:
- url: https://api.agentpay.so
  description: Production (Cloudflare Workers)
- url: http://localhost:8787
  description: Local Workers dev (wrangler dev)
tags:
- name: AgentRank
  description: Trust scoring (0-1000) for AI agents
paths:
  /api/agentrank/{agentId}:
    get:
      tags:
      - AgentRank
      summary: Get AgentRank score
      description: Returns the AgentRank trust score (0-1000) and breakdown for an agent
      operationId: getAgentRank
      parameters:
      - name: agentId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: AgentRank data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentRankResponse'
        '404':
          $ref: '#/components/responses/NotFoundError'
  /api/agentrank/leaderboard:
    get:
      tags:
      - AgentRank
      summary: AgentRank leaderboard
      description: Returns top agents ranked by AgentRank score with pagination
      operationId: getLeaderboard
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      - name: offset
        in: query
        schema:
          type: integer
          minimum: 0
          default: 0
      - name: tier
        in: query
        schema:
          type: string
          enum:
          - S
          - A
          - B
          - C
          - D
          - F
      - name: minScore
        in: query
        schema:
          type: integer
          minimum: 0
          maximum: 1000
      responses:
        '200':
          description: Leaderboard results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LeaderboardResponse'
components:
  schemas:
    LeaderboardResponse:
      type: object
      properties:
        success:
          type: boolean
        leaderboard:
          type: array
          items:
            type: object
            properties:
              rank:
                type: integer
              agentId:
                type: string
              score:
                type: integer
                minimum: 0
                maximum: 1000
              grade:
                type: string
              transactionVolume:
                type: integer
              paymentReliability:
                type: number
        pagination:
          $ref: '#/components/schemas/Pagination'
    Pagination:
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
        hasMore:
          type: boolean
    AgentRankResponse:
      type: object
      properties:
        agentId:
          type: string
        score:
          type: number
          minimum: 0
          maximum: 1000
        tier:
          type: string
          enum:
          - bronze
          - silver
          - gold
          - platinum
          - diamond
        breakdown:
          type: object
          properties:
            paymentReliability:
              type: number
            serviceDelivery:
              type: number
            transactionVolume:
              type: number
            walletAge:
              type: number
            disputeRate:
              type: number
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        details:
          type: array
          items:
            type: string
  responses:
    NotFoundError:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Format: ''Bearer <api_key>'' or just ''<api_key>'''