# Artificialintelligenceact — 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.

> Access and search the complete EU AI Act legislation, including specific articles, recitals, annexes, and chapters, while viewing implementation timelines and related regulatory details. Quickly find relevant legal sections through keyword search or browse the full text organized by structure.

**Category:** Government & Public Data | **Website:** [artificialintelligenceact.eu/](https://artificialintelligenceact.eu/) | **Docs:** [parse.bot/marketplace/f29570e0-a3fb-419c-816c-bc979ede2402/artificialintelligenceact-eu-api](https://parse.bot/marketplace/f29570e0-a3fb-419c-816c-bc979ede2402/artificialintelligenceact-eu-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-artificialintelligenceact-eu-api-f29570e0/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_annex

Fetch and parse a single Annex by its number. Returns the annex content as structured records with unit_id, heading, plain_text, and page_order.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `annex_number` | string | Yes | Annex number (e.g. '1', '3', '13'). |
| `language` | string | No | Language code for the annex content. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/get_annex \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"annex_number":"<string>","language":"<string>"}'
```

### get_article

Fetch and parse a single Article by its number. Returns structured paragraph-level records with cross-references, norm type classification, and metadata including navigation links to adjacent articles.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `article_number` | string | Yes | Article number (e.g. '1', '52', '113'). |
| `language` | string | No | Language code for the article content. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/get_article \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"article_number":"<string>","language":"<string>"}'
```

### get_article_with_recitals

Fetch an Article along with its suitable recitals. Returns the article paragraph records, metadata with navigation links, and fetched recital texts for cross-referencing. Suitable recitals are listed on the article page and their full text is fetched individually.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `article_number` | string | Yes | Article number (e.g. '6', '9', '37'). |
| `language` | string | No | Language code for the content. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/get_article_with_recitals \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"article_number":"<string>","language":"<string>"}'
```

### get_chapter

Fetch and parse a Chapter page, returning its title and links to associated articles. Each article entry includes a title and URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `chapter_number` | string | Yes | Chapter number (e.g. '1', '2', '13'). |
| `language` | string | No | Language code for the chapter content. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/get_chapter \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"chapter_number":"<string>","language":"<string>"}'
```

### get_explorer_index

Fetch the AI Act Explorer index page metadata and discovered content URLs from the table of contents. Returns the page title, language, and a list of URLs linking to articles, recitals, annexes, and chapters found on the explorer page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `language` | string | No | Language code for the page content (e.g. 'en', 'de'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/get_explorer_index \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"language":"<string>"}'
```

### get_implementation_timeline

Fetch the implementation timeline events for the EU AI Act, including key dates, descriptions, and related AI Act content links. Returns chronologically ordered milestone events.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/get_implementation_timeline \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_recital

Fetch and parse a single Recital by its number. Returns the recital text and metadata including heading, keywords, and norm type.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `language` | string | No | Language code for the recital content. |
| `recital_number` | string | Yes | Recital number (e.g. '1', '50', '180'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/get_recital \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"language":"<string>","recital_number":"<string>"}'
```

### list_all_annexes

List all Annexes in the AI Act via the WordPress REST API. Returns number, title, and URL for each of the 13 annexes.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/list_all_annexes \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_all_articles

List all Articles in the AI Act via the WordPress REST API. Returns number, title, and URL for each of the 113 articles.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/list_all_articles \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_all_recitals

List all Recitals in the AI Act via the WordPress REST API. Returns number, title, and URL for each of the 180 recitals.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/list_all_recitals \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_act

Search the AI Act by keyword. Returns matching articles, recitals, chapters, and annexes with titles, URLs, and text snippets showing the match context.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `language` | string | No | Language code for search results. |
| `query` | string | Yes | Search keyword or phrase. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-artificialintelligenceact-eu-api-f29570e0/search_act \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"language":"<string>","query":"<string>"}'
```
