# Lessing Gymnasium Karlsruhe — 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.

> Lessing Gymnasium Karlsruhe provides 4 callable API endpoints through the Parse marketplace.

**Category:** Education | **Website:** [lessing-gymnasium-karlsruhe.de/cm3/index.php](https://lessing-gymnasium-karlsruhe.de/cm3/index.php) | **Docs:** [parse.bot/marketplace/f2f40613-36a8-4acd-a9da-fdb47c3b19cc/lessing-gymnasium-karlsruhe-de-api](https://parse.bot/marketplace/f2f40613-36a8-4acd-a9da-fdb47c3b19cc/lessing-gymnasium-karlsruhe-de-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-lessing-gymnasium-karlsruhe-de-api-f2f40613/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_article

Get the full content of a specific news article by its URL slug. Returns the article title, author, publication date, hit count, and full body text and HTML content.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Article URL slug from list_news results (e.g. '1007-24h-lauf-2026-2'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-lessing-gymnasium-karlsruhe-de-api-f2f40613/get_article \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### list_events

List upcoming school events and calendar entries from the Lessing-Gymnasium. Returns the next scheduled events with their date/time in the title, detail URL, publication date, and description.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-lessing-gymnasium-karlsruhe-de-api-f2f40613/list_events \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_news

List news articles from the Lessing-Gymnasium blog. Returns paginated results with article summaries including title, author, date, hits, and intro text. Results are auto-iterated across pages of 20 articles each.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of articles to return per page. |
| `page` | integer | No | Page number for pagination (1-based). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-lessing-gymnasium-karlsruhe-de-api-f2f40613/list_news \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>"}'
```

### search

Full-text search across all content on the Lessing-Gymnasium website. Returns matching articles, categories, and tags with their type, author, and category metadata. Supports AND/OR/NOT operators in the query string.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search query string. Supports AND/OR/NOT operators for boolean search. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-lessing-gymnasium-karlsruhe-de-api-f2f40613/search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
