{"uid":"cap_NKBvSbT0mhkN8dTDFqvN4","slug":"lazaretto-scan-credits-top-up-2abcbbc7","name":"Lazaretto Scan Credits Top-Up","description":"Prepaid bundle of Lazaretto scan credits. Returns an API key for POST /v1/scan. The request body selects the bundle: {\"bundle\":\"starter\"|\"pro\"|\"scale\"}.","url":"https://lazaretto.dev/v1/credits/topup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bundle":{"enum":["starter","pro","scale"],"type":"string","description":"Which prepaid pack to buy. Each is one settlement that buys many scans."}}},"responseSchema":{"type":"json","example":{"bundle":"starter","api_key":"lz_...","credits":150}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"3","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":"$3/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"3","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"3","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5X2r9OTPbKvO2a-Jv5W3Y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"3","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase a prepaid bundle of Lazaretto supply-chain scan credits and receive an API key for running scans.","exampleAgentPrompt":"Buy me a Lazaretto starter bundle so I can start scanning npm packages — I need the API key it returns.","exampleUseCases":[{"title":"Bootstrap automated package auditing","prompt":"I want to start scanning npm packages for supply chain vulnerabilities using Lazaretto — grab me a starter bundle and give me the API key so I can begin."},{"title":"Scale up for high-volume CI/CD scanning","prompt":"We're running hundreds of package scans a week in our CI pipeline with Lazaretto — please purchase the scale bundle so we don't run out of credits."},{"title":"Upgrade team to pro scanning tier","prompt":"Our starter Lazaretto credits are almost gone and we need more scans this month — top up with the pro bundle and share the new API key with me."}],"resultDescription":"Returns a JSON object containing the bundle name purchased (e.g. 'starter'), a fresh Lazaretto API key (prefixed 'lz_...') for use with POST /v1/scan, and the number of scan credits included in the bundle (e.g. 150 for starter).","failureModes":["Payment failure — USDC balance insufficient or x402 settlement rejected, returns payment error","Invalid bundle value — submitting a bundle name outside the enum returns a 400 validation error","Duplicate purchase race condition — concurrent top-ups may issue multiple keys","Service unavailable — lazaretto.dev infrastructure down, returns 5xx"],"whenToPreferThis":"Use this endpoint when you need to acquire scan credits and an API key before running Lazaretto supply-chain security scans. This is the required prerequisite step for any agent that needs to call POST /v1/scan. Choose the starter bundle for light or trial usage, pro for regular team usage, and scale for high-volume automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T12:31:33.658Z","isFirstParty":false,"canonicalSlug":"lazaretto-scan-credits-top-up-2abcbbc7"}