{"uid":"cap_httdMibH6Vg925rUfr2wm","slug":"util-beauty-credits-purchase-1ba2e9bf","name":"util.beauty Credits Purchase","description":"Metered web utilities for developers and AI agents: browser screenshot and PDF, crypto, DNS and net tools. Pay per request with x402 (USDC on Base) or prepaid API keys.","url":"https://util.beauty/v1/credits/purchase","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"body":{"type":"object","description":"JSON request body (see OpenAPI for the utility schema).","additionalProperties":true}}},"output":{"type":"object","properties":{"example":{"type":"object","properties":{"ok":{"type":"boolean"},"utility":{"type":"string"},"requestId":{"type":"string"},"chargedCredits":{"type":"number"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"ok":true,"utility":"…","requestId":"req_…","chargedCredits":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9bTR8-ifut4Iva8j3bEJB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase prepaid credits on util.beauty to use for metered web utility API calls (screenshots, PDF, crypto, DNS, and net tools).","exampleAgentPrompt":"I want to top up my util.beauty account with prepaid credits so I don't have to pay USDC per individual request — go ahead and purchase credits for me.","exampleUseCases":[{"title":"Prepay for screenshot automation","prompt":"I'm building a bot that takes lots of browser screenshots using util.beauty. Can you buy me a prepaid credit bundle on util.beauty so I'm not hit with a $1 charge on every single request?"},{"title":"Fund a DNS monitoring workflow","prompt":"I want to run a bunch of DNS lookups and net tools through util.beauty for my monitoring setup — can you purchase credits for my account so the workflow runs without interruption?"},{"title":"Switch from per-call to prepaid billing","prompt":"Right now my util.beauty usage is pay-per-request and it's getting messy. Can you purchase prepaid credits for me so I have a balance to draw from instead?"}],"resultDescription":"Returns a JSON object confirming the purchase with fields: ok (boolean success flag), utility (name of the utility context), requestId (unique request identifier string like 'req_…'), and chargedCredits (number of credits deducted or applied for this transaction).","failureModes":["Insufficient USDC balance or payment failure — purchase rejected with error response","Invalid or missing request body — returns validation error","Payment protocol (x402) not supported by client — transaction cannot complete","API key not recognized or unauthorized — returns 401/403 error","Network timeout during payment settlement — partial or failed transaction state"],"whenToPreferThis":"Choose this endpoint when you want to pre-fund a util.beauty account with credits rather than paying $1 USDC per individual API call. Prefer it when running high-volume or automated workflows that call screenshot, PDF, crypto, DNS, or net utilities frequently, where per-request x402 payments would be inefficient or disruptive. Use it to establish a credit balance that subsequent utility calls can draw from.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:43:05.269Z","isFirstParty":false}