{"uid":"cap_RRzPhbqCoOF2T7qCFg1M7","slug":"attester-dev-package-version-diff-cd328cd0","name":"attester.dev Package Version Diff","description":"Package version diff (use POST; metadata on POST).","url":"https://attester.dev/v1/diff","method":"POST","headers":{},"bodySchema":{"$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":["ecosystem","package","from_version","to_version"],"properties":{"package":{"type":"string"},"ecosystem":{"enum":["pypi","npm"],"type":"string"},"to_version":{"type":"string"},"from_version":{"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["example"],"properties":{"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2yO0awiBOqZjni1p_F1Du","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes and returns the diff between two versions of a software package, highlighting changes in code or metadata.","exampleAgentPrompt":"Can you show me what changed between version 4.17.20 and 4.17.21 of the lodash npm package — what code was added, removed, or modified?","exampleUseCases":null,"resultDescription":"A structured diff showing the changes between two specified versions of a package, including added, removed, and modified files or symbols, enabling review of what changed across a version bump.","failureModes":["Package name not found in registry — returns 404 or error","One or both specified versions do not exist — version not found error","Unsupported package ecosystem — endpoint may not support all registries","Payment of $0.02 USDC not provided or x402 payment fails — request rejected","Malformed request body — missing required fields returns validation error"],"whenToPreferThis":"Use this endpoint when you need to programmatically inspect exactly what changed between two versions of a software package — for dependency auditing, security review, breaking change detection, or automated changelog generation. Prefer over manual registry browsing or GitHub diff tools when you need structured, machine-readable diff output integrated into an agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:42:16.797Z","isFirstParty":false}