{
  "x402Version": 2,
  "id": 29746,
  "slug": "29746",
  "resource": "https://api.x402-hosting.com/v1/projects/:id/renew",
  "description": "Extend a project's hosting lease, priced per day (1-730 days via the days query parameter). Call this when hosting is nearing expiry or to republish an expired site; only the owner wallet can pay.",
  "type": "http",
  "serviceName": "x402 Hosting",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000000",
      "amountUsd": 2,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "example": {
        "additionalProperties": true,
        "properties": {
          "operationId": {
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "operationUrl": {
            "type": "string"
          },
          "projectId": {
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "projectId",
          "operationId"
        ],
        "type": "object"
      },
      "type": {
        "const": "json",
        "type": "string"
      }
    },
    "required": [
      "type",
      "example"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "headers": {
            "Idempotency-Key": "00000000-0000-4000-8000-000000000001"
          },
          "method": "POST",
          "pathParams": {
            "id": "d92b4f88-e5d8-4d7e-bd10-1a5857a0c784"
          },
          "queryParams": {
            "days": 1
          },
          "type": "http"
        },
        "output": {
          "example": {
            "operationId": "00000000-0000-4000-8000-000000000001",
            "operationUrl": "/v1/operations/00000000-0000-4000-8000-000000000001",
            "projectId": "00000000-0000-4000-8000-000000000001",
            "state": "CREATED"
          },
          "type": "json"
        }
      },
      "routeTemplate": "/v1/projects/:id/renew",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "headers": {
                "additionalProperties": true,
                "properties": {
                  "Idempotency-Key": {
                    "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                    "type": "string"
                  }
                },
                "required": [
                  "Idempotency-Key"
                ],
                "type": "object"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "pathParams": {
                "additionalProperties": false,
                "properties": {
                  "id": {
                    "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "type": "object"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "days": {
                    "maximum": 730,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "deploymentId": {
                    "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                    "type": "string"
                  }
                },
                "required": [
                  "days"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "queryParams"
            ],
            "type": "object"
          },
          "output": {
            "additionalProperties": false,
            "properties": {
              "example": {
                "additionalProperties": true,
                "properties": {
                  "operationId": {
                    "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                    "type": "string"
                  },
                  "operationUrl": {
                    "type": "string"
                  },
                  "projectId": {
                    "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  }
                },
                "required": [
                  "projectId",
                  "operationId"
                ],
                "type": "object"
              },
              "type": {
                "const": "json",
                "type": "string"
              }
            },
            "required": [
              "type",
              "example"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "hosting",
    "nextjs",
    "deployment",
    "cloudflare",
    "agents",
    "bazaar"
  ],
  "sourceHost": "api.x402-hosting.com",
  "lastUpdated": "2026-10-05T08:43:17.557Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-05T08:43:14.248Z"
  },
  "metadata": {
    "serviceName": "x402 Hosting",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "headers": {
              "Idempotency-Key": "00000000-0000-4000-8000-000000000001"
            },
            "method": "POST",
            "pathParams": {
              "id": "d92b4f88-e5d8-4d7e-bd10-1a5857a0c784"
            },
            "queryParams": {
              "days": 1
            },
            "type": "http"
          },
          "output": {
            "example": {
              "operationId": "00000000-0000-4000-8000-000000000001",
              "operationUrl": "/v1/operations/00000000-0000-4000-8000-000000000001",
              "projectId": "00000000-0000-4000-8000-000000000001",
              "state": "CREATED"
            },
            "type": "json"
          }
        },
        "routeTemplate": "/v1/projects/:id/renew",
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "headers": {
                  "additionalProperties": true,
                  "properties": {
                    "Idempotency-Key": {
                      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "Idempotency-Key"
                  ],
                  "type": "object"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "pathParams": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "type": "object"
                },
                "queryParams": {
                  "additionalProperties": false,
                  "properties": {
                    "days": {
                      "maximum": 730,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "deploymentId": {
                      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "days"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "queryParams"
              ],
              "type": "object"
            },
            "output": {
              "additionalProperties": false,
              "properties": {
                "example": {
                  "additionalProperties": true,
                  "properties": {
                    "operationId": {
                      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                      "type": "string"
                    },
                    "operationUrl": {
                      "type": "string"
                    },
                    "projectId": {
                      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "projectId",
                    "operationId"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "json",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "example"
              ],
              "type": "object"
            }
          },
          "required": [
            "input",
            "output"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.x402-hosting.com",
    "manifest_name": "api.x402-hosting.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "operationId": "00000000-0000-4000-8000-000000000001",
    "operationUrl": "/v1/operations/00000000-0000-4000-8000-000000000001",
    "projectId": "00000000-0000-4000-8000-000000000001",
    "state": "CREATED"
  }
}