x402

C2PA Content Credentials Inspect (x402)

Inspect a media URL for C2PA Content Credentials. Parses the embedded manifest, verifies the cryptographic signature, and extracts claim generator, signer, edit assertions, and AI-generation flags. Pure parsing — no external API.

post/x402/v2/c2pa-inspect

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/c2pa-inspect
  • Auth: none required

Request body

urlstring uri required

HTTP(S) URL of an image (JPEG, PNG, WebP, AVIF, HEIF, TIFF, DNG) to inspect for C2PA manifests

Response

Success

has_c2paboolean
bytes_sizeinteger
media_typestring
source_urlstring
manifest_countinteger
active_manifestobject nullable

Example response

{
  "has_c2pa": true,
  "bytes_size": 184320,
  "media_type": "image/jpeg",
  "source_url": "https://example.com/photo.jpg",
  "manifest_count": 1,
  "active_manifest": {
    "label": "urn:uuid:1234...",
    "title": "photo.jpg",
    "format": "image/jpeg",
    "signer": {
      "time": "2024-06-15T10:30:00Z",
      "issuer": "C=US, O=Adobe Inc., CN=Adobe Photoshop CS Test Cert"
    },
    "vendor": "Adobe",
    "assertions": [
      {
        "kind": "Json",
        "label": "c2pa.actions"
      },
      {
        "kind": "Json",
        "label": "c2pa.hash.data"
      }
    ],
    "ai_generated": false,
    "claim_generator": "Adobe Photoshop 25.0",
    "signature_valid": true,
    "assertions_count": 4,
    "ingredients_count": 0
  },
  "validation_status": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.