x402

Bid on the Featured spot with USDC (x402)

Same auction as POST /api/feature — amount_usd defaults to the current minimum — but payment is a signed x402 authorization, settled on-chain before the bid is marked paid. A losing bid in a concurrent race is booked refund-needed, never silently stranded. Rate limit: 30 checkout requests/hour per IP.

post/api/x402/feature

Request

  • Base URL: https://curlship.com
  • URL: https://curlship.com/api/x402/feature
  • Auth: none declared

Headers

PAYMENT-SIGNATUREstring

base64 JSON x402 v2 PaymentPayload, echoing the quote as accepted.

Request body

urlstring uri required
amount_usdnumber

Your bid in USD, whole cents at most. Omit to bid the current minimum.

Example request

{
  "url": "https://yourapp.com",
  "amount_usd": 51
}

Response

Payment settled and granted. PAYMENT-RESPONSE (base64 JSON) carries the settlement receipt; tx_hash is also in the body.

okboolean
tx_hashstring

Example response

{
  "ok": true,
  "tx_hash": "0x…",
  "listing": {
    "id": 2076,
    "url": "https://yourapp.com/",
    "title": "YourApp — ship faster",
    "created_at": "2026-10-12T09:04:05Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.