{"uid":"cap_cOUMSFg9bo9_vOy5ybzX-","slug":"url-file-checksum-13eb20dd","name":"URL File Checksum","description":"Checksums of a file at a URL (up to 5 MB): SHA-256, SHA-1 and MD5-free SHA-384 hex digests, the SRI string (sha384-…), byte size, content type, last-modified and ETag, plus the final URL after redirects. Verify downloads, pin script integrity, detect silent changes. $0.01 per file.","url":"https://intel.rallylive.ca/dev/checksum-file","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D_hBWhMeUvi3CpOkzpmB4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a file at a given URL and returns its SHA-256, SHA-1, SHA-384, MD5 hex digests, SRI integrity string, byte size, content type, last-modified, ETag, and final redirected URL.","exampleAgentPrompt":"Can you get me the SHA-256, SHA-384 SRI string, and file size for the file at https://cdn.example.com/app.js so I can pin it for subresource integrity?","exampleUseCases":[{"title":"Pin CDN script for SRI enforcement","prompt":"I need the SRI integrity hash for https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js so I can add it to my script tag's integrity attribute — can you get me the sha384 string and byte size?"},{"title":"Detect silent file tampering","prompt":"Check whether https://releases.example.com/agent-v2.0.tar.gz has changed since last week — I need its current SHA-256 hash, ETag, and last-modified date so I can compare against my pinned values."},{"title":"Verify software download integrity","prompt":"I just downloaded an installer and want to make sure it's legit — can you compute the SHA-256 and MD5 checksums for https://downloads.someapp.com/installer-v3.exe and tell me its file size?"}],"resultDescription":"Returns a JSON object containing hex digests for SHA-256, SHA-1, SHA-384, and MD5; the SRI string (sha384-…); the file's byte size; HTTP content-type; last-modified header value; ETag; and the final URL after any redirects. Covers files up to 5 MB.","failureModes":["File exceeds 5 MB limit — endpoint returns an error indicating the file is too large","URL is unreachable or returns a non-200 HTTP status — error with HTTP status code returned","URL redirects to an inaccessible or private resource — final URL reported but checksums unavailable","Content-Type indicates unsupported format — partial metadata may be returned","Network timeout fetching the remote file — timeout error returned"],"whenToPreferThis":"Use this endpoint when you need cryptographic checksums of a specific remote file for integrity verification, SRI pinning, or tamper detection, and the file is under 5 MB. It is uniquely suited for agents that need to verify download authenticity, generate subresource integrity hashes for web assets, or monitor remote files for silent changes — all in a single call that also returns HTTP metadata like ETag and last-modified.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:35.197Z","isFirstParty":false}