{"uid":"cap_3KD6Q5YODjcTquDNJLrqx","slug":"dreamwidget-plan-purchase-77bf7b60","name":"DreamWidget Plan Purchase","description":"A Logo Showcase that moves and a Video Showcase for YouTube, Vimeo, Twitch and TikTok, both embeddable on any site with one line of code. Loaded from a CDN, no view limits, no plugin.","url":"https://dreamwidget.com/api/v1/plan","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"plan":{"enum":["single","basic","pro","studio"],"type":"string","description":"The plan to buy. Single $6, Basic $11, Pro $20, Studio $37 a month; a year is $59, $99, $169, $289."},"term":{"enum":["month","year"],"type":"string","description":"How long the plan runs. It does not renew on its own."},"email":{"type":"string","description":"Needed when paying without an API key: the account the plan goes on. A new email gets a new account and an API key in the answer; an existing account gets the plan and signs in to make a key."}}},"responseSchema":{"type":"json","example":{"paid":{"asset":"USDC on Base","amount":"20 USDC","network":"eip155:8453","transaction":"0x…"},"plan":"pro","term":"month","until":"2026-10-13T22:00:00.000Z","apiKey":"dw_live_…","granted":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"20","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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":"$20/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"20","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"20","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_up4OKEQYP5tiUZFH6KOYU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"20","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase a DreamWidget subscription plan (logo showcase or video showcase widget) for a given term, receiving an API key and plan details in return","exampleAgentPrompt":"Sign me up for the DreamWidget Pro plan for one month using my email dev@mycompany.com — pay with USDC and get me the API key.","exampleUseCases":[{"title":"Launch logo carousel on agency site","prompt":"Buy me the DreamWidget Basic plan for one month — my email is studio@creativeagency.com — so I can embed the moving logo showcase on our client portfolio site today."},{"title":"Yearly video widget for content creator","prompt":"I want to get the DreamWidget Studio plan for a full year for my YouTube and TikTok video showcase widget — use my account emily@contentcreator.io and pay with USDC."},{"title":"Single plan trial for freelancer","prompt":"Get me the DreamWidget Single monthly plan to try out the logo widget on my personal site — my email is me@freelancersite.com and I want to pay now."}],"resultDescription":"Returns a JSON object confirming payment (asset, amount, network, transaction hash), the activated plan name, billing term, expiry timestamp, a live API key (dw_live_…), and a granted:true flag. New accounts receive a freshly created API key; existing accounts receive an updated plan and can generate a key from their dashboard.","failureModes":["Invalid or missing plan enum value — returns validation error","Invalid or missing term enum value — returns validation error","Email address malformed — returns validation error","Payment insufficient or failed on-chain — transaction not confirmed, plan not granted","Existing account email conflict if account requires sign-in to issue key — key may not be returned automatically","Network or CDN unavailability causing delayed response"],"whenToPreferThis":"Use this endpoint when an agent or user needs to programmatically purchase or renew a DreamWidget subscription plan using USDC on Base, especially when automating account provisioning or obtaining an API key without going through a web UI. Prefer this over manual sign-up flows when the buyer's email and desired plan tier are already known.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:30:22.455Z","isFirstParty":false}