# Dark Cache & Images

Two helper endpoints serve the raw material behind posts: cached page snapshots and collected images. Both use ready-made URLs returned inside posts - you never build the `id` yourself.

## Cached pages

When a cached snapshot exists, the post's `cache_link` field holds a ready-made relative URL. Append it to the base URL and call it:

`GET`

```bash
https://api.webz.io/dark-cache?token=YOUR_TOKEN&id=...
```

`cache_link` is `null` when no snapshot is available - for example, for non-HTML files.

## Images

Image URLs inside a post's `extended.external_images[].url` point to the image endpoint:

`GET`

```bash
https://api.webz.io/cyber-image?token=YOUR_TOKEN&id=...
```

> [!NOTE]
> Both endpoints require Cyber API permission and consume 1 credit per request, like a search - see [Errors, Rate Limits & Credits](cyber-api-errors-limits).
