HookPulse X402 API
The X402 API from HookPulse — 1 operation(s) for x402.
Operations 1
GET
/api/x402/check
Checks a URL once for an agent, paid per call: status, response time, keyword…
#
The X402 API from HookPulse — 1 operation(s) for x402.
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/hookpulse:hookpulse-x402-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: HookPulse X402 API
version: 9f4f73b5
description: Monitor scheduled tasks and receive alerts for missing check-ins. Read GET /api/ for the API index.
servers:
- url: https://hookpulse.net
tags:
- name: X402
paths:
/api/x402/check:
get:
operationId: get_api_x402_check
summary: 'Checks a URL once for an agent, paid per call: status, response time, keyword…'
description: 'One reading with the probe of the site monitors, and the certificate of an https address that answered. A request without payment gets the 402 with the price; a paid one gets the reading in the same response, with the payment in `cobranca`. A site that is down is the answer (`ok: false` with `reason`) and is charged: the call was made. When our own probe network fails, the answer is 503 and nothing is charged.
Returns: { url, ok, status, reason, ms, certificate{endpoint,fingerprint,issuer,valid_from,valid_until,authorized,errors,protocol}, certificate_error, checked_at, cobranca{via,preco_usd,repetido,saldo_usd?} }'
x-price-usd: 0.01
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
security:
- bearerAuth: []
parameters:
- name: url
in: query
required: true
schema:
type: string
description: 'The address to call: http or https, public, without user or password.'
example: https://example.com/
- name: method
in: query
required: false
schema:
type: string
description: '`GET` (default) or `HEAD`.'
- name: expect_status
in: query
required: false
schema:
type: string
description: 'What counts as up: `200-399` by default, a range `a-b` or one code.'
- name: keyword
in: query
required: false
schema:
type: string
description: Text that must be in the first 64 KB of the page; it forces `GET`.
- name: timeout_ms
in: query
required: false
schema:
type: integer
description: 1000 to 30000, default 10000.
- name: authorization
in: header
required: false
schema:
type: string
description: '`Bearer mmk_…` (API key) or `Bearer mmo_…` (OAuth): the paid call uses the account balance without another header. Without an account, use prepaid credit from `POST /api/credito` as `Bearer cred_…`.'
- name: x-api-key
in: header
required: false
schema:
type: string
description: The mmk_… API key for this product. It identifies the account and authorizes its balance for the paid call.
- name: payment-signature
in: header
required: false
schema:
type: string
description: 'The signed x402 payment proof (base64): `PAYMENT-SIGNATURE` (v2) or `X-PAYMENT` (v1).'
- name: x-wallet-token
in: header
required: false
schema:
type: string
description: To recover an x402 response within 24 hours, repeat the same request and payment proof. Send the payer wallet's `mmw_…` credential here, issued through `/api/auth/wallet/agent/start` and `/api/auth/wallet/agent/token`. There is no new charge.
responses:
'200':
description: '{ url, ok, status, reason, ms, certificate{endpoint,fingerprint,issuer,valid_from,valid_until,authorized,errors,protocol}, certificate_error, checked_at, cobranca{via,preco_usd,repetido,saldo_usd?} }'
content:
application/json:
schema:
$ref: '#/components/schemas/ChecagemAvulsa'
'400':
description: 'Paid without `url` (`missing_input`, with `example`), or a field with a code: `check_url_invalid`, `check_url_credentials`, `check_url_private`, `check_method_invalid`, `check_expect_status_invalid`, `check_keyword_invalid` or `check_timeout_invalid`. Not charged.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'401':
description: API key refused (`invalid_api_key`), OAuth token refused (`invalid_token`), credit refused (`credito_invalido`), test credit outside dev (`credito_simulado`), or recovery without wallet authentication (`wallet_proof_required`). The first x402 purchase needs no account.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'402':
description: 'No payment: `accepts` (x402, USDC on Base) with the price of this call, at least US$ 0.01; `credito.preco_desta_chamada`, the lower price with prepaid credit; and `pacotes` (the credit top-ups and how many calls each one pays). Credit without balance answers `saldo_insuficiente`.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'409':
description: Payment is in progress, the request differs from the original, or the amount was recovered as balance. Do not sign another authorization to retry the purchase.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'410':
description: The 24-hour response recovery period ended. The financial record remains; the same proof cannot cause another charge.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: Our probe network did not answer (`collector_unavailable`). Not charged.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- X402
components:
schemas:
CobrancaDaChamada:
type: object
properties:
via:
type: string
description: '`x402`, `credito` or the marketplace that already charged the call.'
preco_usd:
type: string
description: 'The price charged for this call in US dollars, such as `0.01`: at least US$ 0.01 with single x402 payment; the unit price with credit.'
repetido:
type: boolean
description: '`true` when the credit had already paid this request (the same `Idempotency-Key`): nothing was charged again.'
saldo_usd:
type: string
description: The credit balance after the call, such as `$0.99`; includes payment from the account balance.
required:
- via
- preco_usd
- repetido
description: The payment of a single call.
ChecagemAvulsa:
type: object
properties:
url:
type: string
description: The address called.
ok:
type: boolean
description: '`true` when it answered inside `expect_status`, with the `keyword` when one was sent.'
status:
type: integer
description: HTTP status; `null` when nothing answered.
nullable: true
reason:
type: string
description: 'Why it failed: `status`, `keyword`, `timeout`, `dns`, `connection`, `tls`, `private_address` or `network`; `null` when it answered.'
nullable: true
ms:
type: integer
description: Response time in milliseconds.
certificate:
allOf:
- $ref: '#/components/schemas/CertificadoAvulso'
description: The certificate of an https address that answered; `null` otherwise.
nullable: true
certificate_error:
type: string
description: Why the certificate was not read (`tls_timeout`, `tls_dns_failed`, `tls_connection_failed`, …); `null` when it was read or not tried.
nullable: true
checked_at:
type: string
description: When the reading was made (UTC, ISO 8601).
cobranca:
allOf:
- $ref: '#/components/schemas/CobrancaDaChamada'
description: How this call was paid.
required:
- url
- ok
- status
- reason
- ms
- certificate
- certificate_error
- checked_at
- cobranca
description: One reading of an address, paid per call.
CertificadoAvulso:
type: object
properties:
endpoint:
type: string
description: HTTPS origin that supplied the certificate.
fingerprint:
type: string
description: SHA-256 certificate fingerprint.
issuer:
type: string
description: Certificate issuer, when available.
nullable: true
valid_from:
type: string
description: Start of validity in UTC.
valid_until:
type: string
description: End of validity in UTC.
authorized:
type: boolean
description: The connection passed certificate trust and hostname checks.
errors:
type: array
items:
type: string
description: Validation failures, such as `CERT_HAS_EXPIRED`.
protocol:
type: string
description: Protocol negotiated by this connection.
nullable: true
required:
- endpoint
- fingerprint
- issuer
- valid_from
- valid_until
- authorized
- errors
- protocol
description: The certificate the https address presented in this reading.
ProblemDetails:
type: object
description: RFC 9457 Problem Details error response (`application/problem+json`). Includes stable `code` and backward-compatible `error` and `message` fields; route-specific extension fields (such as `accepts`, `allow`, `retry_after`, or `request_id`) may also be present.
required:
- type
- title
- status
- detail
- instance
- code
properties:
type:
type: string
format: uri
description: URI identifying the problem type, linking to `/errors#<code>` on this host.
title:
type: string
description: Short human-readable summary of the problem type.
status:
type: integer
description: HTTP status code generated for this occurrence.
detail:
type: string
description: Human-readable explanation specific to this occurrence.
instance:
type: string
description: Request path where the error occurred (without query parameters).
code:
type: string
description: Stable machine-readable snake_case error code documented at `/errors`.
error:
type: string
description: Backward-compatible alias of `code` (or protocol reason on x402 402 responses).
message:
type: string
description: Backward-compatible alias of `detail`.
additionalProperties: true
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Guest token returned by monitor creation or `POST /api/guest`, in `X-Guest-Token: hp_…` or `Authorization: Bearer hp_…`. A signed-in account (cookie) also works and takes precedence.'
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-service-info:
categories:
- monitoring
- cron
- devops
docs:
homepage: https://hookpulse.net/
apiReference: https://hookpulse.net/developers
llms: https://hookpulse.net/llms.txt
errors: https://hookpulse.net/errors
status: https://hookpulse.net/status
pricing: https://hookpulse.net/api/pricing
billing: https://hookpulse.net/api/billing