Skip to main content

Base URL

https://api.memoclaw.com

Request Format

All requests use Content-Type: application/json. The maximum request body size is 64 KB.

Authentication

All /v1/* routes require an x402 payment header. The payer’s EVM wallet address is extracted from the payment proof and used as your identity — no API keys or accounts needed.

Request ID

Every response includes a unique X-Request-Id header. Include this when contacting support or debugging issues.
X-Request-Id: 550e8400-e29b-41d4-a716-446655440000

Error Format

All errors return a consistent JSON structure:
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Content is required",
    "details": {
      "field": "content"
    }
  }
}
See Error Codes for a full list of error codes and their meanings.