Priors Stocks API

The Stocks API from Priors — 2 operation(s) for stocks.

GitHub OpenAPI

Operations 2

GET /v1/stock-line/{symbol} Priors stock line sizing: how many tokens of one stock the vault needs for a… #
GET /v1/stocks/holds Priors stock vault holds: each accepted stock token, whether it takes new lines… #

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-stocks-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-stocks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Priors paid Stocks 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: Stocks
paths:
  /v1/stock-line/{symbol}:
    get:
      operationId: stockLine
      summary: 'Priors stock line sizing: how many tokens of one stock the vault needs for a…'
      tags:
      - Stocks
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.020000'
        protocols:
        - x402: {}
      parameters:
      - name: symbol
        in: path
        required: true
        description: A stock token the vault accepts (any case), e.g. AAPL
        schema:
          type: string
      - name: line
        in: query
        required: true
        description: The line wanted, in USDG (a plain decimal above 0)
        schema:
          type: string
          pattern: ^\d{1,9}(\.\d{1,6})?$
      responses:
        '200':
          description: The tokens the line needs and whether it fits now
          content:
            application/json:
              schema:
                type: object
        '400':
          description: symbol or line is malformed, or line is missing (nothing is charged)
        '402':
          description: 'Payment Required: 0.02 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '404':
          description: The vault does not accept that token (nothing is charged)
        '503':
          description: The data is not available right now (nothing is charged)
  /v1/stocks/holds:
    get:
      operationId: stockHolds
      summary: 'Priors stock vault holds: each accepted stock token, whether it takes new lines…'
      tags:
      - Stocks
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.020000'
        protocols:
        - x402: {}
      responses:
        '200':
          description: Each stock token's state for new lines, and the vault's room
          content:
            application/json:
              schema:
                type: object
        '402':
          description: 'Payment Required: 0.02 USDG, x402 v2 exact on eip155:4663 (asset 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168)'
        '503':
          description: The data is not available right now (nothing is charged)