Priors Credit API

The Credit API from Priors — 10 operation(s) for credit.

GitHub OpenAPI

Operations 10

GET /v1/report/{agentId} Priors credit report: identity, backer, line, available, record, score, open… #
GET /v1/score/{agentId} Priors score of one ERC-8004 agent, with its default and freeze flags, and the… #
GET /v1/file/{agentId} Priors due-diligence file on one ERC-8004 agent: its credit report, repayment… #
GET /v1/explain/{agentId} Priors Score v2 of one agent explained: each part with its points, its maximum… #
POST /v1/screen Priors screen of up to 50 agent ids or owner addresses in one call: for each… #
GET /v1/wallet/{address} Priors footprint of one address: the agents it owns and their verdicts, the… #
GET /v1/income/{agentId} Priors income statement of one agent: the fees it paid as a borrower, its fee… #
POST /v1/watch Priors watch on up to 50 agents: each one's open loans with their due dates and… #
GET /v1/backer/{agentId} Priors ledger of one backer (a pool root): the loans it backed, repaid, late… #
GET /v1/credit/{agentId} Priors credit history of one agent: every loan on both pools, newest first, 100… #

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/priors-trade:priors-trade-credit-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

priors-trade-credit-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Priors paid Credit API
  version: 1.2.0
  description: Credit records and scores of ERC-8004 agents on Priors, the credit protocol for AI agents on Robinhood Chain, the pool's and the stock vault's figures, and images and short video clips made to order under strict content rules.
  x-guidance: 'Each route has its own price in USDG, paid per call with x402 v2 (scheme exact, network eip155:4663, USDG 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168): GET /v1/report/{agentId} 0.03; GET /v1/score/{agentId} 0.03; GET /v1/file/{agentId} 0.10; GET /v1/explain/{agentId} 0.02; POST /v1/screen 0.05; GET /v1/wallet/{address} 0.03; GET /v1/income/{agentId} 0.03; GET /v1/pool/day 0.02; POST /v1/watch 0.03; GET /v1/late 0.02; GET /v1/backer/{agentId} 0.05; GET /v1/stock-line/{symbol} 0.02; GET /v1/stocks/holds 0.02; GET /v1/credit/{agentId} 0.03; POST /v1/media/image 0.05; POST /v1/media/video 0.45. GET /v1/score/{agentId} returns an agent''s Priors score (0 to 1000) and GET /v1/report/{agentId} its full credit report; GET /v1/file/{agentId} is the due-diligence file; POST /v1/screen and POST /v1/watch take {"agents": [...]}, 1 to 50 entries. Every route checks its input and its data before it asks for payment: a malformed input is a 400 and what Priors does not know a 404, with nothing charged. POST /v1/media/image ({"prompt", "aspect_ratio"}) and POST /v1/media/video ({"prompt", "duration": 5, "image_id"}) answer a media id at once; GET /v1/media/{id} is free and gives the output URLs when done. A prompt that breaks the content rules (real or named people, brands or logos, sexual, violent, hateful or political content, children, weapons, drugs) is a 422 before any payment, and so is one the content check refuses after the payment is signed: nothing settles. At the monthly limit the media routes answer 503 before any offer.'
  contact:
    email: contact@priors.trade
    url: https://priors.trade
servers:
- url: https://api.priors.trade
tags:
- name: Credit
paths:
  /v1/report/{agentId}:
    get:
      operationId: creditReport
      summary: 'Priors credit report: identity, backer, line, available, record, score, open…'
      tags:
      - Credit
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.030000'
        protocols:
        - x402: {}
      parameters:
      - name: agentId
        in: path
        required: true
        description: The agent's ERC-8004 id, enrolled in Priors
        schema:
          type: integer
          minimum: 0
      responses:
        '200':
          description: The agent's credit report
          content:
            application/json:
              schema:
                type: object
        '400':
          description: agentId is not a decimal integer (nothing is charged)
        '402':
          description: 'Payment Required: 0.03 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: The agent is not enrolled in Priors (nothing is charged)
        '503':
          description: The data is not available right now (nothing is charged)
  /v1/score/{agentId}:
    get:
      operationId: score
      summary: Priors score of one ERC-8004 agent, with its default and freeze flags, and the…
      tags:
      - Credit
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.030000'
        protocols:
        - x402: {}
      parameters:
      - name: agentId
        in: path
        required: true
        description: The agent's ERC-8004 id, enrolled in Priors
        schema:
          type: integer
          minimum: 0
      responses:
        '200':
          description: The agent's score
          content:
            application/json:
              schema:
                type: object
        '400':
          description: agentId is not a decimal integer (nothing is charged)
        '402':
          description: 'Payment Required: 0.03 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: The agent is not enrolled in Priors (nothing is charged)
        '503':
          description: The data is not available right now (nothing is charged)
  /v1/file/{agentId}:
    get:
      operationId: agentFile
      summary: 'Priors due-diligence file on one ERC-8004 agent: its credit report, repayment…'
      tags:
      - Credit
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.100000'
        protocols:
        - x402: {}
      parameters:
      - name: agentId
        in: path
        required: true
        description: The agent's ERC-8004 id, enrolled in Priors
        schema:
          type: integer
          minimum: 0
      responses:
        '200':
          description: The agent's due-diligence file
          content:
            application/json:
              schema:
                type: object
        '400':
          description: agentId is not a decimal integer (nothing is charged)
        '402':
          description: 'Payment Required: 0.10 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: The agent is not enrolled in Priors (nothing is charged)
        '503':
          description: The data is not available right now (nothing is charged)
  /v1/explain/{agentId}:
    get:
      operationId: explainScore
      summary: 'Priors Score v2 of one agent explained: each part with its points, its maximum…'
      tags:
      - Credit
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.020000'
        protocols:
        - x402: {}
      parameters:
      - name: agentId
        in: path
        required: true
        description: The agent's ERC-8004 id, enrolled in Priors
        schema:
          type: integer
          minimum: 0
      responses:
        '200':
          description: The agent's Score v2, part by part, and its next rung
          content:
            application/json:
              schema:
                type: object
        '400':
          description: agentId is not a decimal integer (nothing is charged)
        '402':
          description: 'Payment Required: 0.02 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: The agent is not enrolled in Priors, or has no Score v2 yet (nothing is charged)
        '503':
          description: Score v2 is not available or is behind (nothing is charged) (nothing is charged)
  /v1/screen:
    post:
      operationId: screen
      summary: 'Priors screen of up to 50 agent ids or owner addresses in one call: for each…'
      tags:
      - Credit
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.050000'
        protocols:
        - x402: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - agents
              properties:
                agents:
                  type: array
                  minItems: 1
                  maxItems: 50
                  description: agent ids (integers or decimal strings) or owner addresses (0x...)
                  items:
                    oneOf:
                    - type: integer
                      minimum: 0
                    - type: string
                      pattern: ^(\d{1,15}|0x[0-9a-fA-F]{40})$
      responses:
        '200':
          description: A verdict for each entry, in the order given, and the counts
          content:
            application/json:
              schema:
                type: object
        '400':
          description: 'The body is not {"agents": [...]} with 1 to 50 agent ids or addresses (nothing is charged)'
        '402':
          description: 'Payment Required: 0.05 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: None of the entries is known to Priors (nothing is charged)
        '503':
          description: The data is not available right now (nothing is charged)
  /v1/wallet/{address}:
    get:
      operationId: walletFootprint
      summary: 'Priors footprint of one address: the agents it owns and their verdicts, the…'
      tags:
      - Credit
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.030000'
        protocols:
        - x402: {}
      parameters:
      - name: address
        in: path
        required: true
        description: A 0x address (any case)
        schema:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
      responses:
        '200':
          description: The address's footprint in Priors
          content:
            application/json:
              schema:
                type: object
        '400':
          description: address is not a 0x address (nothing is charged)
        '402':
          description: 'Payment Required: 0.03 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: The address owns no agent and took, lent or staked nothing in Priors (nothing is charged)
        '503':
          description: The data is not available right now (nothing is charged)
  /v1/income/{agentId}:
    get:
      operationId: incomeStatement
      summary: 'Priors income statement of one agent: the fees it paid as a borrower, its fee…'
      tags:
      - Credit
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.030000'
        protocols:
        - x402: {}
      parameters:
      - name: agentId
        in: path
        required: true
        description: The agent's ERC-8004 id, enrolled in Priors
        schema:
          type: integer
          minimum: 0
      responses:
        '200':
          description: The agent's income statement
          content:
            application/json:
              schema:
                type: object
        '400':
          description: agentId is not a decimal integer (nothing is charged)
        '402':
          description: 'Payment Required: 0.03 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: The agent is not enrolled in Priors (nothing is charged)
        '503':
          description: The data is not available right now (nothing is charged)
  /v1/watch:
    post:
      operationId: watch
      summary: 'Priors watch on up to 50 agents: each one''s open loans with their due dates and…'
      tags:
      - Credit
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.030000'
        protocols:
        - x402: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - agents
              properties:
                agents:
                  type: array
                  minItems: 1
                  maxItems: 50
                  description: agent ids (integers or decimal strings)
                  items:
                    oneOf:
                    - type: integer
                      minimum: 0
                    - type: string
                      pattern: ^\d{1,15}$
      responses:
        '200':
          description: Each agent's open loans and their state, and the counts
          content:
            application/json:
              schema:
                type: object
        '400':
          description: 'The body is not {"agents": [...]} with 1 to 50 agent ids (nothing is charged)'
        '402':
          description: 'Payment Required: 0.03 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: None of the agents is enrolled in Priors (nothing is charged)
        '503':
          description: The data is not available right now (nothing is charged)
  /v1/backer/{agentId}:
    get:
      operationId: backerLedger
      summary: 'Priors ledger of one backer (a pool root): the loans it backed, repaid, late…'
      tags:
      - Credit
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.050000'
        protocols:
        - x402: {}
      parameters:
      - name: agentId
        in: path
        required: true
        description: 'The backer''s ERC-8004 id: a pool root'
        schema:
          type: integer
          minimum: 0
      responses:
        '200':
          description: The backer's ledger and book
          content:
            application/json:
              schema:
                type: object
        '400':
          description: agentId is not a decimal integer (nothing is charged)
        '402':
          description: 'Payment Required: 0.05 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: The agent is not enrolled, or is not a backer (a pool root) (nothing is charged)
        '503':
          description: The data is not available right now (nothing is charged)
  /v1/credit/{agentId}:
    get:
      operationId: creditHistory
      summary: 'Priors credit history of one agent: every loan on both pools, newest first, 100…'
      tags:
      - Credit
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.030000'
        protocols:
        - x402: {}
      parameters:
      - name: agentId
        in: path
        required: true
        description: The agent's ERC-8004 id, enrolled in Priors
        schema:
          type: integer
          minimum: 0
      - name: page
        in: query
        required: false
        description: The page, from 1 (default 1)
        schema:
          type: integer
          minimum: 1
      responses:
        '200':
          description: One page of the agent's loans, newest first
          content:
            application/json:
              schema:
                type: object
        '400':
          description: agentId or page is malformed, or page is past the last (nothing is charged)
        '402':
          description: 'Payment Required: 0.03 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: The agent is not enrolled in Priors (nothing is charged)
        '503':
          description: The data is not available right now (nothing is charged)