Rafid System Account API
The calling Rafid API key's billing account: prepaid credit balance, subscription allowance, usage and ledger transactions.
The calling Rafid API key's billing account: prepaid credit balance, subscription allowance, usage and ledger transactions.
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/rafidsystem-com:rafidsystem-com-account-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: Rafid Intelligence Network Account API
version: 0.1.0
description: Rafid Agent API provides structured intelligence and paid APIs for AI agents across property, company and risk, supplier, finance, document, website, automotive, logistics, recruitment, trading, voice, video and business-planning workflows. Property-specific calculations use OMR where documented; capability prices and payment rails are documented per operation. Use Authorize to set X-API-Key for compatibility routes or the enabled prepaid API-key billing rail.
servers:
- url: /
tags:
- name: Account
description: 'The calling Rafid API key''s billing account: prepaid credit balance, subscription allowance, usage and ledger transactions.'
paths:
/api/v1/account/balance:
get:
operationId: account_balance
tags:
- Account
summary: Prepaid credit balance and subscription allowance
description: 'The calling API key''s account: available prepaid credit and the current subscription period''s included/used/remaining allowance.'
security:
- BillingApiKey: []
parameters: []
responses:
'200':
description: Prepaid credit balance and subscription allowance
content:
application/json:
schema:
type: object
required:
- success
- data
- meta
properties:
success:
const: true
data:
type: object
meta:
type: object
required:
- requestId
properties:
requestId:
type: string
examples:
default:
summary: Example
value:
success: true
data:
accountId: acct_…
status: active
credits:
available: '12.40'
currency: USD
subscription:
id: sub_…
plan: developer
periodStartsAt: '2026-09-01T00:00:00.000Z'
periodEndsAt: '2026-10-01T00:00:00.000Z'
included: '10.00'
used: '3.25'
remaining: '6.75'
currency: USD
meta:
requestId: example-request
'401':
description: A valid X-API-Key header is required
content:
application/json:
schema:
type: object
required:
- success
- error
- meta
properties:
success:
const: false
meta:
type: object
required:
- requestId
properties:
requestId:
type: string
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
details:
oneOf:
- type: array
items:
type: object
required:
- path
- message
properties:
path:
type: string
message:
type: string
- type: object
examples:
default:
summary: Example
value:
success: false
error:
code: UNAUTHORIZED
message: A valid X-API-Key header is required
meta:
requestId: example-request
/api/v1/account/usage:
get:
operationId: account_usage
tags:
- Account
summary: Charged usage per tool
description: 'Settled charges grouped by tool and rail since `since` (default: the current subscription period start, else the last 30 days).'
security:
- BillingApiKey: []
parameters:
- name: since
in: query
required: false
schema:
type: string
format: date-time
responses:
'200':
description: Charged usage per tool
content:
application/json:
schema:
type: object
required:
- success
- data
- meta
properties:
success:
const: true
data:
type: object
meta:
type: object
required:
- requestId
properties:
requestId:
type: string
examples:
default:
summary: Example
value:
success: true
data:
accountId: acct_…
since: '2026-09-01T00:00:00.000Z'
tools:
- tool: research_company
rail: api_credits
calls: 4
charged:
amount: '0.60'
currency: USD
total:
amount: '0.60'
currency: USD
subscription: null
meta:
requestId: example-request
'401':
description: A valid X-API-Key header is required
content:
application/json:
schema:
type: object
required:
- success
- error
- meta
properties:
success:
const: false
meta:
type: object
required:
- requestId
properties:
requestId:
type: string
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
details:
oneOf:
- type: array
items:
type: object
required:
- path
- message
properties:
path:
type: string
message:
type: string
- type: object
examples:
default:
summary: Example
value:
success: false
error:
code: UNAUTHORIZED
message: A valid X-API-Key header is required
meta:
requestId: example-request
/api/v1/account/transactions:
get:
operationId: account_transactions
tags:
- Account
summary: Ledger transactions (newest first)
description: Every credit, debit, refund, adjustment and subscription usage entry for the account. Paginate with `before` = the last id.
security:
- BillingApiKey: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 200
default: 50
- name: before
in: query
required: false
schema:
type: string
responses:
'200':
description: Ledger transactions (newest first)
content:
application/json:
schema:
type: object
required:
- success
- data
- meta
properties:
success:
const: true
data:
type: object
meta:
type: object
required:
- requestId
properties:
requestId:
type: string
examples:
default:
summary: Example
value:
success: true
data:
accountId: acct_…
transactions:
- id: txn_…
requestId: req…
tool: research_company
type: debit
rail: api_credits
amount: '0.15'
direction: debit
currency: USD
status: settled
externalTransactionId: null
relatedTransactionId: null
createdAt: '2026-09-23T10:00:00.000Z'
nextBefore: null
meta:
requestId: example-request
'401':
description: A valid X-API-Key header is required
content:
application/json:
schema:
type: object
required:
- success
- error
- meta
properties:
success:
const: false
meta:
type: object
required:
- requestId
properties:
requestId:
type: string
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
details:
oneOf:
- type: array
items:
type: object
required:
- path
- message
properties:
path:
type: string
message:
type: string
- type: object
examples:
default:
summary: Example
value:
success: false
error:
code: UNAUTHORIZED
message: A valid X-API-Key header is required
meta:
requestId: example-request
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: Enter an active Rafid API key. Swagger UI sends it in the X-API-Key request header.
BillingApiKey:
type: apiKey
in: header
name: Authorization
description: 'Enter the complete header value: Bearer raf_live_<secret> (or Bearer raf_test_<secret>). This is a Rafid account API key, not an x402 payment credential. Calls use subscription allowance, then prepaid USD credits.'