{"info":{"title":"X402-hosting","version":"1.0.0"},"openapi":"3.1.0","paths":{"/v1/projects/:id/activate":{"post":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"1400000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: :Id Activate","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"Activate a newly created project so its site goes live, paying per day of hosting (1-730 days via the days query parameter). Call this after the first deployment is queued; only the owner wallet bound at creation can pay."},"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"1400000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: :Id Activate","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"Activate a newly created project so its site goes live, paying per day of hosting (1-730 days via the days query parameter). Call this after the first deployment is queued; only the owner wallet bound at creation can pay."}},"/v1/projects/:id/renew":{"post":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"200000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: :Id Renew","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"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."},"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"200000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: :Id Renew","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"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."}},"/v1/projects/:id/rollback":{"post":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"10000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: :Id Rollback","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"Roll a project's live site back to a previous deployment. Call this when the current release is broken; pass the target deploymentId as a query parameter. Only the owner wallet can pay."},"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"10000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: :Id Rollback","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"Roll a project's live site back to a previous deployment. Call this when the current release is broken; pass the target deploymentId as a query parameter. Only the owner wallet can pay."}},"/v1/projects/:id/transfer":{"post":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"10000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: :Id Transfer","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"Transfer project ownership to another EVM wallet (toAddress query parameter). Call this to hand control of a site to a new owner; that wallet must sign all future paid operations. Only the current owner wallet can pay."},"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"10000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: :Id Transfer","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"Transfer project ownership to another EVM wallet (toAddress query parameter). Call this to hand control of a site to a new owner; that wallet must sign all future paid operations. Only the current owner wallet can pay."}},"/v1/projects/:id/uploads":{"post":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"10000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: :Id Uploads","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"Create an upload session to deploy a new version of an existing project. Call this when publishing an update; it returns a presigned artifact upload URL. Only the project owner wallet can pay."},"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"10000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: :Id Uploads","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"Create an upload session to deploy a new version of an existing project. Call this when publishing an update; it returns a presigned artifact upload URL. Only the project owner wallet can pay."}},"/v1/uploads":{"post":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"10000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: V1 Uploads","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"Create an upload session for a new hosted Next.js site. Call this first when deploying a new project: it returns a presigned artifact upload URL, and the paying wallet becomes the project owner."},"get":{"responses":{"200":{"description":"Successful response"},"402":{"description":"Payment Required"}},"x-payment-info":{"offers":[{"amount":"10000","currency":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"X402-hosting: V1 Uploads","intent":"charge","method":"evm","recipient":"0xAc0bba6e3241A398b1911528A3E19f87aeE12f6E"}]},"summary":"Create an upload session for a new hosted Next.js site. Call this first when deploying a new project: it returns a presigned artifact upload URL, and the paying wallet becomes the project owner."}}},"x-service-info":{"description":"X402-hosting is an x402-native service at https://api.x402-hosting.com, indexed from the x402 Bazaar (Coinbase's public discovery directory). It charges callers itself in USDC on Base and is paid directly at its own wallet; Monex Protocol passes your request and payment headers through untouched. 6 endpoints listed."}}