# Opera della Primaziale Pisana News API

> Opera della Primaziale Pisana news: Pisa cathedral square monuments and events, by keyword or date

- Vendor: `operadellaprimazialepisananews` · version 1.0 · category News & Media · tags opera primaziale api, opera primaziale news api, news posts api, wordpress posts api, articles api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/operadellaprimazialepisananews
- This document: https://apiclay.com/docs/operadellaprimazialepisananews.md
- OpenAPI 3.1: https://apiclay.com/api/operadellaprimazialepisananews/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `operadellaprimazialepisananews`
- Updated: 2026-11-18

## About

## Opera della Primaziale Pisana News API

Opera della Primaziale's official site runs on WordPress, and its public REST API serves every published post (news and events of the Opera della Primaziale Pisana, which runs Pisa's cathedral square monuments, in Italian): searchable by keyword and filterable by category or date, plus any single post with its full HTML and the category list with post counts.

Data comes from **opapisa.it** (https://www.opapisa.it). Every route calls the source's own public API and returns it unchanged.

Typical flow: `/categories` for ids, then `/posts?categories=&amp;_fields=id,date,title,link` and `/post?id=`.

### Routes

#### GET `/posts` - Posts
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| search | query | string | no | Keyword. |
| categories | query | string | no | Category ids, comma-separated, from `/categories`. |
| per_page | query | number | no | Up to 100 (default 10). |
| page | query | number | no | Page. |
| after | query | string | no | ISO date; only posts published after it. |
| _fields | query | string | no | e.g. `id,date,title,link` for a short answer. |

Returns: array of posts, newest first: `id`, `date`, `link`, `title.rendered`, `excerpt.rendered`, `content.rendered`, `categories`, `tags`, `featured_media`.

#### GET `/post` - Post
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | number | yes | Post `id` from `/posts`. |

Returns: one post with the full article in `content.rendered` (HTML).

#### GET `/categories` - Categories
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| search | query | string | no | Name filter. |
| per_page | query | number | no | Up to 100. |
| orderby | query | string | no | `count` or `name`. |
| order | query | string | no | `asc` or `desc`. |
| _fields | query | string | no | e.g. `id,name,count`. |

Returns: array of `id`, `name`, `slug`, `count`, `parent`.

### Caveats

- Posts are Opera della Primaziale content; link back rather than republishing full articles.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by opapisa.it.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /posts — Posts
- Gateway: `GET https://api.apiclay.com/v1/api/operadellaprimazialepisananews/posts`
- Public query params: `search` (string), `categories` (string), `per_page` (number), `page` (number), `after` (string), `_fields` (string)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /post — Post
- Gateway: `GET https://api.apiclay.com/v1/api/operadellaprimazialepisananews/post`
- Public query params: `id` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /categories — Categories
- Gateway: `GET https://api.apiclay.com/v1/api/operadellaprimazialepisananews/categories`
- Public query params: `search` (string), `per_page` (number), `orderby` (string), `order` (string), `_fields` (string)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/operadellaprimazialepisananews/posts" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
