Prowl Wallet API
The Wallet API from Prowl — 2 operation(s) for wallet.
The Wallet API from Prowl — 2 operation(s) for wallet.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/prowl-chat:prowl-chat-wallet-api"
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.
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: 3.2.0
info:
title: Prowl REST API v1 Wallet API
summary: Wallet, usage, tool catalog and API keys for agents using Prowl.
description: 'The REST surface an agent uses to watch what it is spending.
Prowl''s product surface is the MCP endpoint at `https://prowl.chat/mcp`, where an agent
gains 444 market data tools and every call is metered against a prepaid USD
wallet. This API is the other half of that arrangement: read the balance, read what each
call cost, and manage the keys that authorise them.
Authentication is a bearer token: the JWT from signing in to prowl.chat. A `prowl_...` API
key does not open these routes; an agent that holds one reads the same wallet through the
MCP tool `prowl_get_wallet`. Two operations need no credential at all, because a price list
that demands a key cannot be compared before you buy: `GET /api/v1/tools/pricing` and
`GET /api/v1/tools/catalog`.'
version: 1.0.0
contact:
name: Prowl
url: https://prowl.chat/contact/
email: support@prowl.chat
license:
name: Proprietary
url: https://prowl.chat/terms/
servers:
- url: https://prowl.chat
description: Production
tags:
- name: Wallet
paths:
/api/v1/wallet:
get:
summary: Read wallet balances
description: 'Returns the two pools a call is paid from: plan credit, which burns at the end of the billing period and is spent first, and top-up credit, which never expires. Figures are rounded to whole cents at this boundary.'
operationId: getWallet
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: prowl_session
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Prowl Session
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WalletBalances'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'401':
description: Missing, malformed or expired credential.
security:
- bearerAuth: []
tags:
- Wallet
/api/v1/wallet/invocations:
get:
summary: List recent metered calls
description: Every tool call this account has been billed for, newest first, with what the provider charged and what the wallet was debited. Use it to reconcile a balance against the work that produced it.
operationId: getWalletInvocations
parameters:
- name: limit
in: query
required: false
schema:
type: integer
default: 10
title: Limit
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
- name: prowl_session
in: cookie
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Prowl Session
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InvocationsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'401':
description: Missing, malformed or expired credential.
security:
- bearerAuth: []
tags:
- Wallet
components:
schemas:
InvocationsResponse:
properties:
invocations:
items:
$ref: '#/components/schemas/ToolInvocation'
type: array
title: Invocations
count:
type: integer
title: Count
description: Number of rows in this response, not the lifetime total.
type: object
required:
- invocations
- count
title: InvocationsResponse
description: Recent metered calls, newest first.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ToolInvocation:
properties:
tool_name:
type: string
title: Tool Name
description: Registry name of the tool that was called.
provider_cost_usd:
type: number
title: Provider Cost Usd
description: What the upstream provider charged for this call.
billed_usd:
type: number
title: Billed Usd
description: What this call actually debited from the wallet.
markup_usd:
type: number
title: Markup Usd
description: The difference between the two figures above.
success:
type: boolean
title: Success
description: Whether the provider returned a usable result.
latency_ms:
anyOf:
- type: integer
- type: 'null'
title: Latency Ms
description: Round-trip time in milliseconds.
api_key_id:
anyOf:
- type: string
- type: 'null'
title: Api Key Id
description: Which API key made the call.
created_at:
anyOf:
- type: string
- type: 'null'
title: Created At
description: ISO-8601 timestamp of the call.
type: object
required:
- tool_name
- provider_cost_usd
- billed_usd
- markup_usd
- success
title: ToolInvocation
description: 'One metered tool call belonging to the authenticated caller.
`provider_cost_usd` and `markup_usd` are named here on purpose: this is the
caller''s own transaction, and a wallet they cannot reconcile is a wallet they
cannot trust. DOC-12 governs the *unauthenticated* surfaces, where neither the
figures nor a formula for them appear.'
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
WalletBalances:
properties:
subscription_balance_usd:
type: number
title: Subscription Balance Usd
description: Plan credit for the current period. Burns at period end, spent first.
extra_balance_usd:
type: number
title: Extra Balance Usd
description: Top-up credit. Never expires, spent after the subscription pool.
total_available_usd:
type: number
title: Total Available Usd
description: 'What the next call can draw on: the two pools added together.'
updated_at:
anyOf:
- type: string
- type: 'null'
title: Updated At
description: ISO-8601 timestamp of the last balance change, or null if never moved.
type: object
required:
- subscription_balance_usd
- extra_balance_usd
- total_available_usd
title: WalletBalances
description: 'The two pools a caller spends from, rounded to whole cents at this boundary.
Sub-cent precision is deliberate *inside* the store (SSH-305) and deliberately
absent here — `web/server.py::_rounded_wallet_fields` rounds on the way out so a
display value never carries a float tail.'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'The JWT from signing in to prowl.chat, sent as `Authorization: Bearer <token>`. A `prowl_...` API key is refused here; it reads the same wallet through the MCP tool `prowl_get_wallet`.'
externalDocs:
description: Prowl documentation
url: https://prowl.chat/docs/