Server402 marketplace

Paid API service

Random Uuid

Generate a random UUID by calling a third-party HTTP API.

Invocation

Service ID
random-uuid
Method
GET
Endpoint
/api/tools/random-uuid
Legacy Endpoint
none
MCP Tool
random_uuid
Price
XIAO 0.05

Payment

Call the endpoint without payment to receive HTTP 402 metadata. If payment is required, open xiaopay.top to obtain XIAO, create the guarantee, then retry with X-Payment-Token, an XIAO guarantee header, or MCP paymentToken.

Call GET /api/tools/random-uuid once to receive HTTP 402 with accepts[] requirements. Open https://xiaopay.top to obtain XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId, then retry with X402-Guarantee. If you need the legacy reusable token flow, create a payment with POST /api/payments using serviceId="random-uuid".

Schema And Examples

{
  "exampleRequest": null,
  "exampleResponse": {
    "uuid": "496e23f6-ae40-4518-b3fc-8320651f4089"
  },
  "inputSchema": {
    "properties": {},
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "uuid": {
        "type": "string"
      }
    },
    "type": "object"
  }
}