{"slug":"api-x402-hosting-com-v1-uploads-995dc5","title":"Create an upload session for a new hosted Next.js site","host":"api.x402-hosting.com","method":"POST","resource":"https://api.x402-hosting.com/v1/uploads","category":"market","description":"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.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":877,"reported_calls_30d":4,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"headers":{"Idempotency-Key":"00000000-0000-4000-8000-000000000001"},"method":"POST","queryParams":{"contentType":"application/zip","name":"my-site","sha256":"0000000000000000000000000000000000000000000000000000000000000000","size":1024},"type":"http"},"output_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"},"queryParams":{"additionalProperties":false,"properties":{"contentType":{"const":"application/zip","type":"string"},"name":{"maxLength":80,"minLength":1,"type":"string"},"sha256":{"pattern":"^[0-9a-f]{64}$","type":"string"},"size":{"minimum":1,"type":"integer"}},"required":["name","size","sha256","contentType"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","queryParams"],"type":"object"},"output":{"additionalProperties":false,"properties":{"example":{"additionalProperties":false,"properties":{"expiresAt":{"type":"string"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"objectKey":{"type":"string"},"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"},"uploadId":{"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"},"uploadUrl":{"type":"string"}},"required":["uploadId","objectKey","uploadUrl","expiresAt","headers","operationId"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type","example"],"type":"object"}},"required":["input","output"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":877,"error":null}],"description_full":"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.","last_updated":"2026-09-14T19:53:35.677Z","schemes":["exact"]}