---
title: "Img Proxy"
method: GET
path: "/api/img-proxy"
---

# Img Proxy

`GET /api/img-proxy`

Server-side avatar proxy for the SPL form. CDN avatars on
media.licdn.com / fbcdn.net / cdninstagram.com are referer/UA-gated and
won't hotlink from a browser <img>; we fetch them here with the right
Referer + UA (the proven _IMG_REFERERS pattern) and stream the bytes
back same-origin. X avatars (pbs.twimg.com) hotlink fine and are not
routed through here. (SPL avatar fix 2026-05-27)

## Query parameters

- `u` string, required
- `p` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/aipoweredsocialscan/apis/accountability.md) · [All operations](https://skmtc.dev/aipoweredsocialscan/apis/accountability/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aipoweredsocialscan/accountability/revisions/6ce776993b65/schema)
