Bordfeed Billing API
The Billing API from Bordfeed, for billing.
The Billing API from Bordfeed, for billing.
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/bordfeed:bordfeed-billing-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: Bordfeed Billing API
version: 1.0.0
contact:
name: Bordfeed
url: https://bordfeed.com
description: 'Operations tagged Billing across 2 of this provider''s published API definitions: bordfeed-openapi.json, bordfeed.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://bordfeed.com/api/v1
description: Production
security:
- apiKey: []
- apiKeyHeader: []
tags:
- name: Billing
paths:
/billing/balance:
get:
operationId: getBillingBalance
summary: Get your balance
description: Get your credit balance, your plan and a link to top up. On a plan, `price_per_job_usd` and `topup_url` are null. On pay as you go, topup_url opens Stripe Checkout for this workspace for about an hour, with no Bordfeed sign-in. This call is free. Each full job costs 1 credit, which is $0.01 per job on pay as you go, charged once per organization. New accounts start with a one-time $20 credit.
tags:
- Billing
parameters:
- $ref: '#/components/parameters/XBordfeedClient'
responses:
'200':
description: Balance
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
balance_jobs:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
plan:
type:
- string
- 'null'
price_per_job_usd:
type:
- number
- 'null'
topup_url:
type:
- string
- 'null'
required:
- balance_jobs
- plan
- price_per_job_usd
- topup_url
additionalProperties: false
request_id:
type: string
required:
- data
- request_id
additionalProperties: false
headers:
X-Request-Id:
description: The id of this request, the same as `request_id` in the body.
schema:
type: string
X-Bordfeed-Balance-Jobs:
description: How many full jobs your balance still covers, on every plan. Left out when the balance cannot be read.
schema:
type: integer
X-Bordfeed-Price-Per-Job-Usd:
description: The price of one full job in USD. Sent on pay as you go only.
schema:
type: number
RateLimit-Limit:
description: Requests your workspace may send in the current window.
schema:
type: integer
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: integer
RateLimit-Policy:
description: The limit and window that apply to your plan.
schema:
type: string
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: The API key is missing or not valid
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
headers:
WWW-Authenticate:
description: '`Bearer realm="bordfeed"`, with an `auth_md` link to the page that explains how to get a key.'
schema:
type: string
'429':
description: Your workspace sent requests faster than its plan allows. Wait `Retry-After` seconds.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
headers:
Retry-After:
description: Seconds to wait before sending the request again.
schema:
type: integer
RateLimit-Limit:
description: Requests your workspace may send in the current window.
schema:
type: integer
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
RateLimit-Reset:
description: Seconds until the window resets.
schema:
type: integer
RateLimit-Policy:
description: The limit and window that apply to your plan.
schema:
type: string
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: Service unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
headers:
Retry-After:
description: Seconds to wait before sending the request again.
schema:
type: integer
servers:
- url: https://bordfeed.com/api/v1
description: Production
components:
parameters:
XBordfeedClient:
name: X-Bordfeed-Client
in: header
required: false
description: Optional client name/version, recorded on the API key for install counts.
schema:
type: string
pattern: ^[a-z0-9][a-z0-9._-]{0,31}/[0-9A-Za-z.+-]{1,32}$
schemas:
ErrorResponse:
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Machine-readable error code
message:
type: string
description: Human-readable error message
errors:
description: List of validation issues. Present only on 422 validation_error responses.
type: array
items: {}
retry_after:
description: Seconds to wait before retrying. Present only on 429 and 503 responses.
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
balance_jobs:
description: Prepaid jobs left on your balance. Present only on 402 insufficient_credits responses for pay-as-you-go plans.
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
price_per_job_usd:
description: Price per unique job in USD. Present only on 402 insufficient_credits responses for pay-as-you-go plans.
type: number
topup_url:
description: Link that opens Stripe Checkout for a pay as you go top-up of this workspace. It needs no Bordfeed sign-in and works for about an hour. Present only on 402 insufficient_credits responses for pay-as-you-go plans.
type: string
auth_md_url:
description: Where an AI agent can read how to get access. Present only on 401 unauthorized responses.
type: string
required:
- code
- message
additionalProperties: false
description: Error detail
docs_url:
type: string
format: uri
description: Link to the documentation for this error code
request_id:
type: string
description: Unique id of this request. Include it when you contact support.
required:
- error
- docs_url
- request_id
additionalProperties: false
description: Error response shape shared by all endpoints. `error.errors` appears only on validation errors (422). `error.retry_after` appears only on rate limited (429) and service unavailable (503) responses. `error.auth_md_url` appears only on unauthorized (401) responses.
securitySchemes:
apiKey:
type: apiKey
in: header
name: Authorization
description: 'Your API key, sent as a Bearer token: `Authorization: Bearer bf_live_...`. Create keys in the dashboard under API Keys.'
apiKeyHeader:
type: apiKey
in: header
name: x-api-key
description: The same API key in an `x-api-key` header, for clients that cannot set `Authorization`.
x-refined-from:
- bordfeed-openapi.json
- bordfeed.json