Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Hookpulse Billing API
version: '1.0'
description: 'Operations tagged Billing across 2 of this provider''s published API definitions: hookpulse-openapi.json, hookpulse-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://hookpulse.net
tags:
- name: Billing
paths:
/api/billing:
get:
operationId: billing
summary: Free allowance, x402 prices in force and the state of the account's trial
description: 'Check before creating the second monitor or lowering the interval: it is the number IN FORCE, not the documentation''s.
Returns: { provider, mode, network, chain_id, pay_to, homolog, dev, dev_gate, facilitator, asset, asset_address, faucet, wallets, product, free_max_endpoints, free_min_interval_sec, free_email_alerts, prices{extra_endpoint_usd,fast_interval_usd,email_alert_usd,contact_agent_usd}, usage, trial{days,active,days_left?,ends_at,granted?} }'
security: []
responses:
'200':
description: '{ provider, mode, network, chain_id, pay_to, homolog, dev, dev_gate, facilitator, asset, asset_address, faucet, wallets, product, free_max_endpoints, free_min_interval_sec, free_email_alerts, prices{extra_endpoint_usd,fast_interval_usd,email_alert_usd,contact_agent_usd}, usage, trial{days,active,days_left?,ends_at,granted?} }'
content:
application/json:
schema:
$ref: '#/components/schemas/Billing'
tags:
- Billing
servers:
- url: https://hookpulse.net
components:
schemas:
Trial:
type: object
properties:
days:
type: integer
description: Trial length in days.
active:
type: boolean
description: Whether it is in force now.
days_left:
type: integer
description: How many days remain.
ends_at:
type: string
description: When it ends (UTC).
nullable: true
granted:
type: boolean
description: '`true` when THIS call granted the trial.'
required:
- days
- active
- ends_at
description: The period without the usage paywall that confirming the e-mail grants. It is the alternative to paying.
Precos:
type: object
properties:
extra_endpoint_usd:
type: number
description: Monitor beyond the allowance.
fast_interval_usd:
type: number
description: Interval below the free minimum.
email_alert_usd:
type: number
description: E-mail alert registration beyond the first.
contact_agent_usd:
type: number
description: Agent contact.
required:
- extra_endpoint_usd
- fast_interval_usd
- email_alert_usd
- contact_agent_usd
description: Prices in force, in dollars. Read them here, not from the documentation.
Billing:
type: object
properties:
provider:
type: string
description: Always `x402` — the only billing protocol accepted.
mode:
type: string
description: 'Seller mode: `live` charges for real, `dev` lets calls through unpaid.'
network:
type: string
description: 'USDC network: `base` in production, `base-sepolia` in staging.'
chain_id:
type: integer
description: EVM chain ID of the network above, so the wallet signs on the right chain.
pay_to:
type: string
description: Address that receives the payment.
nullable: true
homolog:
type: boolean
description: 'Staging seam on: the loop can be closed without spending USDC.'
dev:
type: boolean
description: 'Development mode: the 402 is simulated.'
dev_gate:
type: string
description: How dev mode is unlocked, when it exists.
nullable: true
facilitator:
type: string
description: URL of the facilitator that verifies and settles the payment.
asset:
type: string
description: Accepted currency — always `USDC`.
asset_address:
type: string
description: USDC contract on the network above.
faucet:
type: string
description: Test-USDC faucet; only on base-sepolia.
nullable: true
wallets:
type: object
description: Links to wallets that speak x402 (metamask, coinbase, base_app).
product:
type: string
description: Name of the product charging.
free_max_endpoints:
type: integer
description: Free monitors per owner.
free_min_interval_sec:
type: integer
description: Shortest interval that is still free. Below it, it costs.
free_email_alerts:
type: integer
description: Free e-mail alert registrations; the rest is paid (it is SES cost per miss).
prices:
allOf:
- $ref: '#/components/schemas/Precos'
description: What each paid action costs, in USD.
usage:
type: object
description: How much of the allowance the owner has used.
trial:
allOf:
- $ref: '#/components/schemas/Trial'
description: The account's trial, when there is a session.
required:
- provider
- mode
- network
- chain_id
- pay_to
- homolog
- dev
- dev_gate
- facilitator
- asset
- asset_address
- faucet
- wallets
- product
- free_max_endpoints
- free_min_interval_sec
- free_email_alerts
- prices
- usage
- trial
description: 'Everything that decides whether the next call will cost: x402 configuration, allowance, prices and trial.'
Precos_2:
type: object
properties:
extra_endpoint_usd:
type: number
description: Monitor beyond the allowance.
fast_interval_usd:
type: number
description: Interval below the free minimum.
email_alert_usd:
type: number
description: E-mail alert registration beyond the first.
required:
- extra_endpoint_usd
- fast_interval_usd
- email_alert_usd
description: Prices in force, in dollars. Read them here, not from the documentation.
PaymentPrice:
type: object
properties:
o_que:
type: string
description: Operation and billing unit.
price_usd:
type: number
description: Current list price in USD.
price:
type: string
description: Price with its currency or billing unit.
so_conta:
type: boolean
description: Only a signed-in account can buy this offer.
required:
- o_que
PaymentQuota:
type: object
properties:
free:
type: array
items:
$ref: '#/components/schemas/PaymentFree'
description: Free allowances and their windows.
paid:
type: array
items:
$ref: '#/components/schemas/PaymentPrice'
description: List prices in USD or in the stated currency; account-only offers are marked. The operation's 402 is the payable quote.
how_to_pay:
type: string
description: Payment instructions and availability restrictions.
live:
type: string
description: Authoritative product quota endpoint.
nullable: true
free_now:
type: array
items:
type: string
description: SKUs temporarily free despite their list price.
charged_now:
type: array
items:
type: string
description: SKUs charged at their list price even when free_now has `*`.
trial:
allOf:
- $ref: '#/components/schemas/PaymentTrial'
description: Registration trial, when offered.
required:
- free
- paid
- how_to_pay
- live
Billing_2:
type: object
properties:
provider:
type: string
description: Always `x402` — the only billing protocol accepted.
mode:
type: string
description: 'Seller mode: `live` charges for real, `dev` lets calls through unpaid.'
network:
type: string
description: 'USDC network: `base` in production, `base-sepolia` in staging.'
chain_id:
type: integer
description: EVM chain ID of the network above, so the wallet signs on the right chain.
pay_to:
type: string
description: Address that receives the payment.
nullable: true
homolog:
type: boolean
description: 'Staging seam on: the loop can be closed without spending USDC.'
dev:
type: boolean
description: 'Development mode: the 402 is simulated.'
dev_gate:
type: boolean
description: A homologation credential is configured; this grants no access.
alternavel:
type: boolean
description: 'Dev only: a request with `X-MM-Pagamento: real` pays for real instead of in test mode.'
gratis:
type: array
items:
type: string
description: Temporarily free SKUs.
cobrados:
type: array
items:
type: string
description: SKUs charged even when `gratis` has `*`.
facilitator:
type: string
description: URL of the facilitator that verifies and settles the payment.
asset:
type: string
description: Accepted currency — always `USDC`.
asset_address:
type: string
description: USDC contract on the network above.
faucet:
type: string
description: Test-USDC faucet; only on base-sepolia.
nullable: true
wallets:
type: object
description: Links to wallets that speak x402 (metamask, coinbase, base_app).
product:
type: string
description: Name of the product charging.
quota:
allOf:
- $ref: '#/components/schemas/PaymentQuota'
description: Public allowances and current list prices; not personal usage.
pricing:
type: string
description: Absolute URL of the current price list.
billing:
type: string
description: Absolute URL of payment discovery or the existing billing summary.
api_index:
type: string
description: Absolute URL of the API catalog.
free_max_endpoints:
type: integer
description: Free monitors per owner.
free_min_interval_sec:
type: integer
description: Shortest interval that is still free. Below it, it costs.
free_email_alerts:
type: integer
description: Free e-mail alert registrations; additional registrations are paid.
prices:
allOf:
- $ref: '#/components/schemas/Precos_2'
description: What each paid action costs, in USD.
usage:
type: object
description: How much of the allowance the owner has used.
trial:
allOf:
- $ref: '#/components/schemas/Trial_2'
description: The account's trial, when there is a session.
required:
- provider
- mode
- network
- chain_id
- pay_to
- homolog
- dev
- dev_gate
- alternavel
- facilitator
- asset
- asset_address
- faucet
- wallets
- product
- free_max_endpoints
- free_min_interval_sec
- free_email_alerts
- prices
- usage
- trial
description: 'Everything that decides whether the next call will cost: x402 configuration, allowance, prices and trial.'
PaymentFree:
type: object
properties:
o_que:
type: string
description: Operation or allowance.
limite:
type: string
description: Allowance and eligibility.
janela:
type: string
description: Reset window, when applicable.
nullable: true
required:
- o_que
- limite
- janela
Trial_2:
type: object
properties:
days:
type: integer
description: Trial length in days.
active:
type: boolean
description: Whether it is in force now.
days_left:
type: integer
description: How many days remain.
ends_at:
type: string
description: When it ends (UTC).
nullable: true
required:
- days
- active
- ends_at
description: The period without the usage paywall that each account gets once, counted from its first use of HookPulse. It is the alternative to paying.
PaymentTrial:
type: object
properties:
days:
type: integer
description: Trial duration in days.
how:
type: string
description: Eligibility and activation steps.
required:
- days
- how
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Guest token (`POST /api/guest`) in `X-Guest-Token: hp_…` or `Authorization: Bearer hp_…`. A `sess_…` session also works.'
globalAccount:
type: apiKey
in: cookie
name: __Host-mm-auth
description: Global session in the product's HttpOnly cookie; writes require exact Origin and X-CSRF-Token.
contaChaveApi:
type: http
scheme: bearer
bearerFormat: mmk_…
description: 'Account API key: `Authorization: Bearer mmk_…` or `X-Api-Key: mmk_…`. Created on the account page (API keys), valid only in the product where it was created; it acts as the account (or the organization that owns it).'
carteiraAgente:
type: http
scheme: bearer
bearerFormat: mmw_…
description: 'Wallet credential of an agent without an account (`Authorization: Bearer mmw_…`, 30 days, this product only): POST /api/auth/wallet/agent/start, check that the domain and URI of the message are the host and origin that you called, sign the message with the wallet, POST /api/auth/wallet/agent/token. The owner is `x402:<address>`.'
externalDocs:
url: https://payapi.market/api/hookpulse
description: PayAPI Market
x-refined-from:
- hookpulse-openapi.json
- hookpulse-openapi.json