API Snap · Example Payload

Screenshot Capture Example

API UtilitiesDeveloper ToolsQR CodesScreenshotsImage ProcessingPDF GenerationMarkdownURL MetadataHashingJWTBase64UUIDColor ConversionLorem IpsumPlaceholder Images

Screenshot Capture Example is an example object payload from API Snap, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

@context@typeoperationrequestresponse

Example Payload

Raw ↑
{
  "@context": "../json-ld/api-snap-context.jsonld",
  "@type": "ApiSnap",
  "operation": "captureScreenshot",
  "request": {
    "method": "GET",
    "url": "https://api-snap.com/api/screenshot",
    "queryParameters": {
      "url": "https://example.com",
      "width": 1280,
      "height": 720,
      "format": "png",
      "full_page": false
    },
    "headers": {
      "Authorization": "Bearer snp_REDACTED"
    }
  },
  "response": {
    "statusCode": 200,
    "contentType": "image/png",
    "note": "Returns the binary screenshot image"
  }
}