> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Screenshot.fyi API reference

> API reference for Screenshot.fyi: every `screenshotfyi.api.*` operation with input and output types.

> [!NOTE]
>
> **New to Corsair?** See [API access](https://docs.corsair.dev/concepts/api.md), [authentication](https://docs.corsair.dev/concepts/auth.md), and [error handling](https://docs.corsair.dev/concepts/error-handling).

## Screenshots

### take

`screenshots.take`

Capture a webpage screenshot. Page contents are not stored.

**Risk:** `read`

```ts theme={null}
await corsair.screenshotfyi.api.screenshots.take({ url: 'https://example.com' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | — |
| `width` | `number` | No | — |
| `height` | `number` | No | — |
| `format` | `png \| jpg \| jpeg` | No | — |
| `fullPage` | `boolean` | No | — |
| `darkMode` | `boolean` | No | — |
| `disableCookieBanners` | `boolean` | No | — |

Captures an HTTP or HTTPS page. Supports PNG, JPG, and JPEG. Corsair removes unsafe result fields, so the presigned download URL may be omitted and the screenshots list may be empty.

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `screenshots` | `object[]` | Yes | — |

> [accordion] screenshots full type
>
> ```ts theme={null}
> {
>   id?: string,
>   url?: string
> }[]
> ```

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.