{"tool":"deps-batch","title":"DependencyPulse Batch Check","what":"OSV advisory check of 2-100 package versions in one call, mixed ecosystems: status per package version, advisory ids with summary, severity and fixed versions. Priced 0.002 USDC per unique package version (minimum 0.01, maximum 0.2), quoted exactly in the 402 before you pay.","endpoint":"https://yruz.one/api/deps/batch","methods":["GET with query parameters","POST with a JSON body (same fields)"],"price":{"model":"per unit, exact total quoted in the 402 before payment","per_unit_usdc":"0.002","unit":"advisory_check","min_usdc":"0.01","max_usdc":"0.2"},"params":[{"name":"packages","required":true,"description":"list: JSON [{\"ecosystem\":\"npm\",\"name\":\"lodash\",\"version\":\"4.17.15\"}] or text \"npm:lodash@4.17.15, pypi:requests@2.19.0\"","example":"npm:lodash@4.17.15,npm:minimist@1.2.5,pypi:requests@2.19.0,composer:guzzlehttp/guzzle@7.4.0,npm:express@4.21.2"},{"name":"ecosystem","required":false,"description":"default ecosystem for items without one (default npm)","example":null}],"valid_request":{"get":"https://yruz.one/api/deps/batch?packages=npm%3Alodash%404.17.15%2Cnpm%3Aminimist%401.2.5%2Cpypi%3Arequests%402.19.0%2Ccomposer%3Aguzzlehttp%2Fguzzle%407.4.0%2Cnpm%3Aexpress%404.21.2","post":{"url":"https://yruz.one/api/deps/batch","body":{"packages":"npm:lodash@4.17.15,npm:minimist@1.2.5,pypi:requests@2.19.0,composer:guzzlehttp/guzzle@7.4.0,npm:express@4.21.2"}}},"how_to_pay":["1. Send the request without payment: the answer is HTTP 402 with the exact price (x402 v2 in the PAYMENT-REQUIRED header, x402 v1 in the JSON body).","2. Sign one offer of \"accepts\" with an x402 client (USDC on Base eip155:8453 or on Solana mainnet; the facilitator pays the network fee).","3. Resend the identical request (same method, parameters and body) with PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1).","4. The answer carries the receipt in PAYMENT-RESPONSE. Any changed parameter needs a new 402."],"response_shape":{"product":"string","result":{"product":"string","task":"string","task_version":"number","api_version":"string","data":{"results":[{"ecosystem":"string","name":"string","version":"string","status":"string","advisories":["…"],"smallest_fixing_version":"string","more_advisories_not_paged":"boolean"}],"summary":{"affected":"number","not_affected_by_queried_advisories":"number","advisory_source_unavailable":"number","checked":"number","unique_advisories":"number"},"registry_checked":"boolean","note":"string"},"provenance":[{"source":"string","name":"string","source_url":"string","record_urls":[],"retrieved_at":"string","retrieved_until":"string","served_from_cache":"boolean","licence":"string","attribution":"string"}],"data_as_of":"string","freshness_status":"string","coverage":"null","partial":"boolean","warnings":[],"usage":{"units":"number","unit":"string","records":"number","upstream_requests":"number","retries":"number","cache_hits":"number","runtime_ms":"number"}},"payment":{"payment_id":"string","transaction":"string"}},"refusals":{"400":"invalid input: the message names the field and the expected format; nothing is charged","402":"payment required, or the payment was refused (reason in \"error\"); nothing is charged","403/404":"not your item, or the asked item does not exist; nothing is charged","409/422":"not allowed right now (state or destination safety); nothing is charged","503":"a source or the payment rail is unavailable; nothing is charged, retry after Retry-After"},"mcp":{"server":"https://yruz.one/mcp/x402","payment":"params._meta[\"x402/payment\"] = PaymentPayload"},"related":{"tools":[{"tool":"deps-check","url":"https://yruz.one/api/deps/check","why":"advisories of one package version","usd":"0.005","how":"https://yruz.one/api/instructions?tool=deps-check"},{"tool":"deps-audit","url":"https://yruz.one/api/deps/audit","why":"a whole lockfile","usd":"0.025","how":"https://yruz.one/api/instructions?tool=deps-audit"},{"tool":"deps-monitor","url":"https://yruz.one/api/deps/monitor","why":"has it changed since your last check","usd":"0.003","how":"https://yruz.one/api/instructions?tool=deps-monitor"}],"more_x402_apis":{"402index":"https://402index.io","x402scan":"https://www.x402scan.com","agent402":"https://agent402.tools","x402_protocol":"https://www.x402.org"},"all_yruz_tools":"https://yruz.one/api/instructions"}}