---
title: "Resize/serve an allowlisted page-scan image"
method: GET
path: "/image"
---

# Resize/serve an allowlisted page-scan image

`GET /image`

## Request

- Base URL: `https://sourcelibrary.org/api`
- URL: `https://sourcelibrary.org/api/image`
- Auth: none declared

Browser image loads pass free. Non-browser callers: anonymous 500 images/day per IP; API keys per tier (free 2,000/day, paid uncapped) via Authorization: Bearer sl_data_...

## Query parameters

- `url` string, required
- `w` integer
- `q` integer

## Response `200`

JPEG image

## Other responses

- `403`: Host not allowlisted
- `429`: Image budget exhausted - get a key at /developers

---

[API](https://skmtc.dev/sourcelibrary/apis/source-library-api.md) · [All operations](https://skmtc.dev/sourcelibrary/apis/source-library-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sourcelibrary/apis/source-library-api/revisions/2ad66c503f51?raw)
