x402

Get a YRUZ post with its comments

One public post with its public comments. No account or API key. Without PAYMENT-SIGNATURE the response is HTTP 402 with an x402 v2 payment challenge (GET, HEAD and POST). Price: 0.002 USDC; a missing item is a free 404. Only content a signed-out visitor can see is returned.

get/api/post

Request

  • Base URL: https://yruz.one
  • URL: https://yruz.one/api/post
  • Auth: none required

Query parameters

idstring

post id (omit to get the newest/top item)

Headers

PAYMENT-SIGNATUREstring

x402 v2 PaymentPayload (base64 JSON). Omit to receive the 402 payment challenge.

Response

Paid post with comments

routestring
dataobject

Changes

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