{"uid":"cap_esp21Ppog_SuX6XuYNofh","slug":"www-miniup-io-208b2bee","name":"MiniUp App Creator from HTML","description":"Create a MiniUp app from complete HTML supplied by an agent.","url":"https://www.miniup.io/api/x402/apps","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["name","html"],"properties":{"html":{"type":"string","description":"Complete HTML document for index.html."},"name":{"type":"string","description":"Desired MiniUp app slug."},"password":{"type":"string","description":"Optional password. Providing it makes the app private."},"visibility":{"enum":["private","public"],"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"html":"<html><body><h1>Test Mini App</h1><p>This is a test application created for QA purposes.</p><p>It demonstrates basic HTML rendering in a MiniUp hosted environment.</p></body></html>","name":"zqtestapp"},"response":{"app":{"appId":"zqtestapp","status":"created","appName":"zqtestapp","sizeBytes":181,"entryPoint":"index.html","visibility":"public"},"receipt":{"appId":"zqtestapp","price":"0.007","action":"x402.create_app_from_html","status":"created","txHash":"0xdb4b6747746db04b78ade2d7f144f6da4ba834a6baa8a9768dffa68fefd454d0","wallet":"0x9cc42f3d9245b867acccd630b43f906c1665b176","appName":"zqtestapp","network":"eip155:8453","currency":"USDC","createdAt":"2026-05-30T00:01:19.517Z","receiptId":"f2cc17b0-0570-40cc-8b61-14fb161698b2","recipient":"0x318a8BAC69c4ec1F9e489CE223B7cE2D719bcD3b","visibility":"public","receiptHash":"sha256:2e696233f3b68f7e74d7c9c18eb753b1997f55a22991bc74978a1243f85d009f"}}},"exampleRequest":{"html":"<html><body><h1>Test Mini App</h1><p>This is a test application created for QA purposes.</p><p>It demonstrates basic HTML rendering in a MiniUp hosted environment.</p></body></html>","name":"zqtestapp"},"tags":["x402"],"displayCostAmount":"0.007","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qLBvaPnrPkpuVaqFrlPMR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a new MiniUp app by accepting complete HTML content supplied by an agent, instantiating a hosted mini-application.","exampleAgentPrompt":"Create a MiniUp app using this complete HTML: '<html><body><h1>My Product Page</h1><p>Welcome to Morning Bloom Coffee!</p></body></html>' — deploy it as a new hosted mini-app.","exampleUseCases":null,"resultDescription":"Returns a confirmation with the new app's ID, hosted URL, and manifest details so the agent can reference or share the live application.","failureModes":["Invalid or malformed HTML content returns a 400 error","Payment not included or insufficient USDC balance causes a 402 Payment Required error","Wallet not authorized or missing payment header causes authentication failure","HTML exceeds size limits returns a payload-too-large error","Server-side deployment failure returns a 500 error"],"whenToPreferThis":"Use this endpoint when you need to rapidly deploy a complete HTML document as a hosted MiniUp mini-application in a single API call, especially in agentic workflows where the HTML is already fully composed and ready to publish without additional asset uploads or data conversion steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:37:28.320Z","isFirstParty":false}