$0.005
per call · USD Coin on Base
File type and MIME/media type inspector — identify bounded content by magic bytes and return SHA-256, size, and extension consistency without unpacking, malware scanning, or safety claims.
Endpoint
POST https://artifact-inspector.use.x402atlas.com/file2
Calls / 30d
1
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://artifact-inspector.use.x402atlas.com/file", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"content_base64": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=",
"filename": "pixel.png"
}),
});
const data = await res.json();curl -X POST \
"https://artifact-inspector.use.x402atlas.com/file" \
-H "Content-Type: application/json" \
-d '{"content_base64":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=","filename":"pixel.png"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"algorithm_version": "go-content-sniff-v1",
"operation": "file-inspect",
"result": {
"extension": ".png",
"extension_matches": true,
"extension_media_type": "image/png",
"filename_provided": true,
"media_type": "image/png",
"sha256": "431ced6916a2a21a156e38701afe55bbd7f88969fbbfc56d7fe099d47f265460",
"size": 68,
"warnings": []
},
"warnings": [
"Media-type sniffing and extension consistency are not malware, macro, archive-content, execution-safety, or general file-safety results."
]
}Payment details
0x8c128f1ee62bb5e47867cfbae2ad89be325df1b2USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Media & Generation and the homepage with a featured placement.
More from Artifact Inspector & similar services
Artifact Inspector · JWT
artifact-inspector.use.x402atlas.com
JSON Web Token (JWT) decoder — parse an unverified compact JWS header and claims and evaluate advisory NumericDate times without signature verification or URL fetching.
Artifact Inspector · JWK
artifact-inspector.use.x402atlas.com
JSON Web Key (JWK) inspector — validate bounded public RSA, EC, or Ed25519 keys and calculate RFC 7638 SHA-256 thumbprints without ownership or trust claims.
Artifact Inspector · CSR
artifact-inspector.use.x402atlas.com
PKCS#10 certificate signing request (CSR) inspector — parse requested identities and public-key metadata, calculate a fingerprint, and check the included self-signature without CA approval claims.