# Radiopaedia — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search medical cases and images on Radiopaedia to find relevant radiology references, and stay updated with the latest articles in medical imaging. Access case details, diagnostic images, and recent content updates all in one place.

**Category:** Healthcare | **Website:** [radiopaedia.org/](https://radiopaedia.org/) | **Docs:** [parse.bot/marketplace/2f6d708b-3f42-4a14-bc25-ef1c3b7cfeaf/radiopaedia-org-api](https://parse.bot/marketplace/2f6d708b-3f42-4a14-bc25-ef1c3b7cfeaf/radiopaedia-org-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-radiopaedia-org-api-2f6d708b/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_case_images

Extracts study metadata for a specific Radiopaedia case page. Each study entry includes the study ID, imaging modality (e.g. MRI, CT), a description, and a viewer URL. Returns the case title alongside the list of studies. Requires a full case page URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full URL of the Radiopaedia case page (e.g. 'https://radiopaedia.org/cases/cerebral-infarction-3?lang=us'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-radiopaedia-org-api-2f6d708b/get_case_images \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### get_recent_articles

Extracts titles of recently updated articles from the Radiopaedia 'Recent Edits' page. Returns up to 50 articles with title, URL, and relative update timestamp. No parameters required; reflects the current state of the edits page.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-radiopaedia-org-api-2f6d708b/get_recent_articles \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_cases

Full-text search over Radiopaedia medical cases by keyword. Returns matching cases with title, URL, and author. Results are limited to the first page (up to 20 cases). Scope is restricted to cases only.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search term for medical cases (e.g. 'brain', 'glioma', 'fracture'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-radiopaedia-org-api-2f6d708b/search_cases \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
