ProductClank Payments API
The payments API from ProductClank — 1 operation(s) for payments.
The payments API from ProductClank — 1 operation(s) for payments.
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/productclank-com:productclank-com-payments-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: ProductClank x402 Payments API
version: 1.0.0
description: 'Keyless, pay-per-call growth-marketing services for AI agents, paid in USDC on Base via the x402 protocol — growth hacking, social amplification, community activation, UGC/creator marketing, and product distribution. Boost a social post with real human engagement, launch a community content campaign, or get a product featured on the ProductClank directory — no API key or account required. New here? Test the boost flow for $2 with the boost-trial endpoint before paying $20.
Versioning: every response carries `API-Version: 1`; a request may send the same header to pin the major (any other value is refused with 400 `unsupported_api_version`, never silently served). Breaking changes ship only as a new major — `API-Version: 2` at new `/api/x402/v2/*` paths. Additive changes (new endpoints, optional fields, new response fields) ship within a major — ignore unknown fields. A deprecated operation is marked `deprecated: true` here and its responses carry `Deprecation` (RFC 9745), `Sunset` (RFC 8594) and `Link: ; rel="deprecation"` at least 90 days before it stops working. Policy: https://www.productclank.com/developers#versioning
Rate limits: 300 requests per 60s per bearer credential, 60 per 60s per IP for unauthenticated calls. Every response carries `RateLimit-Policy` and `RateLimit` (IETF draft-ietf-httpapi-ratelimit-headers) plus `RateLimit-Limit` / `RateLimit-Remaining` / `RateLimit-Reset`; a 429 adds `Retry-After` (seconds). Throttle on `RateLimit-Remaining` instead of waiting for a 429.'
x-guidance: 'All paid endpoints are POST with a JSON body and settle only on success — a failed call never costs anything. First time? Use POST /api/x402/boost-trial ($2) to test the boost flow end-to-end: same machinery, one real community reply on your post. Use POST /api/x402/boost ($20) to get real human replies/likes/reposts on any social post (send post_url). Use POST /api/x402/content-campaign ($50) to have real creators produce original content about a product (requires a ProductClank product_id — create one free at https://www.productclank.com, or via the $19 product-listing endpoint). Use POST /api/x402/product-listing ($19) to feature a product on the productclank.com/products directory (send just the product url). If you paid but lost the response, recover it free via GET /api/x402/purchases?nonce=….'
x-api-lifecycle:
current_version: '1'
versioning: header
version_header: API-Version
breaking_changes: 'Only in a new major version (API-Version: 2, served at new /api/x402/v2/* paths). The previous major keeps working until its Sunset date.'
additive_changes: New endpoints, optional request fields and response fields can ship within a major at any time; clients must ignore unknown fields.
deprecation_signals:
- Deprecation response header (RFC 9745)
- Sunset response header (RFC 8594)
- Link response header with rel="deprecation"
- 'deprecated: true on the operation in this document'
minimum_notice_days: 90
policy_url: https://www.productclank.com/developers#versioning
contact:
email: contact@productclank.com
servers:
- url: https://www.productclank.com
tags:
- name: Payments
paths:
/api/x402/purchases:
get:
operationId: purchasesLookup
summary: Recover a past x402 purchase
description: 'Free, keyless recovery lookup: ''did my payment work, and what did it create?'' — for when an agent paid one of the x402 endpoints but never received the HTTP response. Pass the payment authorization nonce (?nonce=0x…) or the settlement transaction hash (?tx=0x…). found:false means the payment was never settled and it is safe to re-pay.'
tags:
- Payments
security: []
parameters:
- name: nonce
in: query
required: false
schema:
type: string
description: The nonce from your signed x402 payment authorization (generated client-side when paying)
- name: tx
in: query
required: false
schema:
type: string
description: The settlement transaction hash on Base
- $ref: '#/components/parameters/ApiVersion'
responses:
'200':
description: Lookup result — found:true includes what the purchase created (campaign/product id and public URL)
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
found:
type: boolean
message:
type: string
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimit-Policy'
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Limit:
$ref: '#/components/headers/RateLimit-Limit'
RateLimit-Remaining:
$ref: '#/components/headers/RateLimit-Remaining'
RateLimit-Reset:
$ref: '#/components/headers/RateLimit-Reset'
API-Version:
$ref: '#/components/headers/API-Version'
'400':
description: Neither nonce nor tx was provided
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimit-Policy'
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Limit:
$ref: '#/components/headers/RateLimit-Limit'
RateLimit-Remaining:
$ref: '#/components/headers/RateLimit-Remaining'
RateLimit-Reset:
$ref: '#/components/headers/RateLimit-Reset'
API-Version:
$ref: '#/components/headers/API-Version'
'429':
description: Too many requests (`rate_limited`) — retry after `Retry-After` seconds; nothing is charged
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimit-Policy'
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Limit:
$ref: '#/components/headers/RateLimit-Limit'
RateLimit-Remaining:
$ref: '#/components/headers/RateLimit-Remaining'
RateLimit-Reset:
$ref: '#/components/headers/RateLimit-Reset'
API-Version:
$ref: '#/components/headers/API-Version'
Retry-After:
$ref: '#/components/headers/Retry-After'
'500':
description: Lookup failed
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimit-Policy'
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Limit:
$ref: '#/components/headers/RateLimit-Limit'
RateLimit-Remaining:
$ref: '#/components/headers/RateLimit-Remaining'
RateLimit-Reset:
$ref: '#/components/headers/RateLimit-Reset'
API-Version:
$ref: '#/components/headers/API-Version'
components:
schemas:
ErrorResponse:
type: object
required:
- success
- error
- message
properties:
success:
type: boolean
const: false
error:
type: string
description: Machine-readable error code
enum:
- validation_error
- internal_error
- rate_limited
- unsupported_api_version
message:
type: string
description: Human-readable explanation, including how to retry
headers:
RateLimit-Policy:
description: 'Quota policy, structured field: `"<name>";q=<requests>;w=<window seconds>`. per-key = 300/60s per bearer credential; per-ip = 60/60s per IP.'
schema:
type: string
example: '"per-key";q=300;w=60'
API-Version:
description: Major version of the contract that served this response. Always `1` today.
schema:
type: string
enum:
- '1'
RateLimit-Reset:
description: Seconds until the current window resets.
schema:
type: integer
minimum: 0
RateLimit:
description: 'Current window, structured field: `"<name>";r=<remaining>;t=<seconds until reset>`.'
schema:
type: string
example: '"per-key";r=299;t=42'
Retry-After:
description: Seconds to wait before retrying (on 429).
schema:
type: integer
minimum: 0
RateLimit-Remaining:
description: Requests left in the current window.
schema:
type: integer
minimum: 0
RateLimit-Limit:
description: Requests allowed in the current window.
schema:
type: integer
minimum: 0
parameters:
ApiVersion:
name: API-Version
in: header
required: false
description: Optional. Pin the major version. Only `1` is served; any other value → 400 `unsupported_api_version`.
schema:
type: string
enum:
- '1'