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.
openapi: 3.2.0
info:
title: FairValid Customer Balance API
version: v1
description: Server-side API for scoped live and simulated test keys, email verification and FairMatch lead search. Live keys submit asynchronous verification jobs using the dashboard's verification queue, results and credit reservation/settlement rules. Key permissions, workspace access, key caps, available credits, processing limits and temporary service pauses still apply. Test keys simulate documented scenarios without provider calls or credit use.
servers:
- url: /
description: Your FairValid application origin
security:
- FairValidKey: []
tags:
- name: Balance
description: Read-only workspace credits for live keys
paths:
/api/v1/balance:
get:
tags:
- Balance
operationId: getBalance
summary: Read workspace credit balance
description: Live keys with balance scope only. Available and held balances are the same account used by the dashboard. A key cap is separate from workspace credits.
responses:
'200':
description: Current workspace balance
content:
application/json:
schema:
$ref: '#/components/schemas/Balance'
'401':
$ref: '#/components/responses/Unauthorized'
'503':
$ref: '#/components/responses/Unavailable'
components:
responses:
Unavailable:
description: Temporary unavailability; retry with the same Idempotency-Key if a submission outcome is uncertain
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing, revoked or insufficiently scoped key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Balance:
type: object
required:
- version
- brand
- mode
- available_credits
- held_credits
- reversal_debt
- free_allowance_held
properties:
version:
const: v1
brand:
const: FairValid
mode:
const: live
available_credits:
type: integer
held_credits:
type: integer
reversal_debt:
type: integer
free_available:
type: integer
description: Spendable free credits; zero while free_allowance_held is true.
free_allowance_held:
type: boolean
description: True while the free allowance is on hold. Available credits exclude the held free allowance; paid credits remain available.
paid_available:
type: integer
free_period_ends_at:
type:
- string
- 'null'
format: date-time
Error:
type: object
required:
- version
- brand
- error
- request_id
properties:
version:
const: v1
brand:
const: FairValid
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
request_id:
type: string
format: uuid
securitySchemes:
FairValidKey:
type: http
scheme: bearer
bearerFormat: fv_live_ or fv_test_ server-side key
description: Use one scoped key in Authorization. Secrets appear once at creation; never put them in a browser or mobile app.